SupaCalc

Crypto Profit Calculator

Trade Details

$
$
%

Calculate Your Crypto Gains and Losses

Enter your buy price, sell price, quantity, and transaction fees. The calculator shows your profit or loss in dollars and percentage, total return on investment, and estimated capital gains tax liability. Works for any cryptocurrency — Bitcoin, Ethereum, Solana, or any other token. Whether you are a day trader making dozens of transactions per week or a long-term holder checking on your portfolio, understanding your exact profit and loss is essential for both tax compliance and investment strategy.

Formula: Profit = (Sell Price - Buy Price) × Quantity - Total Fees. Bought 0.5 BTC at $40,000 ($20,000 invested), sold at $68,000 ($34,000), with $150 in total fees: profit = $13,850 (69.25% ROI). This straightforward formula becomes complex when tracking dozens of transactions across multiple currencies, exchanges, and time periods.

Crypto Tax Implications

The IRS treats cryptocurrency as property, not currency. This classification has significant implications. Every sale, trade, or exchange is a taxable event — including crypto-to-crypto swaps. Trading Bitcoin for Ethereum triggers a taxable event on the Bitcoin disposition, meaning you must calculate and report the gain or loss on the Bitcoin you traded, even though you received another cryptocurrency rather than cash. This catches many new crypto investors off guard.

Short-term capital gains (held less than 12 months) are taxed at your ordinary income rate, which can be as high as 37% in the top federal bracket. Long-term capital gains (held 12+ months) are taxed at preferential rates: 0% for income below approximately $47,000 (single filers), 15% for income between approximately $47,000 and $518,000, and 20% for income above that threshold. The difference between short-term and long-term tax rates can be dramatic — a $10,000 gain taxed at 32% (short-term) costs $3,200, while the same gain taxed at 15% (long-term) costs only $1,500. This $1,700 difference illustrates why holding periods matter enormously in crypto investing.

Cost basis methods: FIFO (First In, First Out) is the IRS default, meaning the oldest coins you purchased are assumed to be sold first. In a rising market, FIFO typically results in the highest taxable gains because your earliest purchases were likely at the lowest prices. Specific identification allows you to choose which lots to sell, optimizing for tax efficiency by selling the highest-cost-basis lots first to minimize gains. This method requires detailed record-keeping and exchange support. Track every transaction — the IRS requires reporting all crypto dispositions on Form 8949 and Schedule D, with penalties for failure to report.

Cost Basis Tracking Strategies

FIFO (First In, First Out) is simplest and is the default for most taxpayers. Your first Bitcoin purchase establishes the cost basis for your first sale. If you bought 1 BTC at $30,000, then 0.5 BTC at $50,000, selling 0.5 BTC under FIFO uses the $30,000 basis, reporting a gain based on that lower cost. In rising markets, FIFO maximizes reported gains and tax liability.

Specific Identification (HIFO - Highest In, First Out) lets you sell your highest-cost lots first to minimize taxable gains. Using the same example, selling from the $50,000 lot instead of the $30,000 lot reduces your gain by $20,000. The IRS permits specific identification if you can adequately identify which units were sold, which requires exchange records or wallet tracking that links specific purchases to specific sales. Not all exchanges provide this level of tracking, so verify your exchange supports lot-specific identification before relying on this method.

Tax-loss harvesting: Unlike stocks, cryptocurrency does not have wash sale rules. You can sell a losing position to realize a tax loss, then immediately repurchase the same cryptocurrency. This strategy reduces your current-year tax bill while maintaining your investment position. If you have $5,000 in unrealized crypto losses, selling and immediately repurchasing captures those losses to offset gains elsewhere in your portfolio, potentially saving $750–$2,000 in taxes depending on your bracket. This advantage over stock investing makes systematic tax-loss harvesting particularly valuable for active crypto traders.

Frequently Asked Questions

