Formula & Calculator

Crypto Capital Gains Tax

Calculates the tax owed on a cryptocurrency sale based on the profit realized and applicable capital gains tax rate.

CryptoTaxDaily Life

Crypto Capital Gains Tax Calculator Short / Long‑Term

Tax = (Sale PriceCost Basis) × Tax Rate
Tax = capital gains tax owed  ·  Sale Price = proceeds from sale  ·  Cost Basis = original purchase price + fees  ·  Tax Rate = capital gains tax rate (decimal)
⟹ Solve Tax, Sale, Cost, Rate
$
$
$
decimal
Please fix the errors above.
Solve for:
Presets:
Tax Owed
Tax: Sale: Cost: Rate:
✓ Copied!
Tax Liability Gauge
Low (< $200) Moderate ($200–$1,000) High (> $1,000)
Tax = (Sale Price – Cost Basis) × Tax Rate  ·  If Sale Price < Cost Basis, gain is zero (no tax). Tax Rate is a decimal (e.g., 0.25 = 25%).

Interpretation

Tax Owed = (Sale Price − Cost Basis) × Tax Rate. The capital gains tax owed on a crypto sale. Used for tax compliance and planning.

Tax Owed = (Sale Price - Cost Basis) * Tax Rate
Crypto Capital Gains Tax

Variables

SymbolQuantityUnit
Tax OwedCapital gains tax owedcurrency
Sale PricePrice the crypto was sold forcurrency
Cost BasisOriginal purchase price plus feescurrency
Tax RateApplicable capital gains tax rate%

What it means

Crypto sales are taxable events. The capital gain is the difference between the sale price and the cost basis. The tax owed is the gain times the applicable tax rate. This is essential for tax reporting and for planning sales to minimise taxes. Understanding this helps investors manage their tax liability and to comply with regulations.

Worked example

Crypto Capital Gains Tax – Two Detailed Examples

Real‑World
Scenario: An investor sells crypto for $15,000 with a cost basis of $10,000, realising a $5,000 gain. At a 15% tax rate, tax owed = 5000 × 0.15 = $750. The investor calculates this to set aside funds for tax payment and avoid penalties.
ParameterValue
Sale Price$15,000
Cost Basis$10,000
Tax Rate15%
1Gain = 15000 - 10000 = $5,000
2Tax = 5000 × 0.15 = $750
Result $750 ✓ Tax owed
Scenario: Another trade results in a loss: sale $8,000, cost basis $10,000. Gain = -$2,000. No tax is owed; the loss can offset other gains. The investor uses this to harvest tax losses and reduce their overall tax liability.
ParameterValue
Sale$8,000
Cost Basis$10,000
Rate15%
1Gain = 8000 - 10000 = -$2,000
2Tax = $0 (loss)
Result $0 ✓ No tax
Insight: Capital gains tax is calculated on the profit from a sale. Losses can offset gains, and tax rates vary by holding period and jurisdiction. Proper record‑keeping is essential.

Common mistakes

  • Capital gains tax: (Sale price − Cost basis) × Tax rate.
  • Sale price: The total proceeds from the sale.
  • Cost basis: The original purchase price plus fees.
  • Tax rate: Depends on holding period and jurisdiction (short‑term vs long‑term).

Applications

Crypto capital gains tax calculates the tax owed on a sale by subtracting the cost basis from the sale price and multiplying by the tax rate. This is essential for tax compliance in many jurisdictions. Investors and traders use it to estimate their tax liabilities and to plan their selling strategies. Understanding this calculation is crucial for avoiding penalties and for effective tax planning.

  • Estimating tax liability on crypto gains
  • Tax‑loss harvesting and strategic selling
  • Reporting to tax authorities
  • Planning for year‑end tax payments
  • Educational understanding of crypto taxation

Frequently Asked Questions

Q01How do I calculate the capital gains tax owed on a cryptocurrency sale, given the sale price, cost basis, and tax rate?
A01

Tax Owed = (Sale Price - Cost Basis) × Tax Rate. For example, if you sold crypto for $15,000 with a cost basis of $10,000 and a tax rate of 15%, the tax owed is (5000 × 0.15) = $750. This is the tax on the profit.

Q02What is the difference between short-term and long-term capital gains tax rates?
A02

Short-term gains (held <1 year) are taxed at ordinary income rates (higher). Long-term gains (held ≥1 year) have lower, preferential rates (0%, 15%, or 20% depending on income). Always check your jurisdiction's rules.

Q03How do I determine the cost basis for my crypto?
A03

Cost basis includes the purchase price plus any fees (trading fees, network fees). You can use specific identification (FIFO, LIFO) or average cost basis, depending on your tax authority's rules.

Q04Do I have to pay tax on unrealised gains?
A04

No, capital gains tax is only triggered when you sell, trade, or spend crypto. Unrealised gains (on holdings you still own) are not taxed.

Q05How do I handle staking rewards for tax purposes?
A05

In most jurisdictions, staking rewards are taxed as ordinary income at the time of receipt, based on the fair market value. This increases your cost basis for future sales.

Q06What about losses – can I offset gains with losses?
A06

Yes, capital losses can offset capital gains. If losses exceed gains, you may be able to deduct up to a certain amount (e.g., $3,000/year in the US) against ordinary income.

Q07How often should I track my gains and losses for tax purposes?
A07

You should track every transaction throughout the year. Many investors use crypto tax software to automate this. At year-end, you generate a tax report.

Q08Can I use the average cost method for all my crypto?
A08

Not all jurisdictions allow average cost. Check with your tax authority. In the US, you can use specific identification or average cost if you consistently apply it.