Free to Use

Crypto Profit Calculator โ€” Calculate Your Cryptocurrency Profit & Loss

Calculate how much profit or loss you made on your cryptocurrency investment. Enter your buy price, sell price, quantity, and fees to see your net profit, return on investment (ROI), and cost basis. Supports three modes: Simple calculation, Multiple Buys (DCA), and Tax Lot (FIFO) cost basis tracking. Whether you're a day trader, long-term HODLer, or DCA investor, this free crypto profit calculator gives you complete insight into your crypto trading performance.

Simple Profit/Loss Calculation

Multiple Buys (Dollar Cost Average)

Track multiple buy transactions at different prices, then sell at one price. Add as many buy lots as needed.

Buy Transactions

Tax Lot (FIFO Cost Basis)

Track multiple buy lots with FIFO (First In, First Out) cost basis. First-bought lots are sold first. Specify how many coins you sold from each lot.

Buy Lots (sold in FIFO order)
โœ… Crypto profit calculated successfully!
โš ๏ธ Please enter valid values to calculate. Check that all required fields are filled with positive numbers.

๐Ÿ“‹ Crypto Profit Examples

Example 1: Simple Profitable Crypto Trade

Buy Price: $45,000 per BTC
Sell Price: $52,000 per BTC
Quantity: 0.5 BTC
Transaction Fees: $15 total

Total Invested: (45,000 ร— 0.5) + 15 = $22,515.00
Total Proceeds: (52,000 ร— 0.5) โˆ’ 15 = $25,985.00
Profit: $25,985 โˆ’ $22,515 = $3,470.00
ROI: ($3,470 รท $22,515) ร— 100 = 15.41%

โœ… A solid profit of $3,470 with a 15.41% ROI on this BTC trade.

Example 2: Dollar Cost Average (DCA) Strategy

Buy 1: 0.25 ETH @ $2,000 (Fee: $5)
Buy 2: 0.25 ETH @ $2,400 (Fee: $5)
Buy 3: 0.25 ETH @ $2,800 (Fee: $5)
Sell Price: $3,000 per ETH
Sell Fees: $15

Total Invested: (2000ร—0.25+5) + (2400ร—0.25+5) + (2800ร—0.25+5) = $505 + $605 + $705 = $1,815.00
Total Quantity: 0.75 ETH
Avg Cost Basis: $1,815 รท 0.75 = $2,420.00
Total Proceeds: (3000 ร— 0.75) โˆ’ 15 = $2,235.00
Profit: $2,235 โˆ’ $1,815 = $420.00
ROI: ($420 รท $1,815) ร— 100 = 23.14%

โœ… DCA smoothed out the entry price to $2,420, resulting in a 23.14% ROI.

Example 3: FIFO Tax Lot Method โ€” Partial Sell

Lot 1 (Bought first): 0.5 BTC @ $30,000 (Fee: $10)
Lot 2 (Bought second): 0.5 BTC @ $40,000 (Fee: $10)
Sell: 0.6 BTC @ $50,000 (Fee: $20)

FIFO Order: First 0.5 BTC from Lot 1, then 0.1 BTC from Lot 2
Cost of sold coins (Lot 1): (30,000 ร— 0.5) + (10 ร— 0.5/0.5) = $15,010.00
Cost of sold coins (Lot 2): (40,000 ร— 0.1) + (10 ร— 0.1/0.5) = $4,002.00
Total Cost Basis of Sold: $15,010 + $4,002 = $19,012.00
Total Proceeds: (50,000 ร— 0.6) โˆ’ 20 = $29,980.00
Profit: $29,980 โˆ’ $19,012 = $10,968.00
ROI: ($10,968 รท $19,012) ร— 100 = 57.69%

โœ… FIFO method correctly assigns the oldest lots first, maximizing the long-term gain on the earlier purchase.

Example 4: Loss on Crypto Investment

Buy Price: $1.50 per token
Sell Price: $1.20 per token
Quantity: 10,000 tokens
Transaction Fees: $50 total

Total Invested: (1.50 ร— 10,000) + 50 = $15,050.00
Total Proceeds: (1.20 ร— 10,000) โˆ’ 50 = $11,950.00
Loss: $11,950 โˆ’ $15,050 = โˆ’$3,100.00
ROI: (โˆ’$3,100 รท $15,050) ร— 100 = โˆ’20.60%

