Worked Example: 0.5 BTC Trade
Suppose you buy 0.5 BTC at $60,000 and sell at $72,000, with a 0.1% buy fee and a 0.1% sell fee.
Use investment amount mode for questions like "if I invested $1000 in Bitcoin", or quantity mode when you know the exact amount of crypto bought and sold.
The tax rate field is a simplified estimate only. Holding period, cost-basis method, network fees, partial sells, and local capital gains rules can change real tax results.
Enter an investment amount or quantity, buy price, and sell price to calculate profit, ROI, fees, and breakeven.
Cost basis \(C\) = \(Q \cdot P_b\) + \(f_{b,\%}\cdot Q P_b\) + \(f_{b,\mathrm{fixed}}\).
Proceeds \(S\) = \(Q \cdot P_s\) - \(f_{s,\%}\cdot Q P_s\) - \(f_{s,\mathrm{fixed}}\).
Profit \(= S - C\). ROI \(= \frac{S - C}{C}\).
Breakeven sell price \(P_{s,BE}\) solves \(S=C\): \(P_{s,BE} = \frac{C + f_{s,\mathrm{fixed}}}{Q(1 - f_{s,\%})}\).
Suppose you buy 0.5 BTC at $60,000 and sell at $72,000, with a 0.1% buy fee and a 0.1% sell fee.
Calculating profit or loss (P/L) for a crypto trade starts with familiar finance ideas: cost basis, proceeds, fees, and ROI%. At a minimum:
Cost basis \(C = Q \cdot P_b + \text{buy fees}\). Proceeds \(S = Q \cdot P_s - \text{sell fees}\). Profit \(= S - C\). ROI \(= \dfrac{S - C}{C}\).
However, crypto introduces several wrinkles that differ from traditional fiat or stock trades. The calculator lets you model these with percent and fixed fees on both sides, plus a simple after-tax estimate (optional).
Because sell fees reduce proceeds, the breakeven sell price needs to be above the simple average cost. Solving \(S=C\) with sell fee percent \(f_s\) and fixed fee \(k_s\):
\( P_{s,\mathrm{BE}} = \dfrac{C + k_s}{Q(1 - f_s)} \).
If your platform discounts fees when paying with a specific token, treat that as a lower \(f_s\) or \(k_s\) in the calculator, and remember that paying fees in a different asset can alter that asset’s P/L too.
The calculator includes an optional single tax rate applied to positive profit for an after-tax estimate. Real tax treatment can depend on your jurisdiction, holding period, accounting method (FIFO/LIFO/average), and whether costs like network fees are capitalized into basis. Treat the output as an educational approximation, not tax advice.
This is a static, privacy-first calculator: no price feeds, no storage of your inputs. For portfolio-level analysis, repeat the calculation per lot or export your fills and aggregate offline.
When fees are taken in the base asset, you end up with fewer coins than you bought. Your cost basis per coin is higher than the simple buy price.
A 0.10% fee on buy and sell plus a 0.10% spread means you need roughly +0.30% price move just to break even.
Swapping coin → stablecoin can be a taxable disposal in many places, even if no fiat hits your bank. P/L is measured in the quote asset.
Tiny leftover balances (“dust”) from fees and rounding can grow if the asset rallies. Exporting fills helps you capture those mini P/L contributors.
A $2 fixed fee on a $20 trade is a 10% haircut. On a $2,000 trade it’s 0.1%. Mixed fee models make trade size matter for ROI.
Calculate total cost basis from buy price, quantity, and buy fees. Calculate total proceeds from sell price, quantity, and sell fees. Crypto profit is proceeds minus cost basis.
Buy fees increase your cost basis and sell fees reduce your proceeds. That lowers profit, ROI, and the effective sell price you receive.
Crypto ROI is profit divided by total cost basis. It shows the percentage return on the amount spent, including buy fees.
Breakeven price is the sell price where proceeds equal cost basis after sell fees. The calculator solves that automatically from quantity, cost basis, and sell fees.
Yes. Choose investment amount mode, enter the total amount spent, and the calculator derives the implied quantity from the buy price and buy fees.
Crypto profits may be taxable depending on your jurisdiction and facts. The optional tax field is a simplified estimate applied only to positive profit, not tax advice.
No. This tool does not fetch prices, connect to wallets, or store inputs. Enter your own buy price and sell price for a local estimate.