The exit you should have computed before you bought

Everyone remembers their entry price. Almost nobody remembers it correctly. You bought in three batches across a volatile spring, paid fees on each, moved coins once between exchanges — and now the position you describe as 'in at 45' is actually a blended cost basis of $45,625 with $73 of fees attached, and the number you need to clear is $45,808, not $45,000. The gap is small. The gap is also why exchange statements and mental math disagree exactly when the disagreement matters most: at the exit.

Crypto has a second arithmetic trap that traditional stock investors meet less often: asymmetric recovery. A 50% drawdown needs a 100% rally to break even; an 80% drawdown needs a 400% rally. Holders who internalize that table behave differently in bear markets than holders who haven't — mostly by selling things they thought were 'almost back.'

This calculator takes the full position — every buy with its own price and fee, the exit price, the exit fee — and returns realized profit, ROI on cash invested, the true break-even exit price, and the recovery math for wherever the market has taken you. It asks for no exchange connection, no API key, no account. The numbers live in your browser and nowhere else.

From buys to break-even in five steps

The workflow mirrors how a position actually accumulates:

  1. Enter your buys

    One line per purchase: quantity and price. Bought 0.5 BTC at $40,000 in March and 0.3 more at $55,000 in August? Both go in. The calculator blends them into a single average entry.

  2. Set the buy fee percentage

    Exchange taker fees typically run 0.1%–0.6% depending on venue and tier. Fees add to cost basis — the tool does this by default because the exchange's ledger does.

  3. Enter your exit price and quantity

    The price you're evaluating and how much you'd sell — the full position or a partial tranche. Partial exits get their own realized-profit computation against the average basis.

  4. Add the sell fee

    Same range as buys. Sell fees come off proceeds before profit is computed.

  5. Read the full picture

    Profit in currency, ROI on invested cash, break-even exit price, and the drawdown-recovery table showing what rally your position would need from wherever it sits.

Average entry, fees, and the break-even price

Three formulas do all the work, and each has a subtlety worth naming. Average entry = total cost of buys ÷ total quantity bought. The subtlety: dollars paid in fees belong in the numerator, so a position's true basis is slightly heavier than the price-weighted average of your fills.

Profit = exit quantity × exit price × (1 − sell fee) − cost basis of the quantity sold. The sell fee compounds quietly at scale — on a $64,000 exit at 0.2%, that's $128 before you've counted anything else. And ROI = profit ÷ total cash invested, which is the honest denominator: what actually left your bank account, fees included. Percentage gain based on price alone flatters the position by exactly the amount the fees and sizing drag it down.

Break-even price = cost basis ÷ (quantity × (1 − sell fee)). This is the one people improvise incorrectly. The intuition 'break-even equals my average entry' ignores that selling itself costs money, so the true floor sits above your average. The difference is a fraction of a percent on tight fees, but on the psychological ledger it matters: your 'at 45,000' position doesn't truly clear until roughly 45,800 once a 0.2% exit fee enters the room.

Drawdown from entryRequired gain to break even
−10%+11.1%
−25%+33.3%
−50%+100%
−80%+400%
Asymmetry of losses: the required recovery grows faster than the loss itself, because the gain is computed on a smaller base.
Sell fee tierBreak-even exit priceAbove the $45,716 all-in average
0.1%$45,759+$43
0.2%$45,808+$92
0.5%$45,947+$231
1.0%$46,179+$463
The 0.8 BTC position at $36,573 basis — break-even exit by sell-fee tier, buy fee fixed at 0.2%

Fee tiers are not trivia: maker orders — resting limit fills that add liquidity — typically cost half the taker fee or less, sometimes zero at low volume tiers. An exit taken passively at 0.1% instead of urgently at 0.2% moves this position's break-even by $49 and, on a $250,000 exit, the difference is $250 of fee before the spread is even considered. Urgency has a price, and the break-even table prices it.

0.8 BTC, two buys, one exit — the full math

A position accumulated across a year: 0.5 BTC at $40,000 in March, 0.3 BTC at $55,000 in August, 0.2% taker fees throughout. The exit under evaluation: everything at $80,000. Every figure below is checkable by hand.