โš ๏ธ A loss of $3,100 with a โˆ’20.60% ROI. Remember that crypto losses can offset gains for tax purposes.

๐Ÿงฎ Crypto Profit Formulas & Guide

Simple Profit/Loss

Profit = (Sell Price โˆ’ Buy Price) ร— Quantity โˆ’ Total Fees

This is your net profit or loss from a straight buy-and-sell transaction. Total fees include all exchange and transaction fees on both the buy and sell sides.

Return on Investment (ROI)

ROI % = (Profit รท Total Invested) ร— 100

ROI expresses your profit as a percentage of your total investment. A positive ROI means you made money; a negative ROI means you lost money. This helps you compare the efficiency of different trades regardless of position size.

Average Cost Basis (DCA)

Avg Cost Basis = Total Invested รท Total Quantity

When you buy at multiple price points (Dollar Cost Averaging), your average cost basis is the total amount you've invested divided by the total quantity of coins you've accumulated. Your profit is then based on this average cost.

FIFO Method (Tax Lot Accounting)

FIFO: First-bought lots are sold first

FIFO (First In, First Out) is an accounting method where the oldest coins you bought are considered sold first. This means when you sell a portion of your position, the cost basis is calculated using the purchase price of your earliest acquisitions. FIFO is a common default method used by tax authorities in many countries.

Cost of Sold = ฮฃ(Lot Price ร— Sold Qty + Pro-rata Fees)

Under FIFO, you track each buy lot separately. When you sell, you deduct from the oldest lot first until it's exhausted, then move to the next oldest lot. This is important for tax reporting as it determines which lots contribute to your gain or loss.

Total Proceeds

Total Proceeds = (Sell Price ร— Quantity) โˆ’ Sell Fees

The total amount you receive from selling your cryptocurrency, after deducting exchange and transaction fees.

Total Invested

Total Invested = (Buy Price ร— Quantity) + Buy Fees

Your total cost to acquire the cryptocurrency, including all purchase fees. For DCA, this is the sum of all individual buy transactions.

Quick Guide to Crypto Profit Calculation

Step-by-Step

  • Step 1: Determine your cost basis โ€” what you paid for the crypto including any fees.
  • Step 2: Determine your proceeds โ€” what you received from selling minus fees.
  • Step 3: Subtract cost basis from proceeds to get your profit or loss.
  • Step 4: Divide profit by total invested and multiply by 100 to get your ROI%.
  • Step 5: For multiple buys, calculate the weighted average cost basis for accurate results.
  • Step 6: For partial sells, use FIFO to determine which lots were sold and their associated costs.

Why Tracking Fees Matters

Transaction fees on crypto exchanges can significantly impact your net profit, especially on smaller trades or frequent trading. Always include both buy-side and sell-side fees in your calculations. Some exchanges charge a percentage (e.g., 0.1% per trade), while others charge flat fees. For accurate crypto profit tracking, always use the actual fees you paid.

๐Ÿ’ฐ
Instant Profit/Loss Calculation
Enter your buy and sell prices along with quantity to see your net crypto profit or loss instantly. Supports Bitcoin, Ethereum, altcoins, and any cryptocurrency with up to 8 decimal places.
๐Ÿ“Š
Dollar Cost Average (DCA) Mode
Track multiple buy transactions at different prices and calculate your true average cost basis. Perfect for investors who regularly accumulate crypto through DCA strategies.
๐Ÿ“‹
FIFO Tax Lot Accounting
First In, First Out (FIFO) cost basis tracking for multiple buy lots with partial sells. Essential for accurate crypto tax reporting and understanding your tax liability.
๐Ÿ’ต
Fee-Aware Calculations
Account for exchange and transaction fees to get the true net profit of your crypto trades. Works with any fee amount, including zero for no-fee trading pairs.

Understanding Crypto Profit Calculation

Crypto profit โ€” also referred to as realized gain or loss โ€” is the difference between the total proceeds you receive from selling cryptocurrency and the total cost you paid to acquire it, minus any transaction fees. When the sell price exceeds your average cost basis after all fees, you've made a profit. When it's lower, you've incurred a loss.

Accurately calculating crypto profit is crucial for several reasons. First, it tells you whether your trading strategy is actually working โ€” the price of a cryptocurrency can rise significantly, but if you bought at a high average cost or incurred substantial fees, your net profit may be much smaller than expected. Second, accurate profit calculation is essential for tax reporting, as most tax authorities treat cryptocurrency as property and require you to report capital gains and losses. Third, tracking your profit helps you evaluate which cryptocurrencies and trading strategies are most effective for your portfolio.

