How to Calculate Crypto Capital Gains When Converting to Fiat or Stablecoins
crypto taxescapital gainscost basisFIFOstablecoinstax calculator

How to Calculate Crypto Capital Gains When Converting to Fiat or Stablecoins

CConvertocurrency Editorial Team
2026-11-01
7 min read

Learn how to estimate crypto capital gains on fiat sales and stablecoin swaps using cost basis, proceeds, fees, holding periods, and FIFO.

Converting crypto into cash is not always the end of the tax calculation. This guide shows how to estimate capital gains when selling cryptocurrency for fiat, swapping into stablecoins, or exchanging one digital asset for another, using cost basis, proceeds, fees, holding period, and FIFO records. Use the workflow as an organized estimate, then verify the rules that apply in your country, tax year, and account type.

Overview

A crypto-to-fiat conversion can involve two separate questions: how much cash you receive and whether the transaction creates a taxable gain or loss. A live crypto converter can estimate the market value of an asset, but a crypto tax calculator must also connect the sale to the acquisition history of the units being sold.

In general terms, a gain or loss estimate compares the asset's disposal proceeds with its adjusted cost basis. A simplified calculation is:

Estimated gain or loss = net proceeds − adjusted cost basis

Net proceeds may be the fiat value received after transaction fees, commissions, or other allowable selling costs. Cost basis usually begins with what you paid for the asset and may include acquisition costs, but the exact treatment of fees, transfers, rewards, staking income, gifts, and prior transactions depends on local rules.

Selling bitcoin for USD, converting ether to GBP, or cashing out a stablecoin may be treated differently from simply moving assets between wallets. However, a crypto-to-crypto swap can also be a disposal for tax purposes in some jurisdictions. That means exchanging BTC for USDT, USDC for EUR-linked value, or one token for another should not automatically be assumed to be tax-free. Read the guidance for your jurisdiction before filing, particularly where stablecoin tax conversion rules are unclear.

For a broader view of the cash received, compare the quoted rate with fees, spread, and slippage using the crypto-to-fiat converter guide. Taxable gain and conversion cost are related, but they are not the same calculation.

How to estimate

Use the following repeatable process for each disposal, rather than trying to estimate an entire wallet from one headline price.

  1. Identify the disposal. Record the date, time if relevant, asset sold or exchanged, quantity, destination currency, and transaction ID. A sale for fiat, a crypto-to-crypto swap, or a stablecoin conversion may each require separate treatment.
  2. Calculate the transaction value. Record the market value in the reporting currency at the time of disposal. If you received another cryptocurrency instead of fiat, use a consistent fair-market-value method and keep the rate source and timestamp.
  3. Subtract relevant selling costs. Enter trading fees, withdrawal charges, or other costs only according to the treatment permitted where you file. Do not assume that every platform fee is deductible.
  4. Match the units sold to their acquisition lots. Apply the required identification method. If FIFO applies, match the disposal to the oldest available units first. If specific identification or another pooling method is allowed, follow that method consistently and preserve evidence.
  5. Calculate basis for the matched units. Add the original acquisition cost and any basis adjustments recognized under local rules. Include the acquisition fee only if the applicable rules allow it to form part of basis.
  6. Compare proceeds and basis. The difference is the estimated gain or loss for that lot. Keep short-term and long-term holding periods separate when your jurisdiction distinguishes between them.
  7. Aggregate the results. Add gains and losses across transactions, then apply the relevant annual rules, exemptions, thresholds, or loss limitations. These rules change by jurisdiction and tax year, so treat the result as a preparation figure rather than a final liability.

A useful spreadsheet or crypto tax calculator should have one row per disposal and columns for asset, quantity, acquisition date, disposal date, acquisition cost, proceeds, fees, cost-basis method, holding period, and gain or loss. Include a link or note for the exchange statement and price source used.

Inputs and assumptions

