Skip to main content

Crypto Tax Calculator

Cost, proceeds & rate

$
$
%

Your result will appear here

Fill in the fields and this updates as you type.

Calculation transparency

Know what this estimate is based on

Jurisdiction
United States — federal income and payroll tax, unless the calculator names a state or local levy
Rules and time period
Tax years supported by the selected calculator. Brackets, standard deductions and wage bases are re-set every year, and state and local rules are not modeled unless the page says so.
Scope and limitations
Educational estimate only, not a tax return, a filing determination or a withholding instruction. Confirm current law and your own facts with the IRS, your state authority or a qualified tax professional before filing or changing a W-4.
Source links checked
Sep 19, 2026

Built and regression-tested by Smart Tools Lab. It has not been individually reviewed by a licensed financial, tax, or legal professional.

How to use

  1. 01

    Enter your cost basis — what you paid for the crypto you disposed of, in dollars at the time you acquired it, including any purchase fees. This is the single figure most people cannot reconstruct later, which is why records matter more here than in almost any other asset class.

  2. 02

    Enter the sale proceeds — the dollar value you received. For a coin-to-coin swap, that is the fair market value of what you received at the moment of the trade, even though no dollars moved.

  3. 03

    Set the capital gains tax rate. If you held for one year or less, use your ordinary income rate. If you held longer, use the long-term rate that applies to you — 0%, 15% or 20%.

  4. 04

    Open Advanced and add the trading and network fees you have not already included in cost basis — typically the commission and gas paid on the disposal. They are added to your basis, so they reduce the gain and therefore the tax. Do not enter buy-side fees here if you already folded them into cost basis above.

  5. 05

    Read the capital gain, the tax and your net proceeds. If the result is a loss, the calculator says so — losses are useful, not wasted.

  6. 06

    Repeat for each disposal. The IRS taxes transactions, not portfolios, so a year with fifty trades is fifty separate calculations that net against each other on Schedule D.

Formula

Crypto is taxed as property, so the arithmetic is ordinary capital gains arithmetic: Cost basis = purchase price + acquisition fees Gain = proceeds − cost basis − disposal fees Tax = max(0, gain) × rate Net proceeds = proceeds − tax The rate depends entirely on the holding period. One year or less is short-term and taxed at your ordinary income rate — the same rate as your salary. More than one year is long-term, taxed at 0%, 15% or 20% depending on your total taxable income. What makes crypto different is not the formula but how often it fires. Every disposal is a taxable event: selling for dollars, swapping one coin for another, and spending crypto on goods. A coin-to-coin trade produces a taxable gain even though you never saw cash, which is how people end up owing tax in a year they never withdrew anything.

Example

You bought 2 ETH for $3,000 and sold fourteen months later for $8,000. Exchange and network fees came to $80 across the buy and the sell — the calculator takes one combined figure in Advanced and adds it to your basis. Your gain is $8,000 − $3,000 − $80 = $4,920. Because you held longer than a year it is long-term; at a 15% rate the tax is $738 and you keep $7,262 of the $8,000. Sell the same position at eleven months instead and nothing about the trade changes except the clock. The gain is still $4,920, but it is short-term and taxed at your ordinary rate — 24% for many earners, giving $1,181 instead of $738. Three months of patience was worth $443. Now swap the 2 ETH directly for another token worth $8,000 rather than selling. No dollars reach your account, but the tax result is identical: a $4,920 gain, reportable this year, payable in cash you did not receive.

Definitions

