Finance
Crypto Profit/Loss Calculator
Calculate cryptocurrency profit, loss, fee deductions, and return on investment (ROI) percentages.
Inputs
Results
Net Profit / Loss
$0.00
Total Purchase Cost
$0.00
Total Sell Revenue
$0.00
Transaction Fees Paid
$0.00
Return on Investment (ROI)
0.00%
How It Works
The cryptocurrency profit/loss calculator maps out exchange trades. It determines your total purchase basis by multiplying the coins acquired by the buy price and adding exchange fees. It then calculates net sales proceeds by multiplying the coins sold by the sell price and subtracting trade fees. Net profit or loss is the simple difference between the net sales proceeds and the total purchase basis.
Formula Used
Net Profit/Loss = (Sell Quantity × Sell Price − Sell Fees) − (Buy Quantity × Buy Price + Buy Fees)
Profit or loss is the net sales proceeds minus the total cost basis. The buy fees increase the cost basis of the assets, while the sell fees reduce the net proceeds received from the transaction.
Worked Example
Here is a step-by-step example of how these values are calculated:
Buy Price
$40,000
Sell Price
$60,000
Quantity
0.5 BTC
Exchange Fees
0.5% (both)
Result: Net Profit: $9,650.00 (Total purchase cost: $20,100.00, Sell Revenue: $29,850.00, Total Fees Paid: $250.00, ROI: 48.01%).
Frequently Asked Questions
Why are trade fees included in cost basis?
In most tax jurisdictions, trade fees are added to your purchase cost basis and subtracted from your sales proceeds, which reduces your taxable capital gains. This calculator follows that standard.
Can I use this for stocks or other assets?
Yes, the math for calculating buy/sell trades with percentage commission fees is identical for stocks, commodities, or crypto tokens.