See what survives fees, spread and tax basis.
Reconstruct the trade from cash in to cash out and keep realized gain separate from portfolio value.
How to use this tool
Direct answer
Your real profit is proceeds minus the sell fee, minus a cost basis that already includes the buy fee. Break-even is above your buy price, always.
Headline gains ignore the three things that eat them: the fee on the way in, the fee on the way out, and the tax treatment of how long you held. This works out your true cost basis, your net proceeds, the price you break even at, and what the same position costs you in funding, bridging or impermanent loss if you are not simply holding it.
What the answer includes
- Cost basis including the buy fee, which is what the IRS lets you capitalise
- Net proceeds after the sell fee
- Total return and annualised return over your holding period
- The break-even sell price, and whether the gain is short-term or long-term
What can change it
- Educational tool, not investment advice or a recommendation. Returns and capital can fluctuate or be lost; verify costs and risks with an authorized provider or adviser.
- Fees on both sides are the difference between a winning and a losing trade at small margins — a 1% round trip needs a 2% move just to break even
- Holding for 365 days or less is a short-term gain, taxed as ordinary income; past that it gets long-term rates
- Every disposal is a taxable event in the US, including swapping one coin for another and paying for something in crypto
Deadline or next step: the long-term line is one year and a day from the acquisition date, not from the calendar year.
Answer supported by: Internal Revenue Service · Internal Revenue Service
Every price and rate is an input because none of them are stable enough to hardcode. Fill in what applies to the case you picked.
Last reviewed:
Responsible editor: Martín Rodríguez
Formula and sources verified. Educational guidance only. It does not replace qualified professional advice.
Frequently asked questions
How do I calculate profit on a crypto trade?
Cost basis is the amount bought times the buy price, times one plus the buy fee — acquisition fees capitalise into the basis under IRS Publication 544. Net proceeds are the sale value times one minus the sell fee. Profit is net proceeds minus cost basis. The headline price move always overstates it.
What price do I need to break even?
Higher than what you paid, always. Break-even is the cost basis divided by the amount held and by one minus the sell fee. With 0.5% fees on both sides, an asset bought at $60,000 needs about $60,600 just to get you back to flat.
Is my crypto gain short-term or long-term?
The line is 365 days. Held for one year or less, the gain is short-term and taxed at your ordinary income rate. Held longer, it gets long-term capital gains rates, which are substantially lower for most filers. The clock runs from the acquisition date, not from the start of the tax year.
Is swapping one coin for another taxable?
Yes, in the US. Every disposal is a taxable event — swapping BTC for ETH, converting one stablecoin to another, or paying for something in crypto all realise a gain or loss even though no dollars moved. This surprises people every filing season.
What is impermanent loss and how big is it?
It is the gap between holding two assets and putting them in a constant-product pool when their relative price moves. The formula is 2√r/(1+r) − 1 for a price ratio r. A 1.25× divergence costs about 0.6%, 2× costs about 5.7%, and 4× costs about 20%. It becomes permanent the moment you withdraw.
How much fee income do I need to make a pool worth it?
Enough to beat the impermanent loss for the price move that actually happens, which you do not know in advance. As a sanity check: if the assets diverge 2× over a year, fee income needs to clear about 5.7% just to draw level with having held them. Advertised APRs on new pools are usually decaying token emissions, not durable fee income.
How does the perpetual funding rate work?
Longs pay shorts when funding is positive and the reverse when it is negative, settled three times a day on most venues. The headline number is per settlement, not per year: 0.01% per settlement is about 0.03% a day and roughly 11% a year. Always annualise before comparing it with anything.
Does leverage change what funding costs me?
It changes what it costs relative to your money. Funding is charged on notional, so a 5× position pays five times the funding per dollar of your own capital. A rate that looks trivial on notional can be a double-digit annual drag on your margin.
What does a stablecoin swap or a bridge actually cost?
The advertised fee is usually the smaller half. Spread against the mid price commonly adds 0.2 to 0.5%, and a bridge adds gas on both chains. Judge any route on the output amount you are quoted, not on the fee — that figure already contains everything.
When is the next Bitcoin halving?
The schedule is fixed by the protocol: block rewards halve every 210,000 blocks, which at a ten-minute target block time works out at roughly four years. The last one was in 2024 and the next falls in 2028. The exact date drifts with actual block times, so any specific day is an estimate.
Is a hardware wallet worth it?
It moves your risk from exchange failure and account compromise to your own handling of a seed phrase. Historically, exchange and bridge failures have destroyed far more value than individual self-custody mistakes — but self-custody has no recovery path at all. The usual answer is cold storage for what you would not want to lose and an exchange balance only for what you are actively trading.
Does Bitcoin move with the stock market?
Sometimes closely, sometimes not at all. The correlation with the Nasdaq and S&P 500 has swung between roughly zero and strongly positive over different periods, rising sharply during liquidity-driven selloffs. Treating it as a reliable diversifier has repeatedly failed at exactly the moments diversification was needed.
Editorial transparency
Who is responsible for this page
Choose your situation
What do you want to solve?
Your next step
Continue your decision
Use the result you just obtained to continue with a directly related calculation.
Related tools in other countries and languages
Check the language, units and assumptions of each tool.