Building the basis

Input

Buy 1: 0.5 BTC × $40,000 = $20,000 · Buy 2: 0.3 BTC × $55,000 = $16,500 · Buy fee: 0.2% on each fill

Output

Total buys: 0.8 BTC for $36,500
Buy fees: 0.002 × 20,000 + 0.002 × 16,500 = $73
All-in cost basis: $36,573
Average entry: 36,573 ÷ 0.8 = $45,716.25 (with fees) · $45,625 (price only)
The exit at $80,000

Input

Sell 0.8 BTC × $80,000 · Sell fee: 0.2%

Output

Gross proceeds: $64,000
Sell fee: $128
Net proceeds: $63,872
Realized profit: 63,872 − 36,573 = $27,299
ROI on cash invested: 27,299 ÷ 36,573 = 74.65%
Break-even exit price: 36,573 ÷ (0.8 × 0.998) ≈ $45,808

The details worth staring at: the naive calculation — $80,000 versus a $45,625 average — says 75.3%. The real number, fees and sizing included, is 74.65%. Small gap, correct arithmetic. And the break-even sits $183 above the average entry, entirely because the exit itself costs 0.2%. If the market had dipped to $45,700 instead of rallying, this position would have been 'above my average' and losing money at the same time.

Partial exit — selling half at $80,000

Input

Sell 0.4 BTC × $80,000 · Sell fee: 0.2% · Remaining: 0.4 BTC

Output

Basis of the sold tranche: 0.4 × 45,716.25 = $18,286.50
Gross proceeds: $32,000 · fee $64 · net $31,936
Realized profit on the tranche: $13,649.50
Remaining position: 0.4 BTC, basis $18,286.50, break-even still ≈ $45,808

Selling half realizes 74.65% ROI on exactly half the cash — proportional by construction, since the average basis travels with every tranche equally. What changes is risk: after the partial exit, $31,936 of the original stake is back in dollars and only half the position can give it back.

One more scenario the tool fields often, the underwater check: the same position marked at $30,000 instead of $80,000. Net exit would be 0.8 × 30,000 × 0.998 = $23,952 against the $36,573 basis — a $12,621 loss, and the recovery table says the market must rally 52.7% from $30,000 just to reach the $45,808 line. That is the number to have in mind *before* the bear market, which is why it appears next to every profit figure the calculator prints.

A year of weekly buys, audited

The position most holders actually have is not two clean fills — it is a year of automatic weekly purchases arriving while the market did whatever it wanted. The audit scenario: $150 every Monday for 52 weeks, 0.2% taker fees, and a BTC price that opened the year at $52,000, spent a quarter touching $38,000, and closed at $64,000.

Blending the 52 fills

Input

52 buys × $150 = $7,800 · fees 0.2% per buy = $15.60 · accumulated: 0.1765 BTC

Output

All-in basis: $7,815.60
Average entry: 7,815.60 ÷ 0.1765 = $44,283
Break-even exit: 7,815.60 ÷ (0.1765 × 0.998) ≈ $44,372
Mid-year mark at $38,000: paper loss of $1,108 (−14.2%) while the plan was working
StrategyCash inBTC accumulatedAvg entry (all-in)Net exit at $64,000ProfitROI
Weekly DCA — $150 × 52$7,8000.1765$44,283$11,273$3,45844.2%
Lump sum at $52,000$7,8000.1500$52,104$9,581$1,76522.6%
Same cash, same exit price — the cadence bought more coins because the dip averaged the entry down

The comparison column is where opinions come from. The lump sum bought 0.15 BTC at the opening price and rode the entire drawdown; the weekly cadence bought most of its coins below $46,000 because the dip did the averaging. In this particular year — down first, up later — the weekly plan won by nearly twenty-two points of ROI. Run the same audit on a year that only went up and the lump sum wins just as decisively; the audit's value is measuring what discipline actually bought, not predicting which kind of year is coming.

