How to Track Cost Basis in Crypto

Cost basis is the starting number behind every crypto tax calculation. This post covers the accounting methods the IRS permits, why cross-wallet transfers break automatic tracking, how DeFi complicates basis further, and what 1099-DA changes — and doesn't.
Lewis Jackson
CEO and Founder

Cost basis is the starting point for every crypto tax calculation. It's the value of your crypto when you acquired it — and without an accurate record of that figure, there's no reliable way to determine whether you have a gain or a loss when you eventually dispose of it.

For traditional brokerage accounts, cost basis tracking is largely automated. Your broker records what you paid, and the forms arrive at year-end. Crypto doesn't work that way — not yet, and in some parts of the ecosystem, not anytime soon. Tokens move between wallets you control, bridges, DeFi protocols, and exchanges, often without any institution tracking the original acquisition cost.

The tracking obligation stays with you regardless.

What Cost Basis Actually Is

Cost basis is the fair market value of an asset at the time of acquisition, including any fees paid to acquire it. When you later sell, trade, or otherwise dispose of the asset, the taxable gain or loss is:

Proceeds − Cost Basis = Taxable Gain (or Loss)

For crypto, "disposal" is broad. It includes selling for cash, trading one token for another, using crypto to pay for goods or services, and certain DeFi interactions. Every one of these events requires knowing the original basis of whatever you gave up.

This is where the practical problem starts. You might buy ETH at $1,200 in January, more ETH at $2,400 in April, and more again at $3,600 in November. When you sell some ETH the following year, which ETH did you sell? The IRS requires you to pick a method — and that choice has material tax consequences.

The Four Accounting Methods

FIFO (First In, First Out) treats your oldest tokens as sold first. This is the IRS default if you haven't explicitly elected otherwise. In a rising market, FIFO typically produces the largest gains — your oldest lots tend to have the lowest basis, which maximizes taxable profit.

LIFO (Last In, First Out) treats your most recently acquired tokens as sold first. The IRS hasn't explicitly endorsed this for crypto, and it creates consistency problems when applied across reporting periods. Most tax professionals advise against it for crypto specifically.

HIFO (Highest In, First Out) treats your highest-basis lots as sold first, minimizing taxable gains in the near term. The IRS hasn't named HIFO explicitly, but it can be achieved through Specific Identification.

Specific Identification is the most flexible method: you designate exactly which lot you're disposing of at the time of the transaction. This requires contemporaneous records — you can't retroactively assign favorable lots after you already know the gain would have been smaller. Properly documented, Specific Identification lets you optimize which lots are realized in any given year, which is relevant when managing long-term versus short-term holding periods.

The method you choose should stay consistent across your filing — switching mid-year without proper documentation creates audit exposure.

The Cross-Wallet Tracking Problem

Cost basis doesn't travel with tokens on the blockchain. When you transfer ETH from Coinbase to a Ledger hardware wallet, Coinbase records the outbound transfer. Your Ledger receives the ETH. But there's no protocol-level handoff of the original acquisition cost — that information lives only in Coinbase's records and, more importantly, in yours.

Every time you move crypto between wallets you control, you need to maintain the link between incoming tokens and their original basis. Transfers between your own wallets aren't taxable events, but they require matching assets to their source.

If you bought ETH at $1,200 on Coinbase, sent it to MetaMask, and later sell it on Uniswap, your basis is still $1,200 — the Uniswap transaction has no knowledge of that, and neither does any 1099 form. The connection exists only in your records.

Lose that connection, and reconstructing it from blockchain data alone is possible but tedious. You can pull transaction histories from block explorers, cross-reference with exchange records, and work backward. But the further you get from the original transaction — and the more chains and wallets involved — the harder accurate reconstruction becomes.

DeFi Complicates This Further

Token swaps on a DEX are taxable disposal events. When you swap ETH for USDC, you've disposed of ETH (potentially realizing a gain or loss) and acquired USDC with a new basis equal to its fair market value at the time of receipt. The swap resets the basis.

Every swap, every hop across protocols, every interaction that constitutes a disposal starts the basis clock over on the output token. Active DeFi users can accumulate hundreds of these events across a year, each requiring a separate basis calculation.

Liquidity pool positions add another layer of complexity. When you deposit tokens into a liquidity pool, you typically receive LP tokens representing your share. The basis in those LP tokens is derived from the value of what you deposited. When you withdraw — which may return a different ratio of tokens than you deposited, due to how AMMs work — both the disposal of LP tokens and receipt of the underlying assets are potentially taxable events. Without detailed records of what went in at what prices and what came out, the calculation becomes guesswork.

What Records You Actually Need

For each acquisition:

  • Date of purchase or receipt
  • Amount received
  • Fair market value in USD at time of acquisition
  • Fees paid (these add to basis)

For each disposal:

  • Date of disposal
  • Amount disposed
  • Proceeds (fair market value in USD at time of disposal)
  • Which specific lots were sold (if using Specific Identification)

Transaction confirmations from exchanges, on-chain transaction hashes viewable via block explorers (Etherscan, Solscan, and similar tools), and dated contemporaneous records all qualify as supporting documentation. "Adequate records" under IRS standards means being able to reconstruct cost and proceeds for any transaction under audit.

What 1099-DA Changes — and What It Doesn't

Starting with tax year 2025, centralized exchanges are required to report proceeds from crypto disposals on 1099-DA forms. Beginning with tax year 2026, cost basis reporting phases in for those same exchanges.

This is a meaningful improvement in enforcement infrastructure. But it's narrower than it sounds.

A 1099-DA from Coinbase covers only transactions on Coinbase. If you transferred ETH to a hardware wallet and sold it through a different exchange or DeFi protocol, the Coinbase 1099-DA won't capture the original basis of that disposal. You're still responsible for tracking it.

The 1099-DA covers the easy cases. The hard cases — cross-wallet activity, DeFi, bridging across chains, multi-year holding across different custodians — remain your problem.

The DeFi broker rule, which would extend 1099-DA reporting to non-custodial protocols, remains contested as of mid-2026. Whether it survives legal and Congressional challenges is unresolved.

What Would Confirm This Direction

Exchanges issuing accurate 1099-DA forms for both proceeds and cost basis beginning with tax year 2026, with forms arriving in April 2027. IRS audit activity citing basis discrepancies identified through cross-referencing exchange data with reported gains. Ongoing Congressional failure to narrow the broker definition further.

What Would Break or Invalidate It

A court ruling or Congressional resolution striking down the cost basis reporting requirement for exchanges. A redefinition of which crypto interactions constitute taxable disposal events — theoretically possible legislatively, historically unlikely. A shift in IRS classification of crypto from property to currency for some subcategories, which would require an act of Congress and is not on any active legislative agenda as of mid-2026.

Timing

Now: Every disposal event since you first acquired crypto has required a cost basis calculation. The obligation isn't new; the enforcement infrastructure is getting better.

Next: 1099-DA cost basis data begins flowing from exchanges for tax year 2026, arriving in April 2027. Reconciling exchange-reported basis against your own records will likely surface discrepancies.

Later: DeFi reporting obligations remain legally contested. Whether non-custodial protocols eventually face 1099-style reporting requirements is an open question with active regulatory and legal proceedings.

Boundary

This covers cost basis tracking methodology — what it is, which accounting methods the IRS permits, why cross-wallet and DeFi activity require manual tracking, and what changes as 1099-DA rolls out. It doesn't address the forms used to report gains (covered separately), how to use a specific tax software tool, or the detailed mechanics of how DeFi-specific positions are treated from a tax liability perspective. Those are distinct questions.

The tracking obligation exists regardless of what any institution reports on your behalf.

Related Posts

See All
Crypto Research
New XRP-Focused Research Defining the “Velocity Threshold” for Global Settlement and Liquidity
A lot of people looking at my recent research have asked the same question: “Surely Ripple already understands all of this. So what does that mean for XRP?” That question is completely valid — and it turns out it’s the right question to ask. This research breaks down why XRP is unlikely to be the internal settlement asset of CBDC shared ledgers or unified bank platforms, and why that doesn’t mean XRP is irrelevant. Instead, it explains where XRP realistically fits in the system banks are actually building: at the seams, where different rulebooks, platforms, and networks still need to connect. Using liquidity math, system design, and real-world settlement mechanics, this piece explains: why most value settles inside venues, not through bridges why XRP’s role is narrower but more precise than most narratives suggest how velocity (refresh interval) determines whether XRP creates scarcity or just throughput and why Ripple’s strategy makes more sense once you stop assuming XRP must be “the core of everything” This isn’t a bullish or bearish take — it’s a structural one. If you want to understand XRP beyond hype and price targets, this is the question you need to grapple with.
Read Now
Crypto Research
The Jackson Liquidity Framework - Announcement
Lewis Jackson Ventures announces the release of the Jackson Liquidity Framework — the first quantitative, regulator-aligned model for liquidity sizing in AMM-based settlement systems, CBDC corridors, and tokenised financial infrastructures. Developed using advanced stochastic simulations and grounded in Basel III and PFMI principles, the framework provides a missing methodology for determining how much liquidity prefunded AMM pools actually require under real-world flow conditions.
Read Now
Crypto Research
Banks, Stablecoins, and Tokenized Assets
In Episode 011 of The Macro, crypto analyst Lewis Jackson unpacks a pivotal week in global finance — one marked by record growth in tokenized assets, expanding stablecoin adoption across emerging markets, and major institutions deepening their blockchain commitments. This research brief summarises Jackson’s key findings, from tokenized deposits to institutional RWA chains and AI-driven compliance, and explains how these developments signal a maturing, multi-rail settlement architecture spanning Ethereum, XRPL, stablecoin networks, and new interoperability layers.Taken together, this episode marks a structural shift toward programmable finance, instant settlement, and tokenized real-world assets at global scale.
Read Now

Related Posts

See All
No items found.
Lewsletter

Weekly notes on what I’m seeing

A personal letter I send straight to your inbox —reflections on crypto, wealth, time and life.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.