Most crypto traders know roughly how much their portfolio is worth. Far fewer know their actual profit after fees, or what they will owe in taxes when they sell. Those two numbers are almost always different from what people expect, and the gap between them has caught out a significant number of investors who celebrated gains that were smaller than they thought.
This guide walks through exactly how to calculate crypto profit and loss correctly, why fees matter more than most people realise, how taxes affect your real return, and how to use a calculator to get accurate numbers in seconds.
What Is Crypto Profit and Why Is the Calculation Harder Than It Looks?
At its simplest, crypto profit is the difference between what you paid and what you sold for. But that basic formula misses two things that materially affect your actual return: fees and taxes.
According to Blockstats, the correct formula is:
Capital Gain or Loss = Selling Price minus Purchase Price minus All Fees
So if you bought Bitcoin for $30,000, paid $50 in purchase fees, sold it for $45,000 and paid another $50 in exit fees, your actual gain is $14,900 -- not $15,000. That $100 in total fees reduces your taxable gain directly, which matters both for understanding your real return and for calculating what you owe the IRS.
This is where most people go wrong. They calculate profit as sell price minus buy price and never account for trading fees, network gas fees, withdrawal charges or exchange commissions. On small trades, the difference is minor. On larger positions or frequent trading, the gap between your gross profit and net profit can be thousands of dollars.
The Four Inputs You Need for an Accurate Calculation
To calculate crypto profit properly, you need four numbers before anything else.
Buy price. The price per coin or token at the time of purchase in your chosen currency.
Sell price. The price per coin or token at the time of sale.
Investment amount. How much you put in determines how many coins you own. The calculator divides your investment by the buy price to work out your holdings.
Fees. Both your entry fee when buying and your exit fee when selling. TokenTax confirms that transaction fees can be added to your cost basis, directly reducing your taxable gains. Every dollar in fees you pay when buying or selling crypto decreases your overall tax bill.
Once you have those four inputs, the math follows a clear sequence. Your total investment equals your investment amount plus your entry fee. Your coins owned equals your investment amount divided by your buy price. Your gross exit value equals coins owned multiplied by the sell price. Your net exit value subtracts the exit fee. Your profit or loss is the net exit value minus total investment.
Rather than doing this manually every time, use the MoneyFlock Crypto Profit Calculator, which handles all of this automatically across 100-plus cryptocurrencies with support for USD, EUR, GBP, INR and six other major currencies.
How Fees Actually Eat Into Your Returns
The impact of fees varies significantly depending on which exchange or wallet you use and how frequently you trade.
Centralised exchanges like Coinbase typically charge 0.5% to 1.5% per transaction. Decentralised exchanges and Ethereum network gas fees can range from a few dollars to $50 or more per transaction during periods of high network congestion. Withdrawal fees vary by exchange and by coin.
A practical example shows why this matters. Say you invest $10,000 in Ethereum at a 1% entry fee and later sell at a 1% exit fee. That is $200 in total fees before you make a single dollar of profit. If your investment grew 10% to $11,000, your gross profit looks like $1,000, but your actual net profit after fees is $800. Your real return is 8% on your investment, not 10%.
Bitget's 2026 crypto calculator guide notes that for tax year 2026, taxes on top of fees can reduce net profit by a further 10% to 37%, depending on your income and how long you held the asset. Getting the fee calculation right is the essential first step before estimating tax exposure.
Understanding the Tax Impact on Your Crypto Profit
In the United States, the IRS treats cryptocurrency as property under Revenue Ruling 2014-21. Every time you sell, swap, or spend crypto, you trigger a taxable event. The tax rate you pay depends on how long you held the asset.
Short-term gains apply to crypto held for one year or less. These are taxed at ordinary income tax rates, which range from 10% to 37% depending on your total income.
Long-term gains apply to crypto held for more than one year. These qualify for preferential rates of 0%, 15% or 20% depending on your income bracket. For most investors, holding an asset for just one day past the one-year mark can result in a significantly lower tax bill on the same profit.
Starting January 1, 2026, crypto exchanges are now required to report cost basis to the IRS on Form 1099-DA, not just gross proceeds. This means the IRS has more visibility into crypto transactions than ever before. Accurate record-keeping is no longer optional.
One important opportunity most investors miss: capital losses can offset capital gains. If you sold one cryptocurrency at a loss, that loss reduces your taxable gains from other positions. The IRS also allows you to deduct up to $3,000 in net capital losses against ordinary income per year, with any excess carrying forward to future years.
For crypto investors in India, the tax structure is different -- a flat 30% tax applies to crypto gains with no deduction for losses against other income. MoneyFlock's Crypto Tax Calculator India is built specifically for this regime.
Three Accounting Methods That Affect Your Tax Bill
When you buy the same cryptocurrency multiple times at different prices, you need to decide which coins you are selling when you exit a position. The method you choose directly affects your taxable gain.
FIFO (First In, First Out) assumes you sell your oldest coins first. This is the IRS default method if you do not make a specific election. In a rising market, FIFO tends to produce higher taxable gains because your oldest coins usually have the lowest cost basis.
HIFO (Highest In, First Out) assumes you sell your most expensive coins first. This minimises taxable gains by matching sales against your highest-cost purchases. Koinly describes HIFO as an advanced tax strategy that can meaningfully reduce your tax bill in a bull market.
LIFO (Last In, First Out) assumes you sell your most recently purchased coins first. This can be beneficial in certain market conditions but is less commonly used.
The accounting method you choose must be applied consistently and documented properly. Switching methods requires careful record-keeping and, in some cases, a specific election at the time of sale.
Common Mistakes That Lead to Inaccurate Profit Calculations
Not recording every transaction. Every buy, sell, swap and transfer needs to be logged with the date, price and fees. Missing even a few transactions distorts your cost basis and can lead to either overpaying or underpaying tax.
Forgetting that crypto-to-crypto swaps are taxable. Trading Bitcoin for Ethereum is a taxable event in the US, not just selling for cash. Fidelity's crypto tax guide confirms that swapping one cryptocurrency for another triggers capital gains or losses based on the fair market value at the time of the swap.
Ignoring gas fees on Ethereum transactions. Network fees on Ethereum can be $5 to $50 per transaction in busy periods. If you are making frequent DeFi trades, these fees add up quickly and must be included in your cost basis calculations.
Relying only on exchange records. Exchanges sometimes have incomplete data, especially if you transferred coins from another platform. Always maintain your own records independently of what your exchange shows.
Assuming moving coins between your own wallets is not taxable. It is not a taxable event, but you still need to record it accurately so it does not get misidentified as a sale. Keep records of wallet addresses and transfer dates.
How to Use the MoneyFlock Crypto Profit Calculator
The MoneyFlock Crypto Profit Calculator is designed to give you accurate profit and loss figures in under a minute. Here is how to use it:
Select your cryptocurrency from the database of 100-plus coins. Choose your investment currency. Enter your buy price, the price per coin when you purchased. Enter your selling price, the price per coin when you sold or plan to sell. Enter your investment amount in your chosen currency. Add your investment fee percentage and exit fee percentage.
The calculator instantly shows your total investment including fees, the number of coins you own, your gross exit value, net exit value after fees, total profit or loss in dollar terms and as a percentage return.
For Bitcoin specifically, the MoneyFlock Bitcoin Profit Calculator is optimised for BTC calculations with the same fee-inclusive methodology, and also shows your break-even sell price -- the minimum price you need to exit at to cover all entry and exit fees without a loss.
Frequently Asked Questions
How do I calculate crypto profit manually?
Subtract your total cost basis (purchase price plus all buying fees) from your net proceeds (sale price minus all selling fees). The result is your profit or loss. For example, buying Bitcoin for $30,000 with $50 fees, then selling for $45,000 with $50 fees, gives a profit of $14,900.
Are cryptocurrency trading fees tax-deductible?
Yes. Fees paid when buying crypto increase your cost basis, which reduces your taxable gain. Fees paid when selling reduce your net proceeds, also lowering your taxable gain. Every fee you pay directly reduces what the IRS can tax.
Do I pay tax on crypto I have not sold yet?
No. Unrealised gains, meaning increases in value you have not converted to cash or another asset, are not taxable. You only owe tax when you dispose of the asset by selling, swapping or spending it.
What is the difference between short-term and long-term crypto tax rates?
Crypto held for one year or less is taxed at short-term rates, which equal your ordinary income tax rate (10% to 37%). Crypto held for more than one year qualifies for long-term rates of 0%, 15% or 20%. Holding for at least one additional day past the one-year mark can save a significant amount in tax on the same gain.
Is swapping one cryptocurrency for another a taxable event?
Yes, in the United States. Trading Bitcoin for Ethereum or any other crypto-to-crypto swap is treated as a disposal of the first asset at its current market value, triggering capital gains or losses. This surprises many investors who assume they have not realised a gain until they convert to cash.
What happens if I lose money on crypto?
Capital losses from crypto can offset capital gains from other investments. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income per year. Any remaining losses carry forward to future tax years.
For more trading tools, calculators and strategy discussions, join the MoneyFlock community where traders share insights, track portfolios and learn from each other every day.