Key Metrics Every Crypto Investor Should Track

For example, if you buy 0.5 BTC at $45,000 with a $10 fee and later sell at $52,000 with a $15 fee, your total invested is $22,510, your proceeds are $25,985, and your net profit is $3,475 โ€” a 15.44% ROI. But if you had bought at $48,000 instead, your profit would be much smaller, showing how entry price dramatically impacts returns.

Dollar Cost Averaging (DCA) in Crypto

Dollar Cost Averaging (DCA) is a popular investment strategy where you invest a fixed amount of money into a cryptocurrency at regular intervals, regardless of the price. This approach reduces the impact of volatility by spreading your purchases over time โ€” you buy more coins when prices are low and fewer when prices are high, resulting in a smoothed average cost basis.

Why DCA Works for Crypto

Cryptocurrency markets are known for their extreme volatility. A single all-in purchase at the wrong time can result in significant paper losses that may take months or years to recover from. DCA mitigates this timing risk by spreading your entry points. For example, if you invest $1,000 in Bitcoin every month, your average cost basis will naturally be closer to the average price over that period rather than a single peak or trough.

Calculating DCA Profit

To calculate profit from a DCA strategy, you need to track every buy transaction with its price, quantity, and fees. Your total invested is the sum of all purchases plus all buy-side fees. Your average cost basis is total invested divided by total quantity. When you sell, your profit is (sell price โˆ’ average cost basis) ร— quantity sold โˆ’ sell fees. Our Multiple Buys (DCA) mode handles this automatically โ€” just enter each buy transaction and the final sell price.

DCA vs Lump Sum

Studies have shown that lump sum investing (investing all capital at once) statistically outperforms DCA in bull markets, while DCA outperforms in volatile or bear markets by reducing the risk of buying at the peak. Many crypto investors use a hybrid approach โ€” entering a position with a lump sum and then adding to it via DCA over time.

Tax Implications of Cryptocurrency Trading

Cryptocurrency tax reporting is one of the most important and complex aspects of crypto investing. In most countries, including the United States, cryptocurrency is treated as property for tax purposes, meaning every sale, trade, or disposal of crypto is a taxable event. This includes crypto-to-crypto trades, spending crypto on goods or services, and converting crypto to fiat currency.

Taxable Events in Crypto

The following are generally considered taxable events: selling crypto for fiat currency, trading one cryptocurrency for another (e.g., BTC for ETH), using crypto to purchase goods or services, and receiving crypto as payment for services or mining. The following are generally NOT taxable events: transferring crypto between your own wallets, buying and holding crypto (no tax until sold), and receiving crypto as a gift (though the giver may need to report).

Cost Basis Methods for Tax Reporting

Tax authorities typically allow or require specific cost basis methods for calculating gains. FIFO (First In, First Out) is the default method in many jurisdictions โ€” it assumes the oldest coins are sold first. LIFO (Last In, First Out) assumes the newest coins are sold first. Specific Identification allows you to choose which lots to sell. Each method can produce different tax results, so using our Tax Lot calculator with FIFO can help you understand your potential tax liability.

Record Keeping for Crypto Tax Purposes

For each crypto transaction, you should record: the date and time of the transaction, type and amount of cryptocurrency, value in your local currency at the time of the transaction, exchange rate used, transaction and network fees, the purpose of the transaction (trade, purchase, transfer), and the wallet addresses involved. Our crypto profit calculator helps you track these key metrics for every trade.

Frequently Asked Questions (FAQ)