The mid-year mark is the row worth keeping. At $38,000 the position showed −14.2% while its average entry was still falling toward the eventual $44,283 — the mechanism working looks exactly like the mechanism failing until the exit arrives. That is the whole argument for computing break-even before the drawdown: it converts a frightening mark into a position statement.

Break-even price versus break-even multiple

Two break-evens circulate in crypto conversations, and they answer different questions:

QuestionComputationExample answer
What exit price clears my position?Basis ÷ (quantity × (1 − sell fee))$45,808 on the 0.8 BTC position
What rally clears my drawdown?Required gain = 1 ÷ (1 − drawdown) − 1A −50% mark needs +100% to break even
What if I bought the top?Recovery multiple from the peak entry$69,000 entry needs a new high above it — fees on top
Price-based break-even is per-position and exact; multiple-based break-even is market-level and psychological. The calculator reports both.

The multiple version earns its place in the output because crypto cycles are measured in drawdowns more than deltas. Someone who bought the 2021 top and held through a −77% winter needed better than a 3.4x from the bottom before their position saw daylight again. No projection tool makes that pain optional; an arithmetic tool at least makes it legible.

Selling at eleven months: the long-term wait, priced

The 0.8 BTC position from the worked example carries a $27,299 gain, and its oldest lot was bought eleven months ago. In the United States that timing detail is worth thousands: gains on property held over a year are long-term and taxed at preferential rates, while anything sold earlier is ordinary income. Selling today versus waiting five weeks is a computable trade — tax saved against price risk absorbed:

Exit pathTax treatment (illustrative)Tax on the gainAfter-tax profit
Sell today at $80,000Short-term, ordinary rate 32%$8,736$18,563
Wait 5 weeks, sell at $80,000Long-term, 15% rate$4,095$23,204
Wait 5 weeks, price drifts to $73,162Long-term, 15% rate$3,276$18,564 — identical to selling today
Illustrative federal rates on the $27,299 gain; state taxes and the 3.8% net investment income tax would shift every row.

The third row is the one to compute before deciding anything. Work it backward: after-tax profit from selling today is 27,299 × 0.68 = $18,563. The price at which the long-term wait nets the same is the P satisfying 0.85 × (0.7984 × P − 36,573) = 18,563, which lands at P ≈ $73,162. Translated: the position can fall about 8.5% during the five-week wait and still come out ahead of selling immediately at $80,000. Above that line the patience pays; below it, the market charged more for the wait than the tax discount was worth. Nobody can promise which side of the line the next five weeks land on — but a trader who knows where the line sits is making a decision, while one who doesn't is making a wish.

The break-even wait price, stated once

Input

Position: 0.8 BTC · all-in basis $36,573 · current exit $80,000 · ordinary rate 32% · long-term rate 15% · sell fee 0.2%

Output

After-tax today: 27,299 × 0.68 = $18,563
Long-term indifference price: 0.85 × (0.7984 × P − 36,573) = 18,563 → P ≈ $73,162
The wait survives an 8.5% drawdown and still nets more than selling now

The same arithmetic runs in reverse on losing positions. A lot sitting on a short-term loss banks that loss against ordinary income if sold before the one-year mark, which makes it worth more at 32% than the identical loss would be worth after it turns long-term — the rare situation where acting early is the tax-aware move. Losses offset gains of the same character first, short against short, and the netting rules are exactly why the exit calendar deserves a calculator rather than a mood.

What goes wrong at the exit

Five patterns account for most of the exit math that does not survive an audit:

  • Spread blindness — the 0.1%–0.2% fee line is only part of the exit cost. On thin altcoin pairs the bid-ask spread can run 0.5%–2%, and a trade that computes as profitable on the last-traded price goes underwater the moment real size hits the book. Value exits on the bid and entries on the ask, and the spread stops hiding.
  • The coin-to-coin blind spot — swapping ETH for SOL disposes of the ETH and buys the SOL, both at the swap's market price. Traders who count only cash-outs understate realized gains by entire positions, and the exchange's 1099 equivalents will not make the same mistake.
  • Staking rewards without basis — rewards are income at fair market value on the day they arrive, and that value becomes their cost basis. Skipping the basis step counts the same dollars twice at the eventual sale.
  • Peak-relative grief — 'I gave back 40% of my profit' measures against a number that was never booked. The audited comparison is basis against realized exit; the unbooked high is portfolio theater, and it makes hold decisions feel like losses.
  • Average-entry tax drift — mentally carrying the average entry into tax season, when the disposal method on file is FIFO or specific identification, produces a different realized gain per lot than the one in your head. The average is for risk and break-even; the lot method is what the return reports.

