Crypto Cost Basis Tracker
Log buy and sell trades for a crypto asset and track running average cost basis, realized gain/loss on each sale, and total position size, entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Uses simple average-cost-basis accounting — not FIFO/LIFO/specific-ID. Check your tax jurisdiction's required method before filing.
| Type | Quantity | Price ($) | Running avg. cost | Realized gain/loss |
|---|
Current position
0
Avg. cost basis
$0
Total realized gain/loss
$0
How it works
- Log each buy or sell trade with its quantity and price.
- Every buy updates your running average cost basis for the position.
- Every sell realizes gain or loss against that average cost, which accumulates into a running total.
FAQ
What cost basis method does this use?
Average cost basis — every buy blends into a single running average price for your position, and each sell realizes gain or loss against that average. This is simpler to track manually than FIFO or specific-lot identification, but not every tax jurisdiction accepts it for crypto — check your local rules.
Does this connect to my exchange or wallet?
No — every trade is entered manually and nothing is uploaded anywhere. That also means it's only as accurate as what you enter, and won't automatically pick up transfers, staking rewards, or fees unless you log them as trades yourself.
Is the realized gain/loss figure exact enough for taxes?
Treat it as a working estimate for tracking your position, not a tax filing. Real tax reporting typically requires the specific cost-basis method your jurisdiction mandates, transaction fees factored in, and often software built specifically for crypto tax reporting.
Manual tracker vs. a crypto tax platform
| Feature | This tracker | Crypto tax platform |
|---|---|---|
| Private, no exchange API keys needed | ✓ | ✗ |
| Auto-imports exchange history | ✗ | ✓ |
Good for a quick running total on a handful of trades; use dedicated crypto tax software for full filing-ready reports.