Crypto Tax Calculator
Calculate your cryptocurrency capital gains tax using FIFO, LIFO, or HIFO methods.
Safe conversion with no data sent to server
Last updated: March 2026
Settings
Transactions
Estimated Total Tax
$3,180
Total Gains: $21,200
Short-Term Gains
$0
Tax: $0
Long-Term Gains
$21,200
Tax: $3,180
Taxable Events
| Date | Qty | Proceeds | Cost Basis | Gain/Loss | Type |
|---|---|---|---|---|---|
| 2025-02-01 | 0.4 | $38,000 | $16,800 | $21,200 | Long |
Disclaimer: This calculator provides estimates for educational purposes only. It does not constitute financial or tax advice. Consult a qualified professional.
What is Cryptocurrency Tax?
The IRS treats cryptocurrency as property, not currency, for federal tax purposes. This means every time you sell, trade, or otherwise dispose of crypto, you may trigger a taxable event. The tax is calculated on the difference between what you paid for the cryptocurrency (your cost basis) and what you received when you disposed of it. Just like stocks, short-term gains (held under a year) are taxed at ordinary income rates, while long-term gains (held over a year) benefit from lower preferential rates of 0%, 15%, or 20%.
Choosing the right cost basis accounting method — FIFO (First In, First Out), LIFO (Last In, First Out), or HIFO (Highest In, First Out) — can significantly change your tax liability. FIFO assumes you sell the oldest coins first, which often results in the most long-term gains. LIFO sells the newest coins first, frequently generating short-term gains. HIFO sells your highest-cost coins first, minimizing taxable gains in the current year and is popular for tax minimization strategies.
Beyond straightforward buy-and-sell transactions, other crypto activities also create taxable events: trading one cryptocurrency for another, receiving crypto as payment for services, earning staking rewards, and receiving airdrops. Mining income is generally treated as ordinary income at the fair market value on the day received. Keeping accurate records of every transaction — including date, amount, and price at time of acquisition — is essential for accurate reporting.
How to Use This Crypto Tax Calculator
- Select your preferred cost basis method: FIFO, LIFO, or HIFO.
- Enter your applicable income tax rate (your marginal federal rate) for short-term gain calculations.
- Add all your buy and sell transactions with date, quantity, and price per unit.
- Use the "+ Buy" and "+ Sell" buttons to add as many transactions as needed.
- Review the taxable events table showing each matched lot with short-term or long-term classification, gain/loss, and the total estimated tax.
Tax Planning Strategies
- Hold over 12 months: Converting a short-term gain into a long-term gain by holding past the one-year mark can cut your tax rate by more than half in many income brackets.
- Use HIFO accounting: Selling your highest-cost lots first minimizes the gain recognized in a given year. Confirm with your tax advisor that HIFO is used consistently.
- Harvest crypto losses: Unlike stocks, the IRS wash sale rule does not currently apply to cryptocurrency. You can sell a losing position and immediately repurchase it while still claiming the loss — though this may change with future legislation.
- Donate appreciated crypto to charity: Donating crypto directly to a qualified charity avoids capital gains tax entirely and allows you to deduct the full fair market value.
- Keep meticulous records: Use a crypto tax platform or spreadsheet to track every transaction with timestamps, amounts, and USD values at the time of each event.
- Consider timing year-end sales: If you are near a tax bracket threshold, deferring a sale to the next calendar year may keep you in a lower rate tier.
FAQ
Do I owe taxes if I just hold cryptocurrency and never sell?
No. Simply holding (HODLing) cryptocurrency does not trigger a taxable event. Tax is only owed when you dispose of crypto — by selling, trading, spending, or otherwise transferring it in exchange for value.
What is the difference between FIFO, LIFO, and HIFO?
FIFO (First In, First Out) uses your oldest purchases as the cost basis for each sale. LIFO (Last In, First Out) uses your most recent purchases. HIFO (Highest In, First Out) uses your most expensive purchases. The method you choose can dramatically affect the size and character (short- vs. long-term) of your gains.
Are crypto-to-crypto trades taxable?
Yes. Trading Bitcoin for Ethereum, for example, is treated as if you sold the Bitcoin for its USD market value at the time of the trade, triggering a capital gains event. Each trade must be tracked and reported.
Should I rely on this calculator to file my taxes?
This calculator provides estimates for planning purposes only and does not constitute tax advice. Cryptocurrency tax law continues to evolve rapidly. Always consult a qualified tax professional or licensed CPA who specializes in digital assets before filing your return.
Financial Disclaimer
This calculator is for informational and educational purposes only. Results are estimates and do not constitute financial advice. Actual figures depend on your specific circumstances, lender terms, and market conditions. Consult a qualified financial advisor before making financial decisions. See full disclaimer.
Related Tax Calculator Tools Tools
Capital Gains Tax Calculator
Calculate capital gains tax on stocks, real estate, or other investments
Tax Bracket Calculator
Find your federal tax bracket and calculate your effective tax rate for 2025
W-4 Withholding Calculator
Calculate the right W-4 withholding to avoid owing taxes or getting a huge refund
1099 Tax Estimator
Estimate your 1099 self-employment taxes including income tax, SE tax, and quarterly payments