How is crypto profit taxed?
In most countries, cryptocurrency is treated as property (asset) for tax purposes. This means every time you sell, trade, or dispose of crypto, it's a taxable event subject to capital gains tax. If you held the crypto for one year or less, it's a short-term capital gain taxed at your ordinary income tax rate (up to 37% in the US). If you held for more than one year, it's a long-term capital gain taxed at preferential rates (0%, 15%, or 20% in the US). Crypto-to-crypto trades are also taxable โ€” trading Bitcoin for Ethereum is considered selling Bitcoin and buying Ethereum. Always consult a tax professional for advice specific to your jurisdiction and situation. Tax laws vary significantly by country and are still evolving for cryptocurrency.
What is FIFO vs LIFO?
FIFO (First In, First Out) and LIFO (Last In, First Out) are two methods for determining which specific coins you sold when you have multiple buy lots. FIFO assumes the oldest coins you acquired are sold first. This is the default method used by most tax authorities. LIFO assumes the most recently acquired coins are sold first. The choice of method can significantly affect your tax liability. In a rising market, FIFO typically results in larger gains (more tax) since older coins were cheaper, while LIFO results in smaller gains (less tax) since newer coins were more expensive. Some countries allow you to choose your method, while others mandate FIFO. Some also allow Specific Identification, where you can select which lots to sell.
What about transaction fees?
Transaction fees are critical to accurate crypto profit calculation. These include exchange trading fees (e.g., 0.1% maker/taker fees), network/gas fees (paid to miners or validators), and withdrawal/deposit fees. All fees should be added to your cost basis (for buy-side fees) or deducted from your proceeds (for sell-side fees). Even small fees add up โ€” if you're an active trader making hundreds of trades, fees can consume 10-20% or more of your gross profits. Our calculator allows you to input fees for each transaction to get a true net profit figure. Note that fees paid in crypto (e.g., ETH gas fees) themselves may have tax implications as a disposal of that crypto.
Is staking income counted?
Yes, staking rewards are generally taxable income. When you stake cryptocurrency and receive rewards, those rewards are typically treated as ordinary income at the time you receive them, valued at the fair market price of the crypto on the date of receipt. This is similar to how interest income from a savings account is taxed. After you receive staking rewards, they become part of your cost basis for that cryptocurrency โ€” if you later sell them, you'll also have a capital gain or loss based on the difference between the sale price and the value when you received them. Some tax authorities also tax airdrops and fork coins as ordinary income. The rules around staking taxes are still evolving, so consult a tax professional familiar with crypto.
Do I pay tax on every trade?
In most jurisdictions, yes โ€” virtually every crypto transaction is a taxable event. This includes: selling crypto for fiat currency (USD, EUR, etc.), trading one cryptocurrency for another (BTC โ†’ ETH), using crypto to buy goods or services, and gifting crypto (though there may be exemptions for small gifts). The only common non-taxable events are: transferring crypto between your own wallets (you still own the same asset), buying crypto with fiat (no tax until you sell), and receiving crypto as a gift (the recipient may have tax obligations when they sell). This means active crypto traders can easily generate hundreds of taxable transactions per year, making accurate record-keeping essential. Many traders use specialized crypto tax software to aggregate their transaction history from exchanges and wallets.
What about losses?
Yes, crypto losses matter! Capital losses from cryptocurrency investments can be used to offset capital gains from other investments, reducing your overall tax liability. This strategy is called tax-loss harvesting. If your total capital losses exceed your capital gains for the year, you can typically deduct up to $3,000 (or equivalent in your local currency) of net losses against your ordinary income, with any remaining losses carried forward to future tax years. However, be aware of wash sale rules โ€” in some jurisdictions, if you sell crypto at a loss and repurchase the same or substantially identical crypto within 30 days (before or after the sale), the loss may be disallowed for tax purposes. Note that the wash sale rule traditionally applies to securities in the US, and whether it applies to crypto is still being debated by tax authorities, so consult a professional.

โš ๏ธ Important Disclaimer โ€” Not Financial Advice: This Crypto Profit Calculator is for educational and informational purposes only. It provides estimates based on the values you enter and is not a substitute for professional financial, legal, or tax advice. Cryptocurrency investing involves significant risk, including the complete loss of principal. Prices are highly volatile and can move dramatically in either direction. Tax laws regarding cryptocurrency vary by jurisdiction and are constantly evolving. You are responsible for understanding and complying with your local tax reporting obligations. This calculator does not account for staking rewards, airdrops, forks, margin trading, futures, options, DeFi yield farming, or other complex crypto scenarios. Always consult with a qualified tax professional, financial advisor, or legal professional for advice specific to your financial situation and jurisdiction. Past performance does not guarantee future results.

โš ๏ธ Crypto Tax Reporting Obligations: In many countries, including the United States, you are required to report capital gains and losses from cryptocurrency transactions on your tax return. Failure to accurately report crypto transactions can result in penalties, interest, and potential legal consequences. Keep detailed records of all your crypto transactions including dates, amounts, prices, fees, and wallet addresses. Use this calculator as one tool in your crypto tax preparation process, but always verify your calculations with official records from your exchanges and wallets.