Crypto Tax Calculator
Estimate capital gains tax on a crypto disposal using short and long term rates.
Last updated · View algorithm, constants and default inputs (JSON)
About this calculator
This illustrative U.S. federal model estimates tax on a crypto disposal using the rates you enter. It uses more than 365 days as a simple proxy for a holding period over one year; actual dates, tax brackets, asset use and other rules can change treatment. This is not tax advice.
Worked example
calculated with the default values below
Acquisition price per coin 20,000 $ · Disposal price per coin 45,000 $ · Quantity disposed 1 coins · Holding period 400 days · Buy and sell fees 100 $ · Short-term tax rate 32 % · Long-term tax rate 15 % · Other capital losses to offset 0 $ Estimated tax 3,735.00 $ · Capital gain 24,900.00 $ · Gross proceeds 45,000.00 $ · Cost basis including fees 20,100.00 $ · Taxable gain after losses 24,900.00 $ · Rate applied 15.0 % · After-tax profit 21,165.00 $ · Holding-period model Long-term rate selected
General background references
Disclaimer
These calculators give estimates for general information only. They are not financial, tax or investment advice and do not take your personal circumstances into account. Before borrowing, investing or filing, confirm the numbers with a qualified adviser in your jurisdiction.
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Formula and variables
Tx = max(0, (P_s − P_b) × q − F − L) × r ÷ 100
- P_s
- Sell price
- P_b
- Buy price
- q
- Quantity
- F
- Fees
- L
- Other losses deducted
- r
- Tax rate (%)
Taxable gain = max(0, capital gain − entered losses); tax = taxable gain × selected user rate. The 365-day threshold is a simplified proxy for a U.S. more-than-one-year holding period, not legal tax classification.
Frequently asked questions
How does this model classify the holding period?
It selects the long-term rate only above 365 whole days; 365 or fewer selects the short-term rate. This is a day-count proxy, not a legal determination of the one-year holding period. The IRS generally treats a capital asset held more than one year as long-term, but acquisition and disposition dates and circumstances matter. Tax rates are user-entered assumptions; this simplified estimate omits personal tax brackets and other rules and is not tax advice.