# RavingDesk Crypto Spot Round-Trip Cost Planner > What a crypto spot buy-and-sell really costs: spread, slippage, fees, withdrawal and break-even. Estimates a hypothetical spot round trip from the mid prices and cost assumptions you enter: buy fill (ask plus slippage), sell fill (bid minus slippage), trading fees on both sides and a network/withdrawal fee in base units, with net profit or loss, return on cost and the exit mid price needed to break even. Nothing is fetched and no order is sent. It is the crypto spot lab of the RavingDesk workspace. Part of usefulweb.app (https://usefulweb.app/). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://ravingdeskcryptoroundtrip.usefulweb.app/ (interactive tool at https://ravingdeskcryptoroundtrip.usefulweb.app/tool) - JSON API: POST https://ravingdeskcryptoroundtrip.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://ravingdeskcryptoroundtrip.usefulweb.app/api/v1/tool) - OpenAPI: https://ravingdeskcryptoroundtrip.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://ravingdeskcryptoroundtrip.usefulweb.app/mcp - tool `ravingdesk_crypto_round_trip` ## Inputs - base (text): Base asset - quote (text): Quote asset - quantity (number, required): Base quantity bought - entryMid (number, required): Entry mid price - exitMid (number, required): Exit mid price - spreadBps (number): Full bid–ask spread - slippageBps (number): Slippage per side - entryFeePercent (number): Entry trading fee - exitFeePercent (number): Exit trading fee - networkBase (number): Network / withdrawal fee - In base units, deducted once between buying and selling (e.g. moving coins to another exchange). ## Method - Buy fill = entry mid × (1 + spread ÷ 2) × (1 + slippage); sell fill = exit mid × (1 − spread ÷ 2) × (1 − slippage). Spread and slippage are in basis points (1 bp = 0.01 %). - Entry cost = quantity × buy fill × (1 + entry fee %); the network fee is deducted in base units, then the remainder is sold: net proceeds = remaining quantity × sell fill × (1 − exit fee %). - Break-even exit mid = entry cost ÷ (remaining quantity × (1 − spread ÷ 2) × (1 − slippage) × (1 − exit fee %)). The cost of the round trip is the loss if the mid price does not move. - Assumes a full fill at one price per side, fees charged in the quote asset, no market impact beyond the slippage you enter, no taxes and no fees in a third asset. ## Limits - Paper-trading calculation for education and planning only. It is not investment, tax or legal advice, uses only the numbers you enter and never places an order. Crypto prices and fees change quickly; use the rates of your own venue.