Tracking Crypto Cost Basis (for Tax Time)
Cost basis is what you originally paid for a crypto asset, and tracking it accurately all year is the single most useful thing a portfolio tracker does for your eventual tax situation — even though the tracker is not the thing that files your taxes. Most trackers keep a running cost basis as you transact, which turns a painful year-end reconstruction into something close to a download. This guide explains what cost basis is, why a tracker computes it, and how to keep it clean — with a clear line drawn around where tracking stops and tax filing, a separate discipline, begins.
One thing up front: nothing here is tax advice. Tax rules vary by country and change, and how gains are calculated is a question for a qualified professional or dedicated tax software, not a tracking guide. What we can help with is the tracking side — keeping the underlying record accurate so that whatever you or your accountant do at filing time starts from good data.
What cost basis actually is
Cost basis is the amount you paid to acquire an asset, including fees, expressed in your local currency at the time. It matters because, in most jurisdictions, tax on crypto is generally assessed on the gain — the difference between what you received when you disposed of an asset and its cost basis — rather than on the full amount. If you bought a coin for the equivalent of 100 and later sold it for 150, the 50 gain is what tends to be relevant, and the 100 basis is the number that makes that calculation possible.
The complication is that basis is per-acquisition. Buy the same asset five times at five prices and you have five cost bases, and which one applies when you sell depends on the accounting method your jurisdiction uses or allows. This is exactly the bookkeeping that becomes unmanageable by hand once you transact regularly, and exactly what a tracker is good at keeping straight in the background.
Why a tracker tracks it for you
A portfolio tracker computes cost basis so that the gain or loss it shows you means something. When you connect your accounts, the tracker records each acquisition — the amount, the price and the date — and each disposal, and matches them up to produce a running basis and an unrealised gain figure. That is useful to you all year for understanding your position, and it is the raw material a tax report is built from. The better trackers reconcile transfers between your own wallets so a move from an exchange to a hardware wallet is not mistaken for a sale.
This is where the overlap between tracking and tax tools comes from: a tool like Koinly or CoinLedger tracks your portfolio and cost basis for free and then charges to turn that record into a formal tax report. We cover those from the tracking angle — how well they keep the underlying data — rather than as tax-filing software, which is its own field. See our comparison of the best crypto portfolio trackers for how each handles cost basis and transfers.
Accounting methods, briefly
You will see trackers reference accounting methods like FIFO (first in, first out), LIFO (last in, first out) and specific identification, and it is worth knowing what they are without treating this as tax advice. These methods decide which acquisition's cost basis is used when you dispose of part of a holding, and different jurisdictions require or permit different ones. The practical point for tracking is that the method changes the reported gain, so a tracker's gain figure is only meaningful once it is set to the method that applies to you — a setting to check, not to guess.
Keeping your basis clean all year
Accurate cost basis is a year-round habit, not a year-end scramble, and a tracker rewards good habits. Connect all your accounts so no acquisition or disposal is invisible; a missing account is a hole in your basis that surfaces painfully later. Label transfers between your own wallets correctly so they are not counted as taxable disposals. And add manual entries for anything the tracker cannot see, such as an over-the-counter purchase or a gift, so the record stays complete.
- Connect every account and wallet, so no buy, sell or transfer is missing from the record.
- Flag self-transfers between your own wallets so they are not mistaken for sales.
- Record off-exchange events — OTC buys, gifts, airdrops — that a tracker cannot detect on its own.
- Review the running figures periodically rather than only at tax time, when errors are harder to fix.
Where tracking ends and filing begins
The clean way to think about it: a tracker keeps the ledger; filing is what you do with the ledger. Tracking your cost basis accurately all year makes filing far easier, but the filing itself — choosing the correct method, applying your jurisdiction's rules, and reporting the result — is a separate discipline best handled with dedicated tax software or a qualified professional. Do not treat a tracker's gain figure as your tax return; treat it as a well-kept draft that whatever you use to file can start from. If you are new to why any of this matters, our overview of why use a portfolio tracker sets the context.
Cost-basis tracking questions
Do I need a tracker to work out my cost basis?
Is a portfolio tracker the same as tax software?
Will a tracker calculate my crypto taxes correctly?
Why does my tracker show a gain when I only moved coins?
Ready to pick a tracker? See the best crypto portfolio trackers, compared, or read how to track your portfolio safely with read-only keys.