Skip to content
Calcipedia
Crypto Tax Calculator instructional illustration

Crypto Tax Calculator๐Ÿ‡บ๐Ÿ‡ธ

Estimate gain or loss on a single U.S.

Finance planning estimate

Topic review: Michael Brennan

Small Business Finance Writer. Assigned as the finance topic reviewer for tax, debt, repayment, payroll, and business-finance calculators.

Reviewed 17 May 2026 Updated 17 May 2026 View reviewer profile Contact editorial team
Crypto tax calculator Estimate US-style taxable gain or loss on a single crypto disposal using FIFO, LIFO, HIFO, or Specific ID lot selection. This is an educational federal capital-gains worksheet, not a completed return or filing advice.

Tax scope

Use this for US federal planning mechanics: property-style proceeds, cost basis, holding period, and user-entered short-term and long-term rates. It does not calculate state tax or prepare Form 8949.

Quick scenarios

Cost-basis method

FIFO sells the oldest lots first. LIFO sells the newest lots first. HIFO sells the highest-cost lots first as a specific-identification style comparison. Specific ID follows the lot priorities you assign below. Treat LIFO, HIFO, and Specific ID as planning views until your records and broker instructions support the method you file.

Acquisition lots

Enter the lots that could be matched to this disposal. Use the same tax-reporting currency for all amounts.

Lot 1

Lot 2

Lot 3

Scope and caution

This page estimates US federal capital-gains style tax on one disposal only. It does not model staking income, mining income, airdrops, state tax, wallet-by-wallet allocation rules, broker Form 1099-DA basis mismatches, wash-sale style rules, pooled-basis systems, or filing forms.

Estimated tax on this disposal

$3,268.95

FIFO matches 1 units sold on 2026-02-15 against the entered acquisition lots, then applies your short-term and long-term rate assumptions only to positive gains.

Net proceeds
$44,950.00
Cost basis used
$26,200.00
Realized gain or loss
$18,750.00
After-tax proceeds
$41,681.05
Short-term gain
$2,685.00
Long-term gain
$16,065.00
Effective tax rate on gain
17.43%
Units remaining after sale
0.7
Interpret this carefully
  • Part of this disposal is still short-term. Many tax systems apply a higher rate to short-term gains than to long-term gains.

Matched lots

These are the lots consumed by the selected method. Fees are allocated pro rata across units sold.

LotCharacterUnits soldBasis usedNet proceedsGain/loss
Lot 1 Acquired 2024-05-10
Long-term0.7$15,400.00$31,465.00$16,065.00
Lot 2 Acquired 2025-08-12
Short-term0.3$10,800.00$13,485.00$2,685.00

Method comparison

Same disposal, same lots, same rate assumptions. Only the lot-matching method changes.

MethodGain/lossShort-termLong-termEstimated tax
FIFO$18,750.00$2,685.00$16,065.00$3,268.95
LIFO$6,550.00$6,550.00$0.00$2,096.00
HIFO$6,550.00$6,550.00$0.00$2,096.00
Specific ID$14,550.00$5,370.00$9,180.00$3,095.40

How to use this result

Use it to test how acquisition timing, lot selection, and your own marginal tax assumptions change the disposal outcome. Do not treat it as a completed return. Real filing can require wallet-specific records, broker-specific cost-basis settings, Form 8949 reconciliation, and different treatment for income events such as staking or mining.

← All Currency & Crypto calculators

Crypto Tax Planning

Crypto tax calculator guide: cost basis, holding period, and gain estimation across FIFO

A crypto tax calculator helps you estimate gain or loss when you sell, trade, or otherwise dispose of cryptocurrency held as an investment. This page also explains the main assumptions behind the crypto tax calculator result, highlights the supporting figures shown by the calculator, and helps the reader use the estimate without overstating what a quick online tool can prove.

What this crypto tax calculator is designed to do

This page estimates U.S. federal capital-gains style tax on one disposal event. You enter the disposal date, the number of units sold, the price per unit, the disposal fee, and the acquisition lots that could be matched to that sale. The calculator then tests FIFO, LIFO, HIFO, and Specific ID matching so you can see how lot selection changes the gain.

That scope is narrower than many competitor tools, but intentionally so. The strongest pages in this topic often promise to calculate everything across every wallet, exchange, chain, and reward stream. That may be useful in a full tax platform, but it also creates a trust problem when a simple public calculator looks more precise than the records behind it. This page stays smaller and more transparent.

It is therefore better aligned with searches such as crypto tax calculator, crypto capital gains calculator, bitcoin tax calculator, crypto cost basis calculator, and cryptocurrency tax calculator where users want to understand the mechanics of a disposal before they worry about importing their entire transaction history.

Why crypto tax starts with property-style gain or loss tracking

In the United States, the IRS treats digital assets as property for federal tax purposes. That means the familiar gain-or-loss structure matters: proceeds from the disposal, reduced by allowable transaction costs, are compared with the cost basis of the units you disposed of.

The U.S. framing is important because digital-asset broker reporting, Form 1099-DA reconciliation, and wallet or account-level basis records can affect whether the lot matching in your tax software lines up with the records available for filing. That is why the calculator makes basis matching the center of the page instead of burying it behind a single headline output.

Gross proceeds = Units sold x sale price per unit

The calculator starts by valuing the disposal before transaction costs.

Net proceeds = Gross proceeds - disposal fee

Fees are allocated against the sold units so gain is measured after transaction costs.

Realized gain or loss = Net proceeds - matched cost basis

The matched basis depends on which lots are consumed under FIFO, LIFO, HIFO, or Specific ID.

Why FIFO, LIFO, HIFO, and Specific ID can produce very different gain estimates

A crypto investor often accumulates the same asset in separate lots at very different prices and times. Selling one unit of BTC does not answer the tax question until you know which unit, in cost-basis terms, was sold. FIFO usually consumes the oldest lots first. LIFO consumes the newest lots first. HIFO consumes the highest-cost lots first. Specific ID follows the exact priorities you assign, assuming the records and identification requirements are strong enough.

Competitor pages repeatedly emphasize this gap because it is where many unexpected crypto tax bills come from. Two disposals with the same sale value can create very different gains when one method reaches low-cost early lots and another reaches higher-cost recent lots. This page surfaces that difference directly with a side-by-side method comparison table that includes HIFO as a tax-loss harvesting and tax-minimization planning view, not just FIFO and LIFO.

How holding period changes the estimate

The calculator does not assume one flat rate for every matched lot. Instead, it checks the holding period for the portion sold from each lot. Any lot slice held for more than one year is treated as long-term. Lot slices held one year or less stay short-term. The result is then split into short-term gain and long-term gain before tax rates are applied.

This matters because many tax systems treat short-term and long-term investment gains differently, even if the exact brackets and thresholds differ by country. By asking you to enter the tax rates yourself, the page avoids pretending to know the filing rules for every jurisdiction while still showing how holding period affects the taxable result.

Worked example: the same disposal under four lot-matching methods

Suppose you sell 1 BTC at 45,000 with a 50 fee. Your acquisition history includes 0.7 BTC bought in May 2024 at 22,000, 0.6 BTC bought in August 2025 at 36,000, and 0.4 BTC bought in January 2026 at 42,000. Under FIFO, the sale consumes the oldest 0.7 BTC first and then 0.3 BTC from the 2025 lot, producing a much larger long-term component. Under LIFO, the disposal hits the newest lots first. Under HIFO, the disposal targets the highest-cost lots first even when those lots are not the newest. Under Specific ID, the answer depends on the order in which you designate the lots.

That is exactly the kind of comparison many searchers want but many simplified calculators leave out. A good crypto gain estimate is not just price minus price. It is lot matching plus holding period plus fee treatment plus the tax-rate assumptions you plan against.

Why HIFO and tax-loss harvesting need record discipline

HIFO is popular in crypto tax software because selling the highest-cost units first can reduce the realized gain or increase a realized loss. That makes it useful for tax-loss harvesting research, especially when an investor has bought the same asset through multiple market cycles.

The planning value does not make the filing answer automatic. In the U.S., HIFO is usually treated as a specific-identification style method, so the user still needs adequate records, consistent wallet or account-level treatment where required, and instructions that match what the broker or tax software can substantiate. This calculator therefore shows HIFO beside FIFO, LIFO, and Specific ID while warning users not to treat the comparison as filing permission.

What counts as a taxable crypto disposal

Selling crypto for cash is the easiest example, but it is not the only possible disposal. In many systems, exchanging one crypto asset for another, spending crypto on goods or services, or otherwise transferring it in a way that realizes value can also create a taxable event. By contrast, simply moving the same asset between wallets you control is often not treated as a disposal by itself.

This page still stays focused on a single disposal event. It does not try to classify every transaction type in your history. That keeps the estimate more trustworthy, because transaction classification errors are one of the fastest ways for a public crypto tax tool to become misleading.

Why fees and record quality matter so much in crypto tax planning

Crypto records are often fragmented across exchanges, wallets, and manual transfers. If the acquisition dates, unit counts, or tax currency values are missing or inconsistent, even a mathematically correct calculator can give the wrong tax answer. This is especially true for HIFO and Specific ID, which usually depend on contemporaneous records that show exactly which units were disposed of.

Fees matter too. Disposal fees reduce net proceeds, while acquisition fees can increase basis if they were part of the original cost. The calculator includes disposal fees directly but assumes the unit cost you enter already reflects any acquisition-side basis adjustments you want to include.

Why Form 1099-DA and broker basis may not settle the answer by themselves

Broker reporting can help, but it does not remove the need to reconcile your own digital-asset records. A broker form may reflect only the activity or lots visible to that broker, while your actual history may include transfers, self-custody wallets, older acquisitions, or prior software calculations.

That is why a small calculator like this is still useful even when you use a paid tax platform. You can test whether the reported proceeds, basis, holding period, and selected cost-basis method make directional sense before relying on a generated Form 8949 or a tax-software import.

What this page deliberately leaves out

This calculator does not include staking income, mining income, lending income, airdrops, forks, DeFi LP position unwinds, NFT-specific treatment, pooled-basis systems, wash-sale style rules, state tax, or a completed Form 8949 workflow. It also does not know whether your broker settings, wallet records, or exchange exports support the lot method you want to use.

Those omissions are intentional. A crypto tax page should be conservative. It is safer to give users a transparent gain-estimation worksheet with explicit limits than to imply that one public calculator can replace a filing engine across every country and every digital-asset transaction type.

How to use the estimate responsibly

Use the result as a planning tool. It can help you compare disposal timing, understand the tax cost of selling older versus newer lots, and test how your own short-term and long-term rate assumptions change the outcome. It is also useful when you want to check whether a software platform's result is directionally plausible.

But when the number matters for filing, use the actual rules and forms that apply where you report tax. A conservative workflow is: reconcile transaction records first, confirm the allowed basis method second, then use a calculator or software tool only after the records and method are stable.

Frequently asked questions

How does a crypto tax calculator work?

At a basic level, it compares what you received on a crypto disposal with the cost basis of the units you sold. A strong calculator also has to decide which lots were sold, whether those lots are short-term or long-term, and how fees change the net proceeds.

What is the difference between FIFO, LIFO, HIFO, and Specific ID for crypto tax?

FIFO sells the oldest lots first. LIFO sells the newest lots first. HIFO sells the highest-cost lots first as a specific-identification style planning method. Specific ID follows the exact lots you identify. The same disposal can create very different gains under each method because the basis and holding period of the matched lots are different.

What is HIFO in a crypto tax calculator?

HIFO means highest-in, first-out. It matches the sale to the highest-cost lots first, which can reduce a gain or increase a loss in some scenarios. Treat it as a planning comparison unless your records, broker settings, and filing rules support that specific identification method.

Does exchanging one cryptocurrency for another count as a taxable event?

In many systems it can. This page is built around a generic disposal concept, so the same gain logic can apply to a sale, trade, or other disposal when the law treats it as a taxable event. The exact reporting rule still depends on your jurisdiction.

Do wallet transfers create crypto tax?

Moving the same asset between wallets you control is often not treated as a taxable disposal by itself. The real tax risk is record quality: if transfers break your cost-basis trail, later gain calculations can become unreliable.

Why does holding period matter for crypto tax?

Because many tax systems treat short-term and long-term investment gains differently. A disposal matched to older lots may receive more favorable long-term treatment than the same disposal matched to recent purchases.

Can this crypto tax calculator handle staking or mining income?

No. This page is limited to capital-gains style disposal planning. Staking rewards, mining income, airdrops, compensation, and other income events need separate treatment before any later disposal gain is calculated.

Why does the calculator ask me to enter my own tax rates?

Because this page focuses on U.S. federal capital-gains mechanics without trying to reproduce every filing-status bracket, state-tax rule, or individual adjustment. It lets you test the gain against your own short-term and long-term planning rates.

Does LIFO always work for actual crypto tax filing?

No. Jurisdictions differ, and some tax authorities default to oldest units first unless you adequately identify specific units. This page includes LIFO as a planning comparison, not as a guarantee that your tax authority accepts it.

Do crypto fees reduce taxable gain?

Disposal-side fees generally reduce net proceeds, which lowers gain or increases loss. Acquisition-side fees can also affect basis, but this calculator assumes the unit cost you enter already includes any basis adjustments you want reflected.

Can Specific ID lower crypto taxes?

It can, if the rules where you file allow it and if you can substantiate exactly which units were sold. Specific ID often matters because it can target higher-cost lots or more favorable holding periods instead of automatically using the oldest units.

Does Form 1099-DA mean I no longer need a crypto cost basis calculator?

No. Broker reporting can still need reconciliation against your own exchange, wallet, and transfer history. A crypto cost basis calculator helps you sanity-check proceeds, basis, holding period, and selected lot method before relying on a tax-software import or filing output.

Also in Currency & Crypto

๐Ÿ‡บ๐Ÿ‡ธ Browse all United States calculators

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.