How to Calculate Crypto Profit and Loss: A Complete Guide
Calculate your crypto profit or loss
Compare buy price, sell price, fees, and position size to see your real crypto result.
Open Crypto Profit/Loss CalculatorCryptocurrency investing can be exciting - but when tax season rolls around, many investors find themselves scrambling to figure out exactly how much they've gained or lost. Whether you're a casual holder or an active trader, understanding how to calculate your crypto profit and loss is essential for accurate IRS reporting and smarter investment decisions. Use our free Crypto Profit/Loss Calculator to get instant results.
Why Crypto Profit & Loss Matters
Every time you sell, trade, or spend cryptocurrency in the United States, it's considered a taxable event by the IRS. That means you need to know your exact gain or loss on each transaction. Getting this wrong can lead to underpaying taxes (and penalties) or overpaying and leaving money on the table.
Since 2014, the IRS has treated cryptocurrency as property - not currency. This means crypto gains are subject to capital gains tax, just like stocks or real estate.
The Basic Crypto Profit/Loss Formula
Gain or loss = gross sale proceeds − selling fees − adjusted cost basis. For a simple purchased asset, basis includes the purchase price and acquisition fees. Do not subtract acquisition fees again.
Worked example
Suppose you bought 0.5 Bitcoin for $15,000 before a $50 acquisition fee and later sold it for $22,000 with a $60 selling fee. Adjusted basis is $15,050; net proceeds are $21,940; the gain is $6,890. This is a simple transaction illustration, not a lot-selection or complete tax-return calculation.
Understanding Cost Basis Methods
When part of a holding acquired in several lots is disposed of, basis depends on valid identification and recordkeeping under the applicable IRS rules. Do not treat LIFO as a freely selectable tax method without those requirements. If adequate specific identification is not made, applicable FIFO rules may determine basis. The simple profit/loss calculator estimates an entered transaction; it does not identify tax lots, reconcile wallets or prepare filing forms.
Short-Term vs. Long-Term Capital Gains
For ordinary capital assets, one year or less is short term; more than one year is long term. Count from the day after acquisition through disposition. Special acquisition rules can affect the calculation.
2026 Single long-term capital-gain bands
| Taxable income, including the gain | Rate on the relevant part of the gain |
|---|---|
| Up to $49,450 | 0% |
| Above $49,450 through $545,500 | 15% |
| Above $545,500 | 20% |
Gains can span bands and stack above other taxable income; the table does not assign one rate to every dollar of a gain. Other filing statuses and special gain categories have different rules. For example, $45,000 of other taxable income and a $10,000 ordinary long-term gain leaves $4,450 at 0% and $5,550 at 15%, or $832.50 federal tax on that gain, assuming no qualified dividends or special categories. This excludes tax on other income and state taxes.
The separate 3.8% Net Investment Income Tax (NIIT) may apply to the lesser of net investment income or excess modified AGI over the applicable threshold: $200,000 Single/head of household, $250,000 Married Filing Jointly or $125,000 Married Filing Separately. NIIT is not the 0.9% Additional Medicare Tax. These capital-gain rules apply to crypto held as a capital asset; receiving crypto for services is different.
Estimate the tax side of your crypto trades
Estimate 2026 US federal tax on one capital-asset sale for Single or Married Filing Jointly, including NIIT, assuming no other capital gains or losses. This does not identify tax lots or prepare a return.
Open Crypto Tax CalculatorDon't Forget About Fees
Record what each fee pays for. For the simple cash purchase and cash sale illustrated above, qualifying acquisition costs increase basis and qualifying selling costs reduce proceeds. Costs of moving assets between your own wallets are not treated as digital-asset transaction costs under these rules. Crypto-for-crypto exchanges have specific cost-allocation rules. Paying a fee with crypto can itself dispose of that crypto and create a gain or loss. Do not assume every network, withdrawal or conversion fee reduces your tax bill.
Common Crypto Taxable Events
Not sure what counts as a taxable event? Here's a quick reference:
Taxable:
- Selling crypto for USD or other fiat currency
- Trading one cryptocurrency for another (e.g., BTC → ETH)
- Using crypto to purchase goods or services
- Receiving crypto as payment for work (taxed as ordinary income)
Not taxable (generally):
- Buying crypto with USD and holding it
- Transferring assets between your own wallets generally does not itself recognize gain or loss, but assets used or withheld to pay transfer services can have separate tax consequences.
- Receiving a bona fide gift generally does not create income at receipt. On a later disposal, gain and loss basis can differ: donor basis generally matters for gain, while loss basis uses the lower of donor basis and gift-date value. Gift-tax adjustments and documentation can matter; the recipient does not always use one inherited basis for every calculation.
Building a Long-Term Strategy
Smart crypto investors don't just track one trade - they think in terms of portfolio strategy. Consider dollar-cost averaging (DCA) to reduce volatility risk, and learn how compound growth works to set realistic long-term expectations. Understanding your return on investment across all your assets helps you make better allocation decisions.
FAQ
How do I calculate crypto profit or loss?
Gain or loss = gross sale proceeds − selling fees − adjusted cost basis. For a simple purchased asset, basis includes the purchase price and acquisition fees. Do not subtract acquisition fees again. Crypto Profit/Loss Calculator
What is adjusted cost basis?
Gain or loss = gross sale proceeds − selling fees − adjusted cost basis. For a simple purchased asset, basis includes the purchase price and acquisition fees. Do not subtract acquisition fees again.
How does the holding period affect US capital-gain treatment?
For an ordinary capital asset, one year or less is short term and more than one year is long term. Count from the day after acquisition through disposition; special acquisition rules can apply. A gain is not always taxed at one rate: other income, filing status, netting and NIIT can affect the result.
How are tax lots identified?
When part of a holding acquired in several lots is disposed of, basis depends on valid identification and recordkeeping under the applicable IRS rules. Do not treat LIFO as a freely selectable tax method without those requirements. If adequate specific identification is not made, applicable FIFO rules may determine basis. The simple profit/loss calculator estimates an entered transaction; it does not identify tax lots, reconcile wallets or prepare filing forms.
Are crypto capital losses deductible?
Capital losses first offset capital gains under the applicable netting rules. A remaining net capital loss may generally offset up to $3,000 of other income per year, or $1,500 if married filing separately, with unused losses carried forward subject to the rules.
Tax scope and tools
Cryptocurrency tax rules in the United States are set by the IRS and can change. This guide is for informational purposes and does not constitute tax advice. Consult a qualified tax professional for your specific situation.
Explore all our crypto tools at the Crypto & Digital Assets Calculator Hub - including profit/loss tracking, tax estimation, DCA modeling, and staking rewards calculators.
Track your crypto portfolio performance
See allocation, position values, and portfolio-level growth so single-trade results fit the bigger picture.
Open Crypto Portfolio Calculator