Enter or upload your transactions, then compare FIFO, LIFO, and HIFO - with short-term vs long-term breakdown, estimated tax, harvesting opportunities, and a downloadable report. Everything runs in your browser; nothing is uploaded anywhere.
Just sold a single position and want the number now? Fill this in. For a full year of activity across many lots, use the ledger below instead - it handles FIFO, LIFO, and HIFO.
Fees are added to your cost basis on the buy and deducted from proceeds on the sale. Tax uses the ST/LT rates set further down the page.
Buy: price is what you paid per unit. Fees are added to cost basis.
Expected columns: date, type, asset, quantity, price_usd, fee_usd, network_fee_usd, received_asset, received_qty. Types: buy, sell, swap, income. Dates as YYYY-MM-DD. No quoted commas.
| Date | Type | Asset | Qty | Price | Fees | Received | |
|---|---|---|---|---|---|---|---|
| No transactions yet - add one above or upload a CSV. | |||||||
| Asset | Qty | Acquired | Sold | Proceeds | Cost basis | Gain / loss | Term |
|---|
Enter today's market price for each asset you still hold. Lots whose value has fallen below their cost basis are potential harvesting candidates - selling them would realize a loss that can offset gains. Watch for wash-sale-style rules in your jurisdiction before acting.
| Asset | Qty held | Cost basis | Current price | Market value | Unrealized | Harvest? |
|---|
This calculator gives you the picture - dedicated crypto tax software connects to your exchanges, applies your country's exact rules, and generates the forms your accountant or tax authority needs.
Disclosure: links above may be affiliate links - we may earn a commission at no extra cost to you.
A complete, private workspace for estimating your crypto capital gains - from raw transactions to a downloadable disposal schedule - without creating an account or sending your data anywhere.
Add trades one at a time with date, quantity, price, and fees. The form adapts to each transaction type, with hints explaining how it will be treated.
Import your full history from an exchange export in one go - with a documented column format and a downloadable sample file to match against.
All four transaction types get the right treatment - swaps count as a disposal plus an acquisition, and income creates basis at receipt-date value.
Both fee types are tracked separately - added to cost basis on acquisitions and deducted from proceeds on disposals, so nothing gets lost.
The same transactions are matched under all three cost basis methods side by side, so you can see exactly how the choice changes your gain and estimated tax.
Every disposal is classified against the one-year holding threshold and totalled into short- and long-term buckets, each with its own tax rate.
Your remaining lots are checked against current prices you enter, flagging positions with unrealized losses that could offset realized gains.
Export the full disposal schedule - acquired dates, proceeds, basis, gain, and term - plus summary totals for whichever method you select.
No account, no server, no upload. Calculations and CSV parsing happen locally on this page - your transaction data never leaves your device.
Clear notices before and after results: simplified rules, flat rates you set, no wash-sale logic - and a reminder to confirm with a qualified professional.
After results, optional recommendations for Koinly, CoinTracker, and CoinLedger - clearly marked as affiliate links with a disclosure line.
Everything runs locally in your browser - no account, and no transaction data leaves your device at any point.
A capital gain is the profit you make when you dispose of an asset for more than it cost you. In most jurisdictions - including the US - cryptocurrency is treated as property rather than currency, which means the same capital gains rules that apply to stocks or real estate apply to your coins. Every time you dispose of crypto, you compare what you received (the proceeds) with what the coins originally cost you including fees (the cost basis). If proceeds exceed basis, you have a capital gain; if they fall short, a capital loss.
This is where crypto surprises people. Selling for dollars is the obvious case, but swapping one coin for another is usually also a taxable disposal - trading BTC for ETH means you "sold" the BTC at its market value at that moment, even though you never touched fiat. Spending crypto on goods or services works the same way. Simply buying crypto with fiat, or moving coins between your own wallets, is generally not a disposal. Rewards from staking, mining, or airdrops are typically taxed differently: as ordinary income at their market value when received - and that received value then becomes the cost basis for a future disposal.
You buy 1 ETH for $2,000 (plus a $10 fee, so basis = $2,010). Eight months later you swap it for SOL when ETH is worth $3,000. You've realized a $990 short-term capital gain - and your new SOL lots start with a $3,000 basis.
How long you held the coins before disposing of them usually changes the tax rate. In the US, assets held for one year or less produce short-term gains taxed at your ordinary income rates, while assets held longer than one year qualify for lower long-term capital gains rates. Because the difference can be ten percentage points or more, the holding period of each individual lot matters - which is exactly why the calculator above classifies every disposal separately.
If you bought the same coin at different times and prices, then sold only part of your position, which coins did you sell? That's what a cost basis method decides. FIFO (first-in, first-out) assumes you sold your oldest coins; LIFO (last-in, first-out) your newest; and HIFO (highest-in, first-out) the most expensive ones - which usually minimizes the reported gain. The method you use can change your taxable gain substantially for identical transactions, but tax authorities set rules about which methods are allowed and how consistently you must apply them, so treat the comparison above as a way to understand the range, not a menu to pick the lowest number from.
Capital losses offset capital gains, and in many systems a limited amount of excess loss can offset ordinary income, with the remainder carried forward to future years. That's the idea behind tax-loss harvesting: deliberately realizing losses on underwater positions to reduce the tax on your gains. Some jurisdictions apply wash-sale or similar re-purchase rules that can disallow the loss if you buy the same asset back too quickly - check how the rules in your country treat crypto before harvesting.
Rules differ by country and change frequently - the one-year threshold, the rates, income treatment of staking, and loss limits described above are simplifications centered on US practice. Use the calculator to build intuition and a working estimate, then confirm the specifics with a qualified tax professional in your jurisdiction.
This page gives you a free estimate. When you're ready to file, these are the platforms most commonly recommended for full capital gains reporting - they connect to your exchanges and wallets, apply your country's rules, and generate filing-ready forms.
Quick single-disposal mode plus a full ledger with FIFO, LIFO, and HIFO compared side by side. No account, no upload - everything is computed in your browser.
Scroll up to use it ↑Widely rated the strongest all-rounder - very large exchange, wallet, and blockchain coverage, with tax reports tailored to more than 20 countries rather than the US alone.
Visit Koinly →Built around a fast import-to-filing path with strong error reconciliation, and a direct export pipeline into TurboTax that DIY US filers tend to prefer.
Visit CoinLedger →Pairs continuous portfolio tracking with tax reporting, so gains, losses, and harvesting opportunities are visible year-round rather than only at filing time.
Visit CoinTracker →Known for on-chain categorization across DeFi protocols and staking activity - useful when your history is more than exchange trades.
Visit ZenLedger →Operates as software plus a full-service accounting firm, with higher tiers that include a dedicated accountant. Priced accordingly, and there's no free version.
Visit TokenTax →Country-specific frameworks aimed at EU jurisdictions, which matters when local rules diverge sharply from US treatment.
Visit Blockpit →