Crypto Profit Calculator
Calculate profit/loss from buying and selling crypto
Cutting Through the Complexity of Crypto P&L
Calculating profit on a cryptocurrency trade seems simple: sell price minus buy price. In practice, it is rarely that straightforward. Multiple purchases at different prices, partial sells, exchange fees on both sides, and transfers between wallets create a tangle that spreadsheets struggle to unravel. This calculator handles the math: enter your purchase details, selling details, and fees to see your exact realized profit or loss. Works for any cryptocurrency, any exchange, any time period.
Cost Basis Methods: FIFO, LIFO, and Specific Identification
If you bought 1 ETH at $2,000 in January and 1 ETH at $3,500 in March, then sold 1 ETH in June, your profit depends on which ETH you "sold." FIFO (First In, First Out) assumes you sold the January ETH first, producing a larger profit. LIFO (Last In, First Out) assumes you sold the March ETH first, producing a smaller profit. Specific Identification lets you choose which lot to sell. The IRS allows all three methods but requires consistency within a tax year. Your choice directly affects your tax liability.
Do Not Forget Fees
Exchange fees reduce your profit on both ends. A 0.5% trading fee on a $10,000 buy costs $50. Another 0.5% on the $12,000 sell costs $60. Your apparent $2,000 profit is actually $1,890 after fees. Blockchain network fees (gas fees, withdrawal fees) also count as part of your cost basis or selling expenses. Ignoring fees across hundreds of trades can misstate your total P&L by thousands of dollars. The calculator includes fee fields for both buy and sell sides.
Unrealized vs Realized: When Profit Becomes Real
If you bought Bitcoin at $30,000 and it is now worth $60,000, you have $30,000 in unrealized profit. It exists on paper but has not been locked in through a sale. Unrealized profit can evaporate entirely if the price drops back to your purchase price. Only a sale or taxable disposal event converts unrealized profit into realized profit. You owe no tax on unrealized gains until you dispose of the asset.
Crypto-to-Crypto Trades Are Taxable Events
A common misconception is that swapping one cryptocurrency for another (ETH for SOL, BTC for USDC) is not a taxable event because no fiat currency was involved. In the United States and most jurisdictions, it is. Each crypto-to-crypto trade is treated as selling the first asset at fair market value and buying the second. DeFi swaps, NFT purchases with crypto, and liquidity pool deposits all trigger similar calculations. The number of taxable events in an active trader's history can reach thousands in a single year.
Record-Keeping Tips
Export transaction histories from every exchange you use at least quarterly. Record on-chain transactions from wallet addresses using block explorers or portfolio tracking tools like CoinTracker, Koinly, or CoinLedger. Note the date, amount, price in USD at the time, and fees for every trade, transfer, and receipt. Keep records for at least three years (the standard IRS audit window) and ideally seven years. Consistent record-keeping throughout the year is far easier than reconstructing transactions at tax time.
Frequently asked questions
How do I calculate crypto profit?
What is cost basis?
Are crypto gains taxed?
Should I include fees in profit calculations?
What is unrealized profit?
How do I track DCA profit?
Rate This Calculator
Your feedback helps us improve our tools