Calculating cryptocurrency profit and loss involves tracking your purchase price, sale price, and any associated fees for each transaction. The basic formula is Profit equals (Sale Price minus Purchase Price) multiplied by Quantity, minus Total Fees. For example, if you buy 1 Bitcoin at $65,000 and sell it at $82,000, your gross profit is $17,000. However, you must subtract trading fees on both the buy and sell sides. If the exchange charges 0.1% per trade, your buy fee is $65 and your sell fee is $82, totaling $147 in fees, leaving a net profit of $16,853. For multiple transactions across different cryptocurrencies, you need to track each trade individually or use the First-In, First-Out (FIFO) method to determine which coins are being sold. FIFO assumes the first coins you purchased are the first ones you sell, which is the default method required by most tax authorities including the IRS. Alternatively, some jurisdictions allow Specific Identification, where you choose which specific units to sell based on their purchase price, enabling tax optimization by selling the highest-cost units first. For ongoing investments, also factor in staking rewards, mining income, and airdrops, which are generally taxable as income at their fair market value when received. Gas fees on networks like Ethereum can also significantly impact profitability, especially for frequent traders. Using a dedicated crypto profit calculator simplifies this process by aggregating all your transactions, automatically applying the appropriate accounting method, and generating comprehensive profit and loss reports for tax filing purposes.

Cryptocurrency taxation in the United States follows guidelines established by the IRS, which treats virtual currencies as property rather than currency. This means every time you sell, trade, or exchange cryptocurrency, you potentially trigger a taxable event. Short-term capital gains apply to crypto held for one year or less and are taxed at your ordinary income tax rate, which ranges from 10% to 37% in 2026. Long-term capital gains apply to crypto held for more than one year and are taxed at preferential rates of 0%, 15%, or 20% depending on your taxable income level. For example, if you buy 2 Ethereum at $3,500 each (total $7,000) and sell them 8 months later at $5,000 each (total $10,000), your $3,000 profit is subject to short-term capital gains tax at your ordinary rate. A single person earning $75,000 annually would pay approximately 22% on that gain, owing roughly $660 in taxes. If you had held for 13 months, the long-term rate would likely be 15%, reducing the tax to $450. Additionally, converting one cryptocurrency to another, such as trading Bitcoin for Solana, is a taxable event. You must calculate the gain or loss based on the fair market value of both coins at the time of the trade. Mining income and staking rewards are taxed as ordinary income at the value received. DeFi activities, including yield farming and liquidity provision, have complex tax implications that are still evolving. Always maintain detailed records of all transactions including dates, amounts, values in USD, and fees, and consider consulting a tax professional who specializes in cryptocurrency to ensure full compliance.

Dollar-cost averaging (DCA) is an investment strategy where you invest a fixed amount at regular intervals regardless of the asset's price. This approach smooths out volatility and reduces the impact of short-term price swings on your average purchase price. To calculate profit with DCA, you need to track every purchase and compute your weighted average cost basis. For example, if you invest $500 per month in Ethereum over six months, your purchases might look like this: Month 1 at $3,200 (0.15625 ETH), Month 2 at $3,500 (0.14286 ETH), Month 3 at $3,100 (0.16129 ETH), Month 4 at $3,800 (0.13158 ETH), Month 5 at $4,200 (0.11905 ETH), and Month 6 at $3,600 (0.13889 ETH). Your total investment is $3,000, and you hold approximately 0.84992 ETH. Your average cost per ETH is $3,000 divided by 0.84992, which equals approximately $3,530. If the current price of Ethereum is $4,500, your total holding is worth $3,824.64, yielding a profit of $824.64 or a 27.5% return on your total investment. DCA eliminates the stress of trying to time the market, which research shows is extremely difficult even for professionals. Studies indicate that DCA outperforms lump-sum investing roughly 66% of the time in volatile markets like cryptocurrency. When calculating your DCA returns, always include exchange fees, withdrawal fees, and any gas costs, as these reduce your effective return. A crypto profit calculator with DCA functionality automates these calculations and shows you your exact average cost basis, current value, and overall profit or loss percentage.