What this tool deliberately doesn't do

Boundaries, stated before the market tests them:

  • No price predictions. Nothing here forecasts anything. Exit prices are yours to enter; the calculator evaluates scenarios, it does not choose them.
  • No tax computation. Realized profit is pre-tax. In the US, crypto is property — every sale, swap, or spend is a taxable event, and the rate depends on holding period and total income. Route the realized numbers through the capital gains tax calculator for the tax slice.
  • No live prices. The tool does not fetch quotes; it computes on the numbers you enter, which keeps it offline and keeps your position sizes out of any third-party request log. Live price conversions live in the crypto price converter.
  • No wash-sale modeling. As of this writing the wash-sale rule applies to securities, and crypto is property — tax-loss harvesting between 'substantially identical' coins sits in a gray zone Congress periodically proposes closing. Confirm current law before assuming anything.
  • No staking, lending, or yield accounting. Rewards income has its own basis and its own tax moment; adding it here would blur the tool's one clean job.

Who uses it and at what moment

The honest rhythm of crypto usage: position checks spike with volatility, not calendars. Green candles bring the exit evaluators — full-position profit, partial-exit scenarios, the temptation arithmetic of leaving half in. Red ones bring the underwater crowd, running break-even prices and recovery multiples to decide whether holding is analysis or inertia. Both crowds are better served by numbers they can verify than by feelings they can't.

Between the spikes, the steady users: DCA calculators in reverse — people feeding a year of weekly buys into the average-entry engine to learn what their discipline actually cost or earned; traders reconciling mental math against exchange statements; and the newly serious, who discover that 'I'm up big' was never a number until this tool gave them one. Long-term holders pair it with the compound interest calculator for the sobering comparison of what the same cash did in an index fund while their conviction was being tested.

Then there is the tax crowd, January through April, reconstructing the previous year's trades for Schedule D. The realized-profit figures this tool produces are exactly what the capital gains tax calculator consumes next — the pair covers the full distance from entry price to after-tax outcome.

Keys, amounts, positions: none of it uploaded

Position sizes and average entries are, functionally, a map to your net worth — and the crypto tooling world has a habit of asking for exactly that alongside exchange API keys with read permissions that turn out to be more capable than advertised. This calculator connects to nothing. No exchange linkage, no wallet import, no account, no analytics on the quantities you type. The arithmetic is local JavaScript; the scenario dies with the tab.

The design pays off twice: it works anywhere — a plane, a basement with bad Wi-Fi — and it can never become the liability a connected dashboard becomes when an exchange gets breached or a vendor gets sloppy. In a corner of finance defined by custody risk, a tool that holds nothing is the right shape.

Trade math questions, answered

How do I calculate crypto profit with multiple buys?

Average your entries: total cost of all purchases ÷ total units bought. Buy 0.5 BTC at $40,000 and 0.3 BTC at $55,000 and your average entry is $45,625 on 0.8 BTC. The calculator handles this natively — add as many buys as you like, with a fee percentage on each, and it produces the blended cost basis your exit needs.

Should fees be included in cost basis?

Yes. Exchange fees on the way in add to basis, and fees on the way out reduce proceeds — excluding them overstates both profit and ROI. On $36,500 of buys at 0.2%, that's $73 added to basis; on a $64,000 exit at 0.2%, another $128 comes off the top. The calculator includes both by default because the exchange ledger does exactly that.

What is my break-even exit price?