Disposal (taxable event)
Any transaction that ends your ownership: selling for dollars, trading for another crypto asset, or spending it. Buying and holding is not a disposal, and neither is moving coins between your own wallets.
Cost basis
What you paid to acquire the asset, in dollars at the time, plus acquisition fees. For coins received as income, the basis is the fair market value when you received them.
Proceeds
The dollar value received on disposal. For a coin-to-coin swap it is the fair market value of the asset received at the moment of the trade.
Short-term gain
A gain on an asset held one year or less, taxed at your ordinary income rate.
Long-term gain
A gain on an asset held more than one year, taxed at 0%, 15% or 20% depending on your total taxable income.
Holding period
The time between acquisition and disposal. It starts the day after you acquire and ends the day you dispose — one year and one day is long-term, one year exactly is not.
FIFO
First in, first out — the default assumption that the coins you sell are the ones you bought earliest. It usually produces the largest gain in a rising market.
Specific identification
Choosing which units you are disposing of, which lets you sell the highest-basis lots first and reduce the gain. It requires records identifying the exact units at the time of the transaction.
Form 8949
The form listing every disposal — description, dates acquired and sold, proceeds, basis and gain. The totals carry to Schedule D.
Schedule D
The capital gains summary that nets short-term against short-term and long-term against long-term, then carries the result to Form 1040.
Form 1099-DA
The broker reporting form for digital asset transactions, phasing in from the 2025 tax year. It reports proceeds to the IRS, and basis reporting follows — meaning unreported disposals become far more visible.
Staking and mining rewards
Ordinary income at fair market value when you gain control of them, not capital gains. That value then becomes your cost basis for the later disposal.
Wash sale rule
The rule disallowing a loss when you repurchase substantially identical stock or securities within 30 days. It is written for securities and has generally not been applied to crypto — a gap that has repeatedly been proposed for closure.
Capital loss carryforward
Net capital losses offset capital gains without limit, then up to $3,000 of ordinary income a year, with the remainder carried forward indefinitely.

Good to know

Crypto is property, and that one decision drives everything

In Notice 2014-21 the IRS stated that virtual currency is treated as property for federal tax purposes, and that position has held ever since. It is the most consequential sentence in crypto taxation, because everything else follows from it. Property treatment means general property transaction rules apply. Each disposal is a separate taxable event with its own cost basis, its own proceeds, and its own gain or loss. The holding period on each individual acquisition determines whether the resulting gain is short-term or long-term. Gains and losses net against each other on Schedule D, and losses have carryforward value. It also means crypto is *not* treated as currency. There is no de minimis exemption for small transactions — no threshold below which spending it is ignored. Buying a coffee with bitcoin is technically a disposal of property with a computable gain, exactly as if you had sold a share to fund the purchase. Proposals to create a small-transaction exemption have been introduced repeatedly and have not become law. The practical burden this creates is enormous and asymmetric. Someone who buys and holds has almost nothing to do. Someone who trades actively, moves between tokens, uses decentralised exchanges, provides liquidity or plays with yield protocols can generate thousands of taxable events in a year, each requiring a basis, a date, a proceeds figure and a classification. The person is the same, the asset is the same, and the compliance burden differs by three orders of magnitude — purely because of how often they transacted. Understanding that disposal frequency, not profit, drives the workload is the beginning of managing crypto tax sensibly. The asymmetry has a practical implication for how you hold. A position acquired once and held in self-custody produces one taxable event when it is eventually sold, with a basis you can document from a single purchase. The same economic exposure obtained by moving between tokens, farming yield and rebalancing produces hundreds of events, each needing a dollar value at a moment in time. If your intention is long-term exposure rather than trading, structuring your activity to minimise disposals is not tax avoidance — it is choosing the version of the same position that you can actually report.

Every disposal is taxable, including the ones that feel like nothing happened

The events that create a tax liability are wider than most holders assume, and the expensive misunderstandings cluster in one place: transactions where no dollars appeared. Selling crypto for dollars is obviously a disposal. So is trading one crypto asset for another — and this is where people are caught. Swapping ETH for SOL is a disposal of the ETH at its fair market value in dollars at that moment, producing a taxable gain or loss, even though your bank account never moved. There is no like-kind exchange relief; that provision was limited to real property, and even before then it was not available for crypto. Spending crypto is a disposal. Paying for goods or services with an appreciated asset realizes the gain, just as selling it for cash and then paying would. Using crypto as collateral generally is not a disposal — but a liquidation of that collateral is, and it happens at whatever price the protocol executed at, often at the worst moment of a downturn. Receiving crypto as payment for work is ordinary income at fair market value when received, and that value becomes your basis. What is *not* a disposal: buying and holding, moving coins between wallets you control, and transferring between your own exchange accounts. These generate no tax, though they complicate record-keeping badly, because a transfer between wallets can look identical to a disposal in a blockchain export. The consequence of all this is a cash-flow problem specific to crypto. A trader who ended the year with a portfolio worth less than they started can still owe substantial tax on gains realized in coin-to-coin swaps along the way. The tax follows the realized gains, not the closing balance — and it is payable in dollars that were never withdrawn. It is worth being clear about what happens when a transaction cannot be valued. A swap between two illiquid tokens still requires a dollar figure for the asset received, and where no reliable market price exists at that moment, you are expected to make a reasonable and consistent determination and document how you reached it. Using a defensible method applied the same way every time is far stronger than reconstructing convenient figures at filing. Consistency is the standard being applied, and an approach you can explain is worth more than one that produces a better number.

Cost basis: the number you will wish you had recorded

Cost basis is what you paid to acquire the asset, in dollars at the time, plus acquisition fees. Gain is proceeds minus basis. That is the whole calculation, and the entire difficulty of crypto tax is that basis is hard to establish years after the fact. The practical problem is structural. Exchanges close, get acquired, or restrict access to old data. Wallets are lost and recreated. Coins move between platforms and self-custody. Chains fork. Airdrops arrive unbidden. A blockchain explorer can tell you a transaction happened but not what the asset was worth in dollars at that moment or which acquisition it corresponds to. Where basis cannot be substantiated, the exposure is severe: the entire proceeds can end up treated as gain. Selling for $50,000 with an unprovable $45,000 basis is a $5,000 economic result and a potential $50,000 taxable one. Which units you are deemed to sell also matters. FIFO — first in, first out — is the default and, in a market that has risen, generally produces the largest gain because it matches your oldest and cheapest lots against your sale. Specific identification lets you nominate which units you are disposing of, so you can sell the highest-basis lots and reduce the gain, but the identification must be made at the time of the transaction with adequate records, not reconstructed at filing time to produce a convenient answer. Rules on identifying units held with a custodian have been tightening, and per-wallet tracking has been the direction of travel. The practical response is the same regardless: export your complete transaction history from every platform at the end of every year, keep it somewhere permanent, and record basis as you acquire rather than trying to rebuild it later. There is also a hard-won lesson about relying on exchange reporting. Platforms differ in what they track, and a gain summary produced by an exchange typically knows only about assets that arrived and left through that exchange. Coins transferred in from a wallet frequently show a zero or missing basis, which inflates the reported gain dramatically. Treating an exchange's own tax report as authoritative without checking transfers is one of the most common ways people overpay — and unlike underpaying, nobody writes to tell you.

The one-year line, and what it is worth

Holding period determines the rate, and the difference is large enough to be worth planning around. Hold for one year or less and the gain is short-term, taxed at your ordinary income rate — the same rate as your salary, which for many earners is 22%, 24% or higher. Hold for more than one year and the gain is long-term, taxed at 0%, 15% or 20% depending on your total taxable income. The period runs from the day after acquisition to the day of disposal. One year exactly is short-term. One year and one day is long-term. On a $50,000 gain, moving from a 24% short-term rate to a 15% long-term rate is $4,500 for waiting a single additional day — which is why the acquisition date of each lot is worth knowing before you sell rather than after. Higher earners should add the Net Investment Income Tax: an additional 3.8% on investment income once modified AGI passes $200,000 for single filers or $250,000 for joint filers. It applies to crypto gains as it does to other investment income, so a 20% long-term rate becomes 23.8% in practice. Each acquisition has its own clock. Buying the same token monthly creates twelve separate lots with twelve separate holding periods, and a sale of part of the position draws from them according to your identification method. This is precisely where specific identification earns its keep: it allows you to dispose of long-term lots and leave short-term ones alone, converting an ordinary-rate gain into a preferential-rate one without changing the size of the sale. The one-year line interacts with something else worth planning around: your income in the year of sale. Because the long-term bands are set by total taxable income, the same gain can be taxed at 0%, 15% or 20% depending on what else happened that year. A gap between jobs, a sabbatical or an early retirement year can create a window where long-term gains are taxed at nothing. Realising gains deliberately in such a year — and repurchasing immediately, which is permitted because the wash sale rule disallows losses rather than gains — resets your basis upward at no cost.

Losses, and the rule that has not applied the way people expect

Losses are the most underused asset in a bad crypto year. A realized capital loss offsets capital gains of the same character first, then the other character, then up to $3,000 of ordinary income annually, with any remainder carried forward indefinitely. That carryforward is genuinely valuable and genuinely permanent. Harvesting $40,000 of losses in a downturn shelters $40,000 of future gains, and it is available in every subsequent year until used. Losses only exist if you realize them and report them, which is the argument for filing carefully in the years you would rather forget. The wash sale rule is where crypto has differed from securities. Section 1091 disallows a loss when you buy substantially identical *stock or securities* within thirty days either side of the sale. Crypto has generally not been treated as falling within that language, which has meant a holder could sell at a loss, repurchase immediately, keep their position and still claim the loss — something a shareholder cannot do. This gap has been proposed for closure repeatedly in draft legislation and revenue proposals. It has not consistently been enacted, but treating it as permanent is unwise: it is one of the most frequently identified gaps in the code, and a strategy that depends on it should be reviewed against the current year's law before it is executed rather than after. Separately, losses from theft, exchange failure or lost keys are difficult. Personal casualty and theft loss deductions have been sharply limited, and worthlessness or abandonment claims require the position to be genuinely and demonstrably worthless rather than merely inaccessible or down heavily. Assuming a collapsed platform automatically produces a deductible loss in the year of collapse is optimistic. Loss harvesting also needs a word about record quality. A loss is only as good as the basis behind it, and claiming a large loss on a position whose acquisition you cannot document invites exactly the scrutiny you would rather avoid. The strongest position is a complete transaction history exported at the time, showing acquisition dates, dollar values and fees. Harvesting works best as a deliberate year-end exercise run against real records, not as a reconstruction of what might have happened.

Staking, mining, airdrops and yield: income first, gains later

Rewards are not capital gains. They are ordinary income at fair market value at the moment you gain dominion and control over them, and that treatment produces a sequence people frequently miss. Staking rewards are income when you can dispose of them. Revenue Ruling 2023-14 confirmed that a cash-method taxpayer includes the value of staking rewards in gross income when they gain control. Mining rewards are income when received, and mining conducted as a business also attracts self-employment tax while allowing deduction of costs like equipment and electricity. Airdrops are generally income at fair market value when you gain control. Yield from lending or liquidity provision is generally income as it accrues to you. In every case, the amount included as income becomes your cost basis in those units. When you later sell them, only the movement since receipt is a capital gain or loss. That sequence creates a specific and painful risk. Rewards received when a token was at its peak are taxed as income at that peak value, in that year. If the token then collapses, you hold an asset worth a fraction of the income you were taxed on, and the resulting capital loss is capped at $3,000 a year against ordinary income. People have faced income tax bills exceeding the current value of the entire position that generated them. The defensive practice is straightforward and unpopular: convert enough of each reward to dollars when received to cover the tax on it. It feels like selling the thing you were trying to accumulate, and it is the difference between a bad year and an insolvent one. Business treatment is the other branch worth flagging. Mining conducted with continuity and regularity may be a trade or business, which brings self-employment tax on the income but also allows deduction of hardware, electricity and hosting, and opens up depreciation on equipment. Mining as a hobby has income without those deductions. The distinction turns on facts rather than on what you call it, and for anyone operating at scale it is worth establishing deliberately, because the two outcomes differ by a great deal on identical revenue.

Reporting, and how visible this now is

Disposals are reported on Form 8949, listing each one with a description, the dates acquired and sold, proceeds, basis and the resulting gain or loss. Totals carry to Schedule D, which nets short-term against short-term and long-term against long-term before the result reaches Form 1040. Rewards and mining income are reported as ordinary income, with mining conducted as a business going on Schedule C. Form 1040 itself asks a direct question about digital asset transactions, positioned prominently near the top, and every filer must answer it. Answering incorrectly is a statement on a signed return, which changes the character of a later dispute considerably. Visibility has increased sharply. Broker reporting on Form 1099-DA began phasing in from the 2025 tax year, reporting gross proceeds to the IRS with basis reporting following. Centralised exchanges have been subject to summonses producing user data, and blockchain analysis makes flows between addresses traceable in ways that were not practical a decade ago. The realistic planning assumption is that disposals on any centralised platform are visible, and that the mismatch between a 1099-DA showing proceeds and a return showing nothing is exactly the kind of discrepancy automated matching is built to find. There is a subtlety worth anticipating: early 1099-DA reporting may show proceeds without accurate basis, particularly for assets transferred in from elsewhere. A form showing $80,000 of proceeds with no basis does not mean $80,000 of gain — but it does mean the burden is on you to substantiate the basis you claim. That is another reason the annual export habit matters. One more reporting detail matters for people who moved assets between platforms. Where a 1099-DA reports proceeds without basis, the return still reports the correct gain — you supply the basis and keep the evidence. What you should not do is accept the form's implied figure because it is easier, or omit the transaction because the form looked wrong. Both create problems that are much harder to unwind than a correctly filed return with a basis you can support.

What this calculator does not model, and how to use it well

This tool models one disposal: a basis, proceeds, fees and a rate you supply. That is the right unit of analysis for understanding a single trade, and the wrong unit for filing a year. It does not net gains against losses across your transactions, and netting is where most of the real tax outcome is determined. It does not look up the long-term breakpoints against your income to tell you whether your rate is 0%, 15% or 20% — you supply that. It does not add the 3.8% Net Investment Income Tax. It does not handle staking, mining or airdrop income, which are taxed as ordinary income on a different schedule entirely. It does not track lots or apply FIFO or specific identification. It does not model state tax, which several states charge on the same gain. What it does well is make one trade legible: what the gain actually is after fees, what the tax on it would be, what you keep, and how much the holding period changed the answer. Running the same trade at a short-term and a long-term rate is the clearest way to see what the one-year line is worth on your position, and it takes a few seconds. For a year with more than a handful of transactions, the practical path is dedicated crypto tax software that ingests exchange and wallet data and produces Form 8949, reviewed by someone who understands both the software's assumptions and your actual activity. Automated tools make basis assumptions that can be materially wrong for transferred assets, and the output deserves a look rather than a signature. Use this calculator to understand the shape of a decision before you make it. Use records and proper software to report what you did. The overall orientation is simple even though the detail is not. Keep a complete export from every platform and wallet, every year, stored somewhere that outlives the platform. Record what you paid, in dollars, when you paid it. Understand that swaps and spending are sales. Set aside cash when you realize gains, particularly on rewards taxed as income. Do those five things and crypto tax is a bookkeeping exercise. Skip them and it becomes an archaeology project with a deadline, which is where most of the genuine pain in this area comes from.

Frequently asked questions

Is crypto taxed as currency or as property?

As property. The IRS said so in Notice 2014-21 and has not moved since. That single choice drives everything else: general property rules apply, every disposal is a separate taxable event with its own gain or loss, and the holding period decides the rate — none of which would be true if it were treated as foreign currency.

Do I owe tax if I only traded one coin for another and never cashed out?

Yes. A coin-to-coin swap is a disposal of the first asset at its fair market value, and the gain is taxable in that year. This is the single most common and most expensive misunderstanding in crypto tax, because the bill arrives in dollars you never received. An active trading year can generate a real liability with no cash to pay it.

Is buying crypto a taxable event?

No. Buying and holding creates no tax, and neither does transferring between wallets you control. What buying does is fix your cost basis — the number you will need years later, when the exchange you used may no longer exist. Record it at the time.

What if I spend crypto on something?

Spending is a disposal. Buying a $2,000 laptop with crypto you acquired for $500 produces a $1,500 taxable gain, exactly as if you had sold for cash and then bought the laptop. There is no de minimis exemption for small purchases in current federal law.

How is the holding period measured?

From the day after you acquire to the day you dispose. More than one year is long-term. Selling at exactly one year is short-term — the distinction is one day and it can move the rate from 24% to 15%, which on a large position is a substantial amount of money for waiting one more day.

Does the wash sale rule apply to crypto?

The rule is written for stock and securities, and crypto has generally not been treated as covered — meaning a loss taken and immediately repurchased has typically been allowed where it would be disallowed for a share. This gap has been proposed for closure more than once, so it should not be relied upon as permanent. Confirm the current position before planning around it.