Choosing the right tax accounting method for your cryptocurrency transactions can significantly impact your tax liability. The three primary methods are First-In, First-Out (FIFO), Last-In, First-Out (LIFO), and Specific Identification (also called HIFO for Highest-In, First-Out). FIFO assumes that the first cryptocurrency units you purchased are the first ones you sell. In a rising market, this method typically results in higher taxable gains because your earliest purchases were likely at the lowest prices. LIFO assumes the most recently purchased units are sold first, which in a rising market means you are selling your highest-cost acquisitions first, potentially reducing your taxable gains. HIFO allows you to specifically identify which units to sell, letting you choose the highest-cost units to minimize gains. For example, if you bought Bitcoin at $30,000, then at $50,000, and then at $70,000, and you sell 1 BTC at $80,000, FIFO would report a $50,000 gain, LIFO would report a $10,000 gain, and HIFO would also report a $10,000 gain by selecting the $70,000 lot. However, the IRS requires specific documentation to use the Specific Identification method, and not all exchanges provide the necessary tracking. In 2026, FIFO remains the default method for most taxpayers and is the simplest to implement. Some countries restrict or prohibit the use of LIFO. Before choosing a method, consult with a crypto-tax specialist to determine which is permitted in your jurisdiction and which minimizes your overall tax burden while maintaining compliance with applicable regulations.

Staking rewards represent income earned by participating in the proof-of-stake consensus mechanism of blockchain networks like Ethereum, Solana, Cardano, and Polkadot. From a tax and profit calculation perspective, staking rewards are treated as ordinary income at their fair market value on the date they are received. For example, if you stake 32 ETH and receive 0.8 ETH in staking rewards over a year, with ETH averaging $3,500 during the reward period, your taxable income from staking is approximately $2,800. This income is reported separately from capital gains and is taxed at your ordinary income rate. When you eventually sell the staking rewards, you also incur a capital gains tax based on the difference between the sale price and the value at which you originally reported the income. If you later sell that 0.8 ETH at $4,500, you would also owe capital gains tax on the additional $800 in appreciation. When calculating total crypto profit, your staking rewards effectively reduce your average cost basis if they are held in the same wallet or staking pool as your original investment. To accurately track staking profits, record each reward distribution date, the amount received, and the market price at that time. Many staking platforms provide reward histories that you can download for tax reporting purposes. Annual staking yields in 2026 typically range from 3% to 8% depending on the network and the amount staked. While staking provides a passive income stream that can significantly enhance your overall crypto returns, the tax implications make precise record-keeping essential for accurate profit calculations.

Cryptocurrency transaction fees come in several forms and must be properly accounted for to calculate accurate profits. Exchange trading fees are the most common, typically ranging from 0.05% to 0.5% per trade on major centralized exchanges like Coinbase, Binance, and Kraken. These fees reduce both your cost basis when buying and your proceeds when selling. For example, if you buy 1 BTC for $70,000 with a 0.1% fee ($70), your actual cost basis becomes $70,070. When you sell that BTC for $85,000 with a 0.1% fee ($85), your net proceeds are $84,915, not $85,000. Gas fees on networks like Ethereum can be substantial, ranging from $1 to $50 or more per transaction depending on network congestion. These fees should be added to your cost basis when acquiring tokens and subtracted from your proceeds when selling. Withdrawal fees charged by exchanges for moving crypto to external wallets should also be factored into your cost calculations. For DeFi transactions, fees include swap fees (typically 0.3% on Uniswap), slippage (the difference between expected and actual trade price), and gas fees for smart contract interactions. To calculate true profit, sum all fees associated with both acquisition and disposal. On a $10,000 crypto trade, cumulative fees including trading fees, gas, and slippage might total $50 to $200, reducing your effective return by 0.5% to 2%. While this may seem small on individual trades, frequent trading amplifies fee drag significantly. A crypto profit calculator that automatically deducts all fee types provides the most accurate picture of your actual investment performance.

Try More SupaCalc Tools

Free calculators for finance, health, AI costs, and more.

Browse All Calculators

Related Calculators