The price at which selling returns exactly what you put in, fees included. For 0.8 BTC bought at a $36,573 all-in basis with a 0.2% sell fee, break-even is 36,573 ÷ (0.8 × 0.998) ≈ $45,808 — above the $45,625 average entry because the sell fee must be covered too. Knowing this number before the market tests it changes how drawdowns feel.

Do I owe tax on crypto profits?

In the US, yes — the IRS treats cryptocurrency as property, so every sale, swap, or spend is a taxable event at capital gains rates, short-term or long-term depending on holding period. Exchanging one coin for another counts too; it is not just cash-outs. Estimates of the tax slice belong in the capital gains tax calculator, which handles the bracket stacking this tool deliberately does not.

Why is my ROI different from my simple percentage gain?

ROI is computed on cash actually invested, including fees — profit ÷ total cost. The example position returns $27,299 on $36,573 invested: 74.65%. A naive price-move calculation ($80,000 vs $45,625 = 75.3%) ignores both fees and position sizing, which is why exchange statements and back-of-envelope math rarely agree. Trust the one that counts the fees.

Can the calculator handle partial exits?

Yes. Set the exit quantity below your total position and the tool computes the realized profit on the tranche sold, using the average cost basis for the portion, while tracking the remaining position's basis and break-even. Selling half at the top and holding half is a strategy the math should support rather than punish.

Does it work for coins other than Bitcoin?

Any asset with a price: ETH, SOL, altcoins, tokens on any exchange. The units are generic — enter quantities in the coin's own denomination and prices in your currency. The arithmetic of average entry, fees, and break-even is identical whether a unit costs $95,000 or $0.000012.

Does the calculator connect to my exchange or wallet?

No, and that is deliberate. There is no API key, no read-only connection, no login. Positions are typed in, computed locally in your browser, and gone when the tab closes. Tools that hold exchange keys become liabilities; this one never holds anything.

How do I calculate profit on a coin-to-coin swap?

Treat it as two legs: you disposed of the coin you held and bought the new one, both at the swap's market price. Profit on the disposal = value received (the new coin, priced at swap time) − the disposed coin's basis, with fees on both sides included. The swap price then becomes the new coin's entry, and its basis, when you eventually exit.

Does maker versus taker change my profit calculation?

Yes, through the fee line. Maker orders — resting limit fills that add liquidity — typically cost half the taker fee or less on major exchanges, sometimes zero at low tiers. Exiting as a maker at 0.1% instead of a taker at 0.2% moves the 0.8 BTC position's break-even from about $45,808 to $45,759, and on a $250,000 exit the difference is $250 of fee — before the spread, which market takers also pay.

How do I account for a position moved between exchanges?

The transfer itself is not a disposal — moving coins between wallets you own is tax-neutral in the US. What changes is quantity: network or withdrawal fees paid in coin shrink the position, and the shrink is a disposal of the fee amount at the transfer price. Track it: 0.8 BTC sent with a 0.0004 BTC network fee arrives as 0.7996 BTC carrying the same dollar basis, which raises the per-unit average.

What is the difference between realized and unrealized crypto profit?

Realized profit exists only after a disposal — a sale to cash, a swap into another coin, or a spend of the asset — and only realized profit creates a tax event. Unrealized profit is the mark-to-market gap between your cost basis and the current price, which changes every hour and can evaporate before you touch it. A position 'up 74%' has realized nothing; the number becomes money, and a taxable one, at the moment of exit.

How do I calculate profit on staking rewards I have not sold?

In two steps, and the first one is the one people skip. Each reward is ordinary income at its fair market value on the day it arrived — that value also becomes the reward's cost basis. Later, selling the reward realizes a gain or loss equal to the sale proceeds minus that recorded basis. Skipping the basis step double-counts the income at sale time; skipping the income step misses it entirely.

Trade-side tools that pair with this

Profit math sits between price math and tax math. The crypto price converter handles the live-quote side of a position; the capital gains tax calculator takes this tool's realized-profit output and prices the IRS's share; and the compound interest calculator answers the nagging benchmark question — what the same capital would have done compounding quietly elsewhere.

Sources

Tax treatment and property rules referenced above follow the IRS primary documents:

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.