What This Cryptocurrency Tax Calculator Does
This calculator gives you a fast estimate of the capital gain (or loss), the tax owed, and the net profit on a single cryptocurrency sale. It also flags whether your holding qualifies as long-term or short-term based on how long you held the asset. It works for crypto investors anywhere, but the long-term/short-term distinction is modelled on the US tax system, where assets held longer than 12 months are typically treated as long-term capital gains.
The Inputs You Provide
- Purchase Price — what you originally paid for the cryptocurrency (your cost basis), in your currency.
- Sale Price — the amount you received when you sold or disposed of it.
- Holding Period (in months) — how many months you owned the asset before selling.
- Tax Rate (%) — the percentage rate that applies to your gain, based on your tax bracket and jurisdiction.
The Formula
The calculator runs three simple steps:
- Capital Gain = Sale Price − Purchase Price $$\text{Capital Gain} = \text{Sale Price} - \text{Purchase Price}$$
- Tax Amount = |Capital Gain × (Tax Rate ÷ 100)| — the absolute value is used so the figure is always shown as a positive amount. $$\text{Tax Amount} = \left| \text{Capital Gain} \times \frac{\text{Tax Rate}}{100} \right|$$
- Net Profit = Capital Gain − Tax Amount $$\text{Net Profit} = \text{Capital Gain} - \text{Tax Amount}$$
It then checks the holding period: 12 months or more is classified as long-term, anything less is short-term.
Worked Example
Suppose you bought Bitcoin for a Purchase Price of $5,000 and later sold it for a Sale Price of $8,000, holding it for 18 months at a Tax Rate of 15%.
- Capital Gain = $8,000 − $5,000 = $3,000 $$\$8{,}000 - \$5{,}000 = \$3{,}000$$
- Tax Amount = $3,000 × 0.15 = $450 $$\$3{,}000 \times 0.15 = \$450$$
- Net Profit = $3,000 − $450 = $2,550 $$\$3{,}000 - \$450 = \$2{,}550$$
- Holding Period = 18 months → Long-term
Frequently Asked Questions
What happens if I sold at a loss? If your Sale Price is below your Purchase Price, the capital gain is negative. Because the tax amount uses an absolute value, you should treat a loss as a capital loss — you generally wouldn't owe tax on it, and it may offset other gains.
Does the holding period change my tax rate? The calculator does not automatically lower your rate for long-term holdings — it only labels the holding as long or short term. You enter the Tax Rate yourself, so apply the long-term rate for assets held 12+ months.
Is this an official tax filing tool? No. It's an estimate for a single transaction. For multiple trades, cost-basis methods, and accurate filing, consult a tax professional or your local tax authority.