Next funding settles in --:--:--Same $10,000 SNDK long, one week: $66 more on Bitget than on BybitOpen Bybit →

· four exchange APIs · rebuilt daily

How crypto tax cost basis works when trading perpetual

Rules and jurisdictions: Where these products are allowed, and what that changes.

The finding

Unrecorded asset transfers default to a zero USD acquisition value during tax audits, converting 100% of gross trade proceeds into taxable gain.

Exchanges track internal trade fills, leaving off-venue purchase prices and external collateral flows unlinked.

Funding payments and realized perpetual settlement amounts generate distinct taxable events on every settlement cycle.

Realized events and crypto tax cost basis mechanics

Establishing your crypto tax cost basis requires adding the asset acquisition price to all directly incurred execution fees. Tax authorities in most jurisdictions treat every position closure, token-to-token swap, and margin liquidation as a taxable disposal. Specific tax rules vary by country, and this analysis details general ledger mechanics rather than tax advice.

When buying 1.0 BTC at 60,000.00 USDT on Bybit using a market order, the exchange assesses a 0.055% futures taker fee of 33.00 USDT. The effective crypto tax cost basis for that position entry is 60,033.00 USDT. Closing that position at 62,000.00 USDT incurs an additional 0.055% taker fee of 34.10 USDT, leaving net proceeds of 61,965.90 USDT. The realized taxable gain is calculated as 61,965.90 USDT minus 60,033.00 USDT, resulting in 1,932.90 USDT.

ExchangeFutures Maker FeeFutures Taker FeeEntry Fee on 100,000 USDT TradeTotal Entry Cost Basis
MEXC0.0000%0.0200%20.00 USDT100,020.00 USDT
Bitget0.0020%0.0300%30.00 USDT100,030.00 USDT
OKX0.0020%0.0550%55.00 USDT100,055.00 USDT
Bybit0.0020%0.0550%55.00 USDT100,055.00 USDT

Worth knowing

Taker fees increase your acquisition cost basis on open and decrease your net realized proceeds on close, reducing calculated taxable gain at both ends of a trade.

Get a 20% fee rebate on OKX →20% of your trading fees back, on every product. The rebate comes out of the commission I would otherwise receive, so it costs you nothing. Affiliate link — see the footer.

Tracking crypto tax cost basis across perpetual trades

Perpetual contracts settle cashflows periodically rather than delivering underlying assets. Realized profit and loss attaches to your margin account balance when positions close or during daily settlement rounds. Funding payments received function as taxable income or realized short-term gain, while funding payments paid serve as allowable expenses or direct cost adjustments depending on local regulatory framework.

On ZEC perpetual markets, 8-hour funding rates display substantial cross-venue divergence. MEXC prints -0.0103%, OKX prints -0.0051%, Bitget prints -0.0035%, and Bybit prints +0.0100%. Holding a long position on MEXC yields a 0.0103% credit per 8-hour window, generating taxable income on each settlement cycle. Holding that same long position on Bybit incurs a 0.0100% debit per 8 hours, adding recurring fee outlays that alter your net realized position trade performance.

Where this goes wrong

Exchanges log funding distributions as internal balance updates. Exported CSV files often label these entries as generic cash movements, causing tax software to omit them from cost basis tracking.

Why exchange exports fail as tax reports

Exchanges produce internal account logs, not compliant tax disclosures. A raw trade report documents executed order fills, margin movements, and account balances inside a single system. It contains no record of capital acquisition prices established prior to transferring funds onto the platform.

If you transfer 10,000 USDT from an external wallet into OKX to open a BTC position, OKX records an incoming transfer. The raw export does not capture when or at what fiat rate you bought that USDT. If you acquired that collateral when historical exchange rates differed, or deposited native ETH bought years earlier, the platform export treats the incoming deposit without historical acquisition data. In a formal tax examination, missing purchase records force auditors to assign a zero cost basis to the transferred collateral.

AssetVenueLive 8h Funding Rate24h Trading Volume
ETHMEXC-0.0001%12,946,619,747 USDT
ETHBitget+0.0011%12,946,619,747 USDT
ETHOKX+0.0036%12,946,619,747 USDT
ETHBybit+0.0065%12,946,619,747 USDT

For ETH contracts, long positions on MEXC pay -0.0001% per 8-hour period, while Bybit charges +0.0065%. This 0.0066 percentage point spread creates distinct tax cashflows across accounts. CSV exports capture the native token amounts paid or received, but omit the spot market fiat rates required to accurately record tax values at the precise minute of settlement.

What to do instead

Maintain clear off-exchange transaction logs with UTC timestamps to link original collateral purchase prices to exchange account margin deposits.

Accounting for margin conversions and liquidations

Posting collateral other than USD stablecoins adds another calculation layer. Using native BTC as collateral to trade ETH perpetuals creates a taxable collateral disposal whenever the exchange automatically sells margin assets to cover account drawdowns, funding payments, or liquidation events.

When a position faces liquidation on Bitget, the venue liquidates pledged collateral at current market rates. Tax rules classify this forced liquidation as an asset sale at market value. The net capital gain or loss equals the liquidation execution value minus the original purchase price of that collateral. If your record history lacks the initial deposit cost basis, tax software treats the entire liquidated sum as taxable capital gain despite the underlying trade ending in a net loss.

What triggers a taxable event when trading perpetual futures?

Realizing profit or loss upon position closure, receiving or paying funding payments, and converting non-stablecoin collateral assets all trigger taxable events. Swapping tokens to post margin also counts as a disposal.

How do trading fees affect crypto tax cost basis?

Entry fees are added directly to the initial purchase value, raising the asset's starting cost basis. Exit fees are subtracted from gross sale proceeds, reducing the total reportable capital gain.

Why are exchange CSV files insufficient for tax filing?

Exchange CSV exports only track internal venue trades and lack purchase prices for assets deposited from external wallets. They also record funding settlement payments without capturing the fiat market values needed for tax reporting.

What happens if a cost basis cannot be proven?

Tax authorities assign a zero cost basis to assets with incomplete purchase histories. This forces the entire transaction value to be taxed as net capital gain.

Get a 20% fee rebate on OKX →20% of your trading fees back, on every product. The rebate comes out of the commission I would otherwise receive, so it costs you nothing. Affiliate link — see the footer.New to OKX? The signup, screen by screen →About four minutes: what each screen asks for, the fee tier you land on, and what to check before the first deposit.Not opening an account today? Get told when this changes →The same measurements, pushed when they move: funding turning expensive, venues disagreeing about what a position costs. Free, no account, no email, and nobody is paid for this link.

Read next

Liquidation price is arithmetic — here is the formulaLiquidation is a margin equation, not a punishment. For an isolated-margin long: liq_price ≈…Evaluating self custody vs exchange wallet risks for collateralKeeping assets in a self custody vs exchange wallet trades complete loss from platform default…How a crypto deposit network memo error locks marginAn incorrect crypto deposit network memo selection routes collateral to shared exchange hot…