Investing

    Crypto Profit & Loss Calculator Guide – How to Calculate Gains, Losses & Taxes

    Henry10 min readJune 3, 2026

    Bought Bitcoin at $30,000, sold at $65,000. How much profit did you actually make — and how much tax do you owe? The answers depend on how long you held, what you paid in fees, and what tax bracket you're in. This guide walks through everything.

    Calculate Your Crypto Profit Instantly

    Enter your buy price, sell price, investment amount, and fees to calculate your exact profit, loss, ROI, and estimated tax owed.

    The Basic Profit Formula

    Profit / Loss = (Sell Price − Buy Price) × Quantity − Fees
    Example: Bought 0.5 BTC at $30,000 ($15,000 total)
    Sold 0.5 BTC at $65,000 ($32,500 total), $50 in fees
    Profit = $32,500 − $15,000 − $50 = $17,450

    ROI vs. Absolute Profit

    Profit in dollars tells you the absolute gain. Return on Investment (ROI) tells you the percentage gain — which lets you compare different investments fairly.

    ROI = (Profit ÷ Cost Basis) × 100
    $17,450 ÷ $15,050 × 100 = 115.9% ROI

    Your cost basis is what you paid including fees. Your proceeds is what you received minus selling fees. Both matter for accurate tax reporting.

    Crypto Taxes: The IRS Rules

    The IRS treats cryptocurrency as property, not currency. Every sale, trade, or exchange is a taxable event. Even trading Bitcoin for Ethereum is taxable — you must calculate the fair market value of what you received on the date of the trade.

    Taxable events include:

    • Selling crypto for cash
    • Trading one crypto for another
    • Using crypto to buy goods or services
    • Receiving crypto as income (mining, staking, airdrops)

    Not taxable: Buying crypto with cash, transferring between your own wallets, holding (unrealized gains).

    Short-Term vs. Long-Term Capital Gains

    The tax rate on your crypto profit depends on how long you held before selling:

    Holding PeriodTax Type2026 Tax Rate
    ≤ 1 yearShort-term capital gains10–37% (ordinary income rates)
    > 1 yearLong-term capital gains0%, 15%, or 20%

    Holding for more than one year can dramatically reduce your tax bill. On a $50,000 gain, the difference between a 22% short-term rate and a 15% long-term rate is $3,500 in taxes.

    2026 Long-Term Capital Gains Tax Brackets

    RateSingle Filer IncomeMarried Filing Jointly
    0%Up to $48,350Up to $96,700
    15%$48,351 – $533,400$96,701 – $600,050
    20%Over $533,400Over $600,050

    Cost Basis Methods

    When you've bought the same crypto multiple times at different prices, the IRS requires you to use a consistent cost basis method to calculate gains:

    • FIFO (First In, First Out) — the default. Oldest coins sold first. Works against you in rising markets.
    • Specific Identification — you choose which coins to sell. Most tax-efficient if used strategically (sell highest-cost lots to minimize gains).
    • HIFO (Highest In, First Out) — sells your highest-cost basis coins first to minimize gains. Allowed under specific identification.
    • LIFO (Last In, First Out) — sells newest coins first. Not recommended for most crypto investors.

    Tax-Loss Harvesting with Crypto

    Crypto has a major advantage over stocks: there's no wash-sale rule (as of 2026). With stocks, you can't sell at a loss and buy back within 30 days to claim the deduction. With crypto, you can sell at a loss, immediately rebuy, and still claim the tax loss — reducing your taxable gains.

    Example: You have $20,000 in Bitcoin gains and $8,000 in Ethereum losses. Harvest the ETH loss by selling → your net taxable gain drops to $12,000. At 15% long-term rate, you save $1,200 in taxes — then immediately rebuy ETH at the same price.

    Calculate Your Crypto Profit and Tax Estimate

    Enter your buy price, sell price, quantity, fees, and holding period to get your exact profit, ROI, and estimated tax owed — for any cryptocurrency.