Cost-basis allocation tells you which acquisition cost is associated with disposed units. FIFO, LIFO and average cost can yield different gain calculations from identical trade records, but not every method is allowed everywhere.

How to work through the calculation or research

Track the date, asset, quantity, purchase cost, trading fee and disposal proceeds for each lot. Determine the law applicable to the taxpayer and tax year before selecting an accounting method. Transfers, airdrops and staking receipts may need separate records.

A concrete worked example

If you bought one unit at $100 and another at $150, then sold one at $200, the illustrative gross gain is $100 under FIFO and $50 under LIFO. These examples do not establish that either method is permissible for you.

Common errors and important limitations

US and UK guidance differs, and other jurisdictions have their own rules. Keep full raw data, document the methodology and consult authoritative tax guidance rather than making a tax filing from a simplified example.

Put the idea into practice with a working tool

For a practical calculation, the FIFO Crypto Cost Basis Two-Lot Worksheet lets you examine: Lot A quantity, Lot A unit cost, Lot B quantity, Lot B unit cost, Units sold. The tool documents its method as: FIFO matches sold units first to Lot A, then Lot B, in chronological lot order.. Applies basic two-lot FIFO to entered transactions, subject to jurisdiction and full-record rules. Scenario only; uses user-supplied values, not live rates.

Practical checks before relying on the result

  • Confirm the asset, chain, amount and date apply to your own situation.
  • Separate supplied assumptions from verifiable source data and do not treat a scenario as a live market quote.
  • Document fees, rounding rules and constraints before making an irreversible financial or blockchain decision.

Sources and further verification

These references support technical definitions and research context; they do not validate any hypothetical market price or individual investment.

Financial and blockchain information is educational. No investment advice, custody, private keys or guaranteed outcomes. Examples use illustrative inputs rather than live quotes.