Purchase Lots (Chronological Order — FIFO uses oldest first)

Date Acquired Units Bought Cost per Unit ($) Holding Period

Sale Details

FIFO Tax Impact Results

This calculator is for educational and estimation purposes only. Consult a licensed tax professional for advice on your specific situation. Cryptocurrency tax rules vary by jurisdiction and may change.

FIFO Cryptocurrency Tax Impact Calculator

What This Calculator Does and Why It Matters

Every time you sell, trade, or exchange cryptocurrency, you create a taxable event. The IRS requires you to calculate the capital gain or loss on each transaction, and the accounting method you choose determines how much tax you owe. This free FIFO Cryptocurrency Tax Impact Calculator uses the First-In First-Out method — the default method recognized by the IRS — to calculate your cost basis, capital gain or loss, and estimated tax liability for a crypto sale.

FIFO assumes you sell the oldest coins you purchased first. This matters enormously because older purchases often have a lower cost basis, which can result in higher taxable gains if the price has risen. Knowing the tax impact before you sell helps you make smarter decisions about timing, lot selection, and tax planning. The IRS treats cryptocurrency as property, not currency, which means each disposal triggers a capital gains event just like selling stock.

If you are also tracking losses to offset gains, the Crypto Tax Loss Harvesting Calculator on ToolCR works well alongside this tool to help plan your overall crypto tax position.

How to Use This Calculator

Step-by-Step Instructions

  1. Enter your purchase lots in chronological order — each lot requires the date acquired, number of units, and cost per unit. The calculator pre-fills two example lots to guide you.
  2. Add more lots using the Add Lot row at the bottom of the table. Click the red X to remove any lot.
  3. Under Sale Details, enter the number of units you sold, the sale price per unit, and the date of the sale.
  4. Select your short-term tax rate — use your ordinary income tax bracket percentage.
  5. Select your long-term capital gains rate (0%, 15%, or 20%) based on your income and filing status.
  6. Click Calculate FIFO Tax to see the full FIFO breakdown by lot, total gain or loss, and estimated taxes owed.
  7. Review the lot-by-lot detail section to see exactly which lots were consumed and whether each generated a short-term or long-term gain.

The Formula Explained

Breaking Down the Formula

FIFO cost basis works by assigning the oldest purchased units to the sale first. For each lot consumed: Gain or Loss = (Units Sold from Lot × Sale Price) − (Units Sold from Lot × Cost Basis per Unit). If the holding period for a lot exceeds 365 days from the acquisition date to the sale date, the gain is long-term. If 365 days or fewer, it is short-term. The total tax is calculated separately for short-term gains (at your ordinary income rate) and long-term gains (at the preferential capital gains rate).

According to IRS guidance on virtual currencies, taxpayers must use a consistent accounting method and can only switch methods with IRS approval in certain circumstances.

Example Calculation with Real Numbers

You bought 1.0 BTC on January 15, 2023 at $20,000, and 0.5 BTC on September 10, 2023 at $27,000. You sell 0.8 BTC on June 1, 2024 at $40,000. FIFO uses the January 2023 lot first: 0.8 BTC × $20,000 cost = $16,000 basis, 0.8 × $40,000 proceeds = $32,000. Gain = $16,000. Holding period = 503 days — long-term. At a 15% rate, estimated tax = $2,400. Net proceeds after tax = $32,000 − $16,000 − $2,400 = $13,600.

When Would You Use This

Real Life Use Cases

This calculator is most useful when you are considering selling a portion of your crypto holdings and want to understand the tax cost before executing the trade. It is also essential at year-end when reconciling your crypto transactions for tax reporting, or when comparing the tax impact of selling now versus waiting until a lot crosses the one-year mark to qualify for long-term treatment.

Investors who have accumulated multiple purchase lots over several years at very different prices need FIFO calculations to accurately determine which units are being sold and what the resulting tax liability will be. The difference between short-term and long-term tax rates can be substantial — sometimes 20 percentage points or more — making holding period awareness a key part of any crypto tax strategy.

Specific Example Scenario

A crypto investor bought Ethereum at various prices over three years and now wants to sell enough to cover a down payment on a home. Running the FIFO calculation shows that the oldest units have a very low cost basis and will generate a large long-term gain. By calculating the tax first, the investor discovers it is worth waiting 47 more days for one lot to cross the 365-day threshold, potentially saving thousands in taxes. This is exactly the kind of decision this calculator helps you make. You might also use our Average Cost Basis Calculator for Digital Assets to compare cost basis methods side by side.

Tips for Getting Accurate Results

Keep a Complete Record of Every Purchase Lot

FIFO requires knowing the exact date and cost of every lot you have ever purchased. Missing lots will skew your cost basis and could lead to overpaying or underpaying taxes. Export your full transaction history from every exchange you have used and organize it by date before entering data into this calculator. Many exchanges now provide downloadable CSV files specifically for tax reporting purposes.

Understand the Difference Between Short-Term and Long-Term Rates

Short-term capital gains are taxed at your ordinary income rate — which could be anywhere from 10% to 37% depending on your bracket. Long-term gains (held over 365 days) are taxed at 0%, 15%, or 20%. For taxpayers in higher income brackets, this difference is enormous. Use your actual marginal rate for short-term gains, not an average rate, to get an accurate estimate. More details on current rates can be found via Investopedia’s capital gains tax guide.

Consider Alternative Cost Basis Methods Before Filing

FIFO is the default and simplest method, but the IRS also allows specific identification of lots, which lets you choose which units to sell to minimize your tax. If your oldest lots have a much lower basis than recent purchases, specific identification could result in significantly lower taxes. Always consult a qualified tax professional before switching methods or filing complex crypto returns. Our FIFO Cryptocurrency Tax Impact Calculator gives you the FIFO baseline — then you can compare that to other methods with a professional.

Frequently Asked Questions

What is FIFO and why does it matter for crypto taxes?

FIFO stands for First-In First-Out. It is a cost accounting method that assumes you sell the oldest units you purchased first. For crypto taxes, this matters because it determines your cost basis, which directly affects how much capital gain or loss you report. The IRS accepts FIFO as a valid method for cryptocurrency.

Does the IRS require FIFO for cryptocurrency?

No. The IRS does not require FIFO specifically, but it is the default method if you do not identify specific lots. You can also use specific identification, which lets you choose which lots to sell. FIFO is the most commonly used method because it is simple and widely accepted. You must apply your chosen method consistently.

What is the difference between short-term and long-term capital gains for crypto?

If you hold a crypto asset for 365 days or less before selling, the gain is short-term and taxed at your ordinary income rate. If you hold it for more than 365 days, the gain is long-term and taxed at a preferential rate of 0%, 15%, or 20% depending on your taxable income. Long-term rates are always lower than or equal to short-term rates for the same income level.

What counts as a taxable event in cryptocurrency?

Selling crypto for fiat currency, trading one crypto for another, using crypto to buy goods or services, and receiving crypto as payment or income all trigger taxable events. Simply holding or buying crypto does not create a tax liability. Transferring between your own wallets is generally not taxable.

How do I find my cost basis if I bought crypto on multiple exchanges?

You need to compile records from every exchange you have used. Most major exchanges allow you to download your full transaction history. Some third-party crypto tax software can automatically import from multiple exchanges and calculate FIFO cost basis across all accounts. Keeping good records from the start saves significant headaches at tax time.

Can I use this calculator for assets other than Bitcoin?

Yes. The calculator works for any cryptocurrency — Ethereum, Solana, altcoins, or any other token. The math is the same regardless of the asset. Just enter the correct purchase cost and sale price for the specific asset you are calculating.

What if I received crypto as income — how does that affect my cost basis?

Crypto received as income — from mining, staking rewards, airdrops, or payment for services — is taxed as ordinary income at the fair market value on the date received. That fair market value then becomes your cost basis for future capital gains calculations when you eventually sell that crypto.

Does crypto-to-crypto trading trigger taxes?

Yes. Exchanging one cryptocurrency for another is treated as a disposal of the first asset and a purchase of the second. You must calculate the capital gain or loss on the asset you gave up, using its fair market value in USD at the time of the trade as both the proceeds and the new cost basis for the asset received.

Conclusion

Understanding your FIFO cost basis and the resulting tax impact before you sell is one of the most important steps in responsible crypto investing. This free FIFO Cryptocurrency Tax Impact Calculator gives you a clear breakdown of which lots are consumed first, whether each gain is short-term or long-term, and what your estimated tax liability will be. Use it to plan your sales timing, compare the tax cost of selling now versus later, and go into tax season fully prepared. Always confirm final numbers with a qualified tax advisor familiar with cryptocurrency regulations.