This article reflects federal IRS rules as of June 2026 and covers tax year 2025. Tax law changes fast — confirm current figures before you file. This is educational, not legal or tax advice for your specific situation.
Quick Answer
Your crypto cost basis is what you paid to acquire a coin — the purchase price plus fees — measured per wallet or account starting January 1, 2025. When you sell or swap, you subtract that basis from the proceeds to find your gain or loss. For income-type crypto (staking, airdrops), basis equals the fair market value when you received it.
For tax year 2025, calculating cost basis is no longer a back-of-the-napkin exercise. The IRS ended universal “pooled” tracking and now forces you to track basis wallet-by-wallet, while the brand-new Form 1099-DA sends your sale proceeds straight to the IRS. Get the basis wrong, and you overpay tax or trigger an audit letter.
The stakes are real and the timing is tight. Brokers issue your first 1099-DA in early 2026 for 2025 sales, and the IRS computer system will match those numbers against your return — so anyone who sold, swapped, spent, or earned crypto in 2025 needs to nail their basis before the April 15, 2026 deadline.
Here is what you will learn:
- 💰 The exact formula for cost basis and how fees change it
- 🔄 How the 2025 wallet-by-wallet rule replaced universal tracking — and what it costs you
- 📊 FIFO vs. Specific ID (HIFO, LIFO) and which one saves the most tax
- 🎁 How basis works for staking, airdrops, forks, gifts, and inherited crypto
- 🧾 A step-by-step Form 8949 and Schedule D walkthrough with worked numbers
What “Cost Basis” Actually Means for Crypto
Cost basis is the total amount you invested to acquire a piece of crypto, measured in U.S. dollars. The IRS treats every digital asset as property, not currency, so the same rules that apply to stocks and real estate apply to your Bitcoin and Ethereum. Your basis is the starting line; your gain or loss is the distance between that line and what you got when you let the asset go.
The core formula is simple. Cost basis = purchase price + acquisition costs (fees). When you dispose of the asset, your capital gain or loss = proceeds − cost basis. If you buy 1 ETH for $2,000 and pay a $20 exchange fee, your basis is $2,020. Sell it later for $3,020 and your taxable gain is $1,000, not $1,020 — the fee on the way in raised your basis and lowered your gain.
Why does this matter so much? Because the consequence of an inflated or missing basis is a tax bill you do not actually owe. If you forget the fees or report a basis of zero, the IRS assumes the entire proceeds are profit. On a $50,000 sale, that mistake could cost you over $10,000 in needless tax. The fix is to keep records of every buy, including the dollar value and the fee, from day one.
A “taxable event” is what makes basis matter. Buying crypto with cash is not taxable — but selling it, swapping one coin for another, or spending it all are. The moment you trigger one of these events, you must know your basis to report the result correctly.
The Big 2025 Change: Wallet-by-Wallet Tracking
The single most important shift for tax year 2025 is the end of universal cost basis tracking. Through 2024, many taxpayers pooled all their holdings of a coin as if they sat in one giant account, no matter how many exchanges or wallets actually held them. Starting January 1, 2025, the IRS final regulations require you to track basis on a per-wallet and per-account basis.
In plain English, your cost basis is now tied to where the coin lives, not just when you bought it. If you hold 2 BTC on Coinbase and 1 BTC in a Ledger hardware wallet, those are three separate lots with their own basis records — you can no longer treat them as one interchangeable pile. When you sell from Coinbase, you can only use the basis of the coins actually sitting on Coinbase.
The consequence of ignoring this is misreported gains and a mismatch with the 1099-DA your broker files. Because each broker only knows about the coins on its platform, mixing in basis from another wallet will not line up with what the IRS receives — and a mismatch is exactly what triggers a CP2000 underreporter notice. What you should do: pick crypto tax software that supports per-wallet tracking, and reconcile every wallet separately before you file.
The Rev. Proc. 2024-28 Safe Harbor
To bridge the old world and the new, the IRS released Rev. Proc. 2024-28, a one-time safe harbor. It let taxpayers who used universal tracking reasonably allocate their leftover unused basis across the specific wallets and accounts they held as of January 1, 2025. The allocation had to be locked in by that date and only applied to assets acquired before 2025.
The consequence of skipping this allocation is messy: without a documented, reasonable plan, you risk the IRS assigning basis in a way that inflates your gains. The safe harbor required you to keep records showing the unused basis, its original cost, and the acquisition date of the asset it came from. A common misconception is that this is a recurring election — it was a one-time transition step, and the window to set the snapshot has already closed for the 2025 changeover.
If you never used universal tracking — say you only ever traded on one exchange — the safe harbor likely did not affect you. What to do now: confirm your software applied a per-wallet snapshot as of January 1, 2025, and keep the allocation report in case the IRS asks.
Form 1099-DA Enters the Picture
The new Form 1099-DA is the crypto cousin of the 1099-B you get for stocks. Brokers — including centralized exchanges, certain payment processors, and hosted wallet providers — must issue it for digital asset sales on or after January 1, 2025. The first forms arrive in early 2026 for the 2025 tax year.
Here is the catch for 2025: the IRS confirmed that for the 2025 tax year, 1099-DA reporting is limited to gross proceeds — cost basis reporting is not required yet. That means your broker tells the IRS what you sold for, but not what you paid. The burden of proving basis sits squarely on you. The consequence of having no records is that the IRS sees only proceeds and may treat the whole amount as gain. What to do: download every transaction history now and reconcile it against the 1099-DA before filing.
Which Cost Basis Method Applies to You?
For tax year 2025, the IRS accepts only two families of accounting methods: FIFO and Specific Identification. HIFO and LIFO are not separate methods — they are types of Specific Identification. Choosing well can swing your tax bill by thousands, so match the method to your situation.
- You do nothing / never specify lots: FIFO applies by default. The earliest coins you bought are treated as the first ones sold.
- You want to minimize gains this year: HIFO (a Spec ID method) sells your highest-cost coins first, shrinking the gain.
- You want long-term rates: Spec ID lets you hand-pick lots held over a year to qualify for lower rates.
- You trade on a CeFi exchange and never picked a method: the broker defaults to FIFO on your 1099-DA.
FIFO (First-In, First-Out)
Under FIFO, the IRS assumes the first units you acquired are the first ones you sell. It is the default method if you do not specify which lots you are selling. In a rising market, FIFO usually produces the largest gain, because your oldest (cheapest) coins get matched against today’s higher sale price.
The upside is simplicity and the likelihood of long-term treatment, since the oldest coins are often held over a year. The consequence in a bull market is a bigger tax bill than other methods. What to do: if FIFO produces a painful gain, check whether Specific ID is available to you before you file.
Specific Identification (HIFO, LIFO)
Specific Identification lets you choose exactly which units you are selling, as long as your records pinpoint the date, time, basis, and fair market value of each unit acquired and sold. HIFO (“highest-in, first-out”) sells your most expensive lots first to minimize gains. LIFO sells your most recent lots first.
The benefit is real tax savings — often the lowest legal gain. The consequence of using Spec ID without adequate records is that the IRS can reject it and force FIFO, raising your tax. A common misconception is that universal Spec ID still works; from 2025 it must be applied within each wallet. What to do: keep granular lot-level records, and for centralized exchanges, note that IRS Notice 2025-7 gives temporary relief on the broker pre-trade ID requirement through the end of 2025.
| Cost Basis Method | Best For and Tax Effect (Tax Year 2025) |
|---|---|
| FIFO (default) | Simplest; oldest coins sold first; usually highest gain in a bull market but more likely long-term rates |
| HIFO (Spec ID) | Sells highest-cost lots first; lowest current gain; requires detailed lot records |
| LIFO (Spec ID) | Sells newest lots first; useful when recent buys were expensive; requires detailed records |
How Basis Works by Transaction Type
Not all crypto enters your hands the same way, and the acquisition method sets your basis. This is where most people make costly errors, because “free” crypto is rarely free of tax. Below is how basis is set for each major scenario, all under current IRS guidance.
Bought Crypto (Purchases)
When you buy crypto with U.S. dollars, your basis is the purchase price plus any fees. Buying is not a taxable event, but it records the basis you will use later. If you buy 0.5 BTC for $30,000 and pay a $150 fee, your basis is $30,150. The consequence of forgetting the fee is overstating your future gain. What to do: log the dollar amount and fee for every buy.
Crypto-to-Crypto Swaps
Swapping one coin for another is a taxable disposal of the first coin and an acquisition of the second. You report a gain or loss on the coin you gave up, and the coin you received takes a new basis equal to its fair market value at the moment of the swap. The consequence of treating a swap as non-taxable is unreported gain — a top audit trigger. What to do: record the USD value of both sides of every trade.
Staking and Mining Rewards
Staking and mining rewards are ordinary income at the fair market value when you gain control of them. That same FMV becomes your cost basis going forward. So if you receive a staking reward worth $200, you report $200 of ordinary income now, and your basis in those tokens is $200. The consequence of skipping the income step is double trouble: unreported income plus a zero basis that inflates a later gain. What to do: log the FMV on the date you can move each reward.
Airdrops and Hard Forks
The IRS treats airdropped and forked tokens as ordinary income at fair market value on the date you have “dominion and control” — meaning you can transfer or sell them. That FMV is also your basis. The consequence of ignoring an airdrop is the same double hit as staking. What to do: note the date and value when the tokens become usable, even if you did not ask for them.
Gifted Crypto
Gifted crypto uses a “carryover” basis with a twist. For calculating a gain, your basis is the donor’s original basis under IRC §1015, plus any gift tax paid. For calculating a loss, your basis is the lower of the donor’s basis or the fair market value on the date of the gift — the dual-basis rule. The consequence of using the wrong figure is misreported tax. What to do: get the donor’s basis and acquisition date in writing.
Inherited Crypto
Inherited crypto gets a step-up in basis to its fair market value on the date of the decedent’s death. This is a major tax advantage — built-in gains before death vanish for income tax purposes. If you inherit 1 BTC the deceased bought at $5,000 but worth $90,000 at death, your basis is $90,000. The consequence of using the old basis is a needless $85,000 phantom gain. What to do: document the FMV on the date of death.
Worked Example: Calculating a Real Gain
Let’s run the full math the way the IRS expects. Meet Maria, who trades on a single exchange in 2025. She wants to know her gain on a Bitcoin sale.
Maria’s Bitcoin lots, all on the same exchange:
- Lot 1: 0.5 BTC bought January 2023 for $10,000 + $50 fee = $10,050 basis
- Lot 2: 0.5 BTC bought March 2025 for $40,000 + $200 fee = $40,200 basis
In November 2025, Maria sells 0.5 BTC for $45,000 (net of fees). Her result depends entirely on her method:
- Under FIFO: she sells Lot 1. Gain = $45,000 − $10,050 = $34,950, and because she held it over a year, it is a long-term gain taxed at 0%, 15%, or 20%.
- Under HIFO (Spec ID): she sells Lot 2. Gain = $45,000 − $40,200 = $4,800, but held under a year, it is a short-term gain taxed at her ordinary rate (up to 37%).
Here is the nuance most people miss: HIFO shows a smaller gain, but it is short-term. If Maria is in the 24% bracket, HIFO costs her about $1,152 in tax (24% × $4,800). FIFO shows a bigger gain but at a 15% long-term rate costs $5,243 (15% × $34,950). In this case HIFO wins — but only because she had detailed lot records to justify Specific Identification. Without those records, FIFO is forced.
Three Common Scenarios
Below are the three situations that trip up most filers, with the action and the tax outcome side by side.
Scenario 1: Selling at a profit on one exchange
| What You Did | Tax Result (Tax Year 2025) |
|---|---|
| Bought 1 ETH at $1,800, sold at $3,000 after 14 months | Long-term gain of $1,200, taxed at 0/15/20% based on income |
Scenario 2: Swapping coins you’ve held short-term
| What You Did | Tax Result (Tax Year 2025) |
|---|---|
| Swapped $5,000 of SOL (basis $3,000) for ETH after 4 months | Short-term gain of $2,000 taxed at ordinary rates; new ETH basis = $5,000 |
Scenario 3: Receiving and later selling a staking reward
| What You Did | Tax Result (Tax Year 2025) |
|---|---|
| Earned a staking reward worth $400, sold it 2 months later for $550 | $400 ordinary income at receipt; then $150 short-term capital gain on sale |
More Named Examples
James receives a 3 ETH gift from his brother, who originally paid $2,000 total. James later sells for $9,000. Because he is calculating a gain, he uses the carryover basis of $2,000, reporting a $7,000 gain. He learns that “free” crypto still carries the donor’s tax history.
Priya inherits 2 BTC when her father passes in 2025, when BTC trades at $88,000 each. Her stepped-up basis is $176,000. She sells six months later at $180,000 and reports only a $4,000 gain — the decades of pre-death appreciation are wiped clean for income tax.
David is a DeFi user who swapped tokens 300 times across three wallets in 2025. Under the new per-wallet rule, he must track each wallet separately. By importing every wallet into tax software and applying HIFO within each, he cuts his reported gain and matches his proceeds to each platform’s records.
Step-by-Step: Reporting on Form 8949 and Schedule D
Crypto gains and losses flow through Form 8949 and then Schedule D. Form 8949 lists each individual transaction; Schedule D totals them. Here is the process for your 2025 return, due April 15, 2026.
- Gather every disposal. List each sale, swap, or spend with the date acquired, date sold, proceeds, and cost basis.
- Sort short-term vs. long-term. Held one year or less is short-term (Part I); over one year is long-term (Part II).
- Pick the right box. Box A/D is for transactions where basis was reported to the IRS; Box C/F covers crypto where basis was not reported — which is most 2025 crypto, since 1099-DA reports proceeds only.
- Enter each line on Form 8949. Record proceeds in column (d), basis in column (e), and the gain or loss in column (h).
- Total onto Schedule D. Carry the short-term and long-term totals to Schedule D, which feeds your Form 1040.
- Reconcile against the 1099-DA. Make sure your proceeds match the broker’s figure to avoid a CP2000 notice.
For step-by-step field help, see our guide on how to fill out Form 8949 and the companion Schedule D walkthrough. For the new broker form, read our Form 1099-DA explainer.
Deadlines, Costs, and Timing
The federal filing deadline for tax year 2025 is April 15, 2026. Miss it without an extension and you face a failure-to-file penalty of 5% of unpaid tax per month, up to 25%. A six-month extension to October 15, 2026 buys time to file but not time to pay.
Costs vary. DIY crypto tax software typically runs $50 to $300 depending on transaction volume. A CPA who handles crypto often charges $500 to $2,500+ for a return with significant trading, staking, or DeFi activity. The reconciliation work itself can take a few hours for a simple year or many days for a high-volume DeFi trader.
Mistakes to Avoid
- Reporting a zero basis. The IRS treats the whole sale as gain, inflating your tax — sometimes by thousands.
- Forgetting acquisition fees. Leaving fees out raises your gain and overpays tax on every trade.
- Still using universal tracking. It is no longer allowed for 2025; using it causes a 1099-DA mismatch.
- Treating crypto-to-crypto swaps as tax-free. They are taxable disposals; skipping them is a top audit trigger.
- Ignoring staking and airdrop income. You owe ordinary income at receipt and lose the basis for later sales.
- Using Spec ID without records. The IRS can reject it and force FIFO, raising your gain.
- Mixing basis across wallets. Each broker reports only its own proceeds; mixing causes mismatches and notices.
- Using the old basis on inherited crypto. You forfeit the step-up and create a huge phantom gain.
Do’s and Don’ts
Do’s
- Do track every wallet separately — because the 2025 rules require per-account basis.
- Do record FMV at receipt for staking, airdrops, and forks — because that sets both income and basis.
- Do keep fee records — because fees raise basis and cut your gain.
- Do reconcile to your 1099-DA — because mismatches trigger IRS notices.
- Do choose Spec ID before selling when records allow — because it can legally lower your tax.
Don’ts
- Don’t assume buying is taxable — only disposing is, so do not overreport.
- Don’t guess your basis — estimates fall apart under audit.
- Don’t ignore small airdrops — the IRS still counts them as income.
- Don’t delete exchange history — you need it to prove basis since 1099-DA shows proceeds only.
- Don’t skip professional help on complex DeFi — because errors compound across hundreds of transactions.
Pros and Cons of the New 2025 Rules
Pros
- Clearer broker reporting via 1099-DA reduces guesswork for simple traders.
- Spec ID survives, so tax-savvy investors keep their best optimization tool.
- Per-wallet tracking better matches reality for people using one exchange.
- The safe harbor gave a fair, documented way to transition basis.
- Stepped-up basis on inheritance remains a powerful tax break.
Cons
- More record-keeping burden for multi-wallet and DeFi users.
- No basis on the 2025 1099-DA, so proving basis is entirely on you.
- Universal tracking is gone, breaking many old spreadsheets.
- Mismatch risk rises now that proceeds are reported to the IRS.
- Software costs climb with transaction volume.
What to Do Next
- Pull every transaction record from all exchanges and wallets for 2025.
- Confirm per-wallet tracking is applied and the January 1, 2025 snapshot is documented.
- Choose your method — FIFO or a Specific ID method like HIFO — and apply it consistently within each wallet.
- Calculate basis and gain for every disposal, separating short-term from long-term.
- Fill out Form 8949 and Schedule D, then reconcile proceeds against each 1099-DA.
- File by April 15, 2026, and call a crypto-savvy CPA if you have heavy DeFi, staking, or multi-wallet activity.
FAQs
How do you calculate cost basis on crypto?
Cost basis = purchase price + acquisition fees. For crypto received as income (staking, airdrops), basis is the fair market value when you gained control. You subtract basis from proceeds to find your gain or loss on each disposal.
Does the IRS require wallet-by-wallet cost basis in 2025?
Yes. Starting January 1, 2025, the IRS final regulations require tracking cost basis per wallet and per account. Universal pooled tracking is no longer allowed, so each wallet’s coins keep their own basis records.
What cost basis methods can I use for crypto in 2025?
FIFO and Specific Identification. HIFO and LIFO are types of Specific Identification. FIFO is the default if you do not specify lots; Spec ID requires detailed records of each unit’s date, basis, and value.
Is cost basis reported on Form 1099-DA for 2025?
No. For tax year 2025, brokers report only gross proceeds on Form 1099-DA. Cost basis reporting is not required yet, so you must track and prove your own basis when you file.
What is the cost basis of staking rewards?
The fair market value at receipt. Staking rewards are ordinary income equal to their USD value when you gain control. That same value becomes your cost basis for any later sale of those tokens.
How is cost basis figured for gifted crypto?
The donor’s original basis (for gains). Under IRC §1015 you inherit the giver’s basis plus any gift tax paid. For a loss, you use the lower of the donor’s basis or fair market value at the gift date.
What is the cost basis of inherited crypto?
Fair market value on the date of death. Inherited crypto gets a step-up in basis, erasing pre-death gains for income tax. This often dramatically reduces tax when you later sell.
Are crypto-to-crypto swaps taxable?
Yes. Swapping one coin for another is a taxable disposal of the first coin. You report the gain or loss, and the received coin takes a new basis equal to its fair market value at the swap.
What happens if I report a zero cost basis?
You overpay tax. With a zero basis, the IRS treats your entire proceeds as gain. On large sales this can cost thousands in needless tax, so always document and report your true basis.
Do I owe tax just for buying crypto?
No. Buying crypto with U.S. dollars is not a taxable event. It only sets the cost basis you use later. Tax applies when you sell, swap, spend, or earn crypto.
What is the deadline to file 2025 crypto taxes?
April 15, 2026. This is the federal deadline for tax year 2025. An extension to October 15, 2026 gives more time to file but not to pay any tax owed.
Can I still use HIFO to lower my crypto taxes in 2025?
Yes. HIFO is a form of Specific Identification and remains allowed if you keep detailed lot records. It sells your highest-cost coins first, which usually minimizes your current taxable gain.
Related reading
- Can You Change Your Cost Basis Method After You Sell? (w/Examples) + FAQs
- How Do You Report a Sale When Basis Wasn’t Reported? (w/Examples) + FAQs
- What Happens to Cost Basis When You Move Stock Between Brokers? (w/Examples) + FAQs
- What’s the Cost Basis for Collectibles? (w/Examples) + FAQs
- What’s Your Basis in Crypto After a Hard Fork? (w/Examples) + FAQs
- What’s Your Cost Basis on a Bond Bought at a Discount? (w/Examples) + FAQs