Free tool
Crypto Tax Calculator
Estimate the capital gain on closed crypto positions using FIFO cost-basis matching. Enter your buys and sells in any order — the calculator sorts by date, matches sells against the oldest open lots first, and reports total gain, short-term vs long-term split, and the open lots still outstanding.
FIFO is the default cost-basis method in most jurisdictions, including the US for taxpayers who haven't explicitly opted into HIFO or LIFO. This crypto tax calculator handles small portfolios (a handful of trades a year) directly in the browser. For a full Form 8949-style report covering thousands of trades across multiple exchanges, the connected Meetcrypt platform produces the same FIFO output as a downloadable CSV / PDF from your real Binance and Bitget history. Informational only — not tax or financial advice. Confirm your situation with a qualified tax professional before filing.
| Type | Date | Amount | Price / coin | Fee USD | |
|---|---|---|---|---|---|
Total gain / loss
+$24,990
- Total proceeds
- $74,990
- Total cost basis
- $50,000
- Short-term gain
- $0.00
- Long-term gain
- $24,990
- Matched lots
- 2
Open lots (unrealized)
- 2023-06-100.500000@ $40,000
Show FIFO match detail (2)
| Sell date | Matched amount | From buy | Cost basis | Proceeds | Gain | Hold |
|---|---|---|---|---|---|---|
| 2024-08-01 | 1.000000 | 2023-01-15 | $30,000 | $49,993 | $19,993 | 564d (LT) |
| 2024-08-01 | 0.500000 | 2023-06-10 | $20,000 | $24,997 | $4,997 | 418d (LT) |
How it's calculated
FIFO (first in, first out) is the most widely accepted cost-basis method. For each sell, the calculator pops the oldest unsold buy lot, computes cost basis = matched coins × that lot's price, proceeds = matched coins × sell price (minus any sell fee). Gain = proceeds − cost basis. Holds of 365+ days are tagged long-term so they roll into the long-term bucket. Open lots — coins you bought but haven't sold — stay outstanding and are surfaced as unrealized.
If a sell consumes more than one buy lot (the most common case for any trader holding multiple positions of the same coin), the calculator splits the sell across as many lots as needed to fill it, recording one match per lot consumed. Each match has its own hold period, so a single sell can straddle the short-term / long-term boundary and end up split across both gain buckets.
Worked example
Two buys: 1 BTC at $30,000 on 2023-01-15, 1 BTC at $40,000 on 2023-06-10. One sell: 1.5 BTC at $50,000 on 2024-08-01. FIFO matches the full 2023-01-15 lot (cost $30k, held ~563 days → long-term, gain +$20k) and 0.5 of the 2023-06-10 lot (cost $20k, held ~418 days → long-term, gain +$5k). Total: $75k proceeds, $50k cost basis, +$25k long-term gain, 0.5 BTC still open at $40k cost basis.
Short-term example: buy 2 ETH at $2,500 on 2024-01-10, sell 2 ETH at $3,800 on 2024-06-15 (~157 days). FIFO matches the full lot, hold period is below 365 days so it tags short-term. Cost basis $5,000, proceeds $7,600, gain +$2,600 in the short-term bucket. Short-term gains are taxed at ordinary income rates in most US-style jurisdictions, which is typically higher than the long-term rate.
FIFO Crypto Calculator: why FIFO matters
FIFO means you sell your oldest coins first — the IRS default in the US, and the standard treatment in most other jurisdictions unless you explicitly opt into HIFO (highest in, first out) or another specific-identification method. FIFO usually maximises long-term gain proportions (because your oldest lots are most likely to be long-term held), which can lower your effective tax rate vs HIFO in a market that's appreciated since you started buying. This FIFO crypto calculator matches the same way the IRS expects — chronological, transparent, audit-friendly.
Crypto Capital Gains Calculator across asset types
Capital-gains treatment differs by jurisdiction and asset type. Most jurisdictions tax capital gains on each disposal of crypto. Some (Germany, Portugal previously) exempt long-term holds entirely; the US splits short-term (≤365 days) at ordinary income rates and long-term (>365 days) at preferential rates. This crypto capital gains calculator splits your gains by short-term / long-term tag so you can plug each bucket into the correct line on your tax return — but please confirm jurisdiction-specific treatment with a qualified tax professional before filing.
Bitcoin Tax Calculator and other coins
FIFO matching is asset-agnostic — the math handles Bitcoin, Ethereum, any altcoin, even individual stablecoin transactions if you've been trading in and out at different prices (each "sell" of stablecoins for crypto becomes a tax event in most jurisdictions). Use this Bitcoin tax calculator by entering BTC-denominated buys and sells; the gain is computed in USD using the prices you enter. For multi-coin tax estimation across a year of trading, run the FIFO matching one coin at a time and sum the gains — same as a real tax professional would do on a per-asset basis.
FAQ
How is crypto tax calculated?
Most jurisdictions tax the capital gain on each disposal: proceeds minus cost basis. The calculator matches your sells against your buys using FIFO to work out the gain or loss on each trade.
What is FIFO cost basis?
FIFO (first in, first out) assumes the earliest coins you bought are the first ones you sell. It's the most widely accepted method and determines which purchase price is used as your cost basis.
What's the difference between short-term and long-term gains?
Many tax systems tax assets held under a year (short-term) at a higher rate than those held longer (long-term). The calculator separates gains by holding period where applicable.
Is this a substitute for tax advice?
No. This tool gives an estimate for general guidance only and is not tax or legal advice. Rules vary by country and situation — confirm with a qualified tax professional before filing.
Can I generate a full tax report?
Yes. Connect your Binance or Bitget account and Meetcrypt produces a complete FIFO capital-gains report in a Form 8949-style format you can hand to your accountant.
Related calculators
See your real PnL automatically.
Meetcrypt connects to Binance and Bitget with read-only API keys and recomputes profit, ROI, funding, drawdown, and liquidation risk across every account — fee-adjusted, in real time. No spreadsheets, no manual entry.