Accurate results depend more on clean inputs than on complicated formulas. Gather the following before estimating capital gains on crypto conversion:

  • Complete transaction history: Include exchange trades, wallet transfers, deposits, withdrawals, swaps, and conversions. A transfer between wallets you control may not be a disposal, but it helps reconcile the inventory.
  • Acquisition details: Record quantity, purchase price, date, time zone, trading pair, and fees for every lot. If you received crypto through work, mining, staking, rewards, or a gift, its initial tax basis may require a different analysis.
  • Disposal value: Use the amount actually received or the fair market value of the asset received. Keep the currency used for reporting consistent; for example, do not mix USD values with GBP basis figures without recording the conversion method.
  • Fee treatment: Separate trading fees, network fees, withdrawal charges, and platform spreads. A spread may reduce the economic value received even when it is not displayed as a separate fee.
  • Basis method: Select FIFO, specific identification, pooled basis, or another permitted method based on local requirements. Do not switch methods from one transaction to another simply to produce a preferred result.
  • Holding period: Calculate from the acquisition date to the disposal date using the convention required by the relevant tax system.

When records are missing, label the assumption instead of presenting a false precision. For example, note that the estimate uses the exchange's historical closing rate, an average daily rate, or the nearest available transaction price. For filing support, the historical crypto-to-fiat rates guide can help you think through rate-source consistency.

Worked examples

The following examples are illustrative only. They use simple numbers to show the method and do not represent a tax rate, exemption, or rule for any particular country.

Fiat sale with FIFO

Assume you bought 1.00 BTC for $20,000 and later bought another 0.50 BTC for $15,000. Your total inventory is 1.50 BTC. You then sell 0.75 BTC for $30,000 after a $300 trading fee. Under FIFO, the first 0.75 BTC is matched to the oldest lot, whose unit basis is $20,000 per BTC.

Net proceeds are $29,700. The FIFO basis is $15,000, calculated as 0.75 × $20,000. The simplified estimated gain is therefore $14,700 before considering any jurisdiction-specific adjustments. The remaining inventory is 0.25 BTC from the first lot and 0.50 BTC from the second lot.

Crypto-to-stablecoin swap

Assume you acquired 2 ETH for a total basis of $2,400 and later exchanged 1 ETH for 3,000 USDT. At the time of the swap, the value received is assumed to be $3,000 for this illustration. If the swap is a reportable disposal where you live, the estimated gain is $3,000 minus the $1,200 basis allocated to the 1 ETH sold, before applicable fees and adjustments.

The USDT received should then be recorded as a new asset lot with its own acquisition date and value. A later conversion of that USDT into USD may be another transaction, even if its value has changed only slightly. This is why stablecoin transactions should remain in the ledger rather than being omitted as cash-equivalent movements.

For a path comparison involving BTC, USDT, and USD, see BTC to USD versus BTC to USDT then USD. The cheaper conversion route is not necessarily the route with the simplest tax record.

When to recalculate

Recalculate whenever you complete a disposal, receive a corrected exchange statement, discover an old wallet, or change the reporting currency. Do not wait until filing season if you trade frequently: maintaining the lot ledger after each transaction makes FIFO matching and missing-basis checks far easier.

Review the estimate again when exchange rates, fees, or conversion paths change. A different off-ramp can alter net proceeds through its spread, withdrawal fee, settlement charge, or slippage, while the tax basis may remain tied to the original acquisition. The crypto conversion fees calculator guide can help separate these economic costs from the gain calculation.

Before filing, confirm the current rules for crypto-to-fiat tax, stablecoin swaps, holding periods, loss treatment, record retention, and reporting thresholds in your jurisdiction. Export final exchange records, reconcile wallet balances, document rate sources, and keep the assumptions behind every estimate. If transactions involve business revenue, lending, staking, derivatives, gifts, or multiple countries, seek qualified local tax advice rather than relying on a basic FIFO crypto tax calculator alone.

Related Topics

#crypto taxes#capital gains#cost basis#FIFO#stablecoins#tax calculator
C

Convertocurrency Editorial Team

Tax-Aware Crypto Markets Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.