17 mins read

How to calculate crypto lot relief on a partial sale

Last updated: November 10, 2026

Key Takeaways

  • In plain terms, it covers a partial sale, fractional disposal, or split-lot disposal where one acquisition lot is not fully exhausted.
  • Only the sold units carry away part of the original basis; the rest stays with the open lot.
  • The steps below use the same logic whether the lot came from one exchange deposit or one on-chain transfer, as long as the lot itself is cleanly identified.
  • The unsold units keep their share of the original basis, not a market-reset basis.

A partial sale uses lot relief to move part of a tax lot out of your position and leave the rest behind with a reduced cost basis. In this guide to how to calculate crypto lot relief on a partial sale, the calculation is simple once you know the original lot size, the number of units sold, and the basis method your tax rules allow.

This is for a reader who already has a wallet, an exchange record, and at least one tax lot to work with. It assumes you know which units were sold and when, but not yet how to split the original basis between the sold portion and the remaining cost basis. This is tax information, not financial advice; rules differ by country and change often, so a qualified tax adviser should review your own situation. For general basis definitions, see the IRS overview of basis of assets and HMRC’s Capital Gains Manual.

Who this applies to, and who should do something else

This applies to anyone who sold only part of a crypto position and needs to assign cost basis to the sold units while preserving the basis of the unsold units. In plain terms, it covers a partial sale, fractional disposal, or split-lot disposal where one acquisition lot is not fully exhausted.

You need four things first: the acquisition date, the disposal date, the original quantity in the lot, and the original total cost basis or per-unit basis. If you also have network fees, exchange fees, or on-chain transfer fees that belong in basis under your local rules, keep those numbers separate before you start. A missing quantity, missing fee record, or mismatched date usually means the calculation will come out wrong.

This approach is right for a single lot that was only partly sold, or for one selected lot inside a larger holding. It is not the right tool if your tax rules force pooling by method and you must use an average basis across the whole account, or if your platform already netted several acquisitions into one pooled lot. This guide is also not enough on its own when a sale crossed wallets, involved bridges, or used tokens with rebates, staking rewards, or airdrops attached. Those cases can still be handled, but they often need professional review because the basis trail is easy to break.

A generic article often skips the part that matters most: the remaining units keep their original per-unit basis unless your local rules say otherwise. If you sold 0.4 BTC from a 1.0 BTC lot, the unsold 0.6 BTC does not get a fresh basis from the sale price. It keeps the leftover basis from the original lot. That is the heart of lot relief.

For broader calculator context, this page sits under the hub on Tax and accounting calculators for crypto — The Complete Guide.

What lot relief means in a partial sale

Lot relief means the original basis follows only the units that left the position. If you sold 25% of a 4-unit lot, then 25% of the lot’s adjusted basis is relieved to the disposal side and 75% stays with the remaining units.

The term cost basis means what you are treated as having paid for the asset, including qualifying acquisition costs under your local tax rules; because rules vary, consult a qualified tax professional or the guidance for your jurisdiction before filing. The adjusted basis is that starting amount after adding or subtracting items your rules require, such as transaction fees in some jurisdictions. The tax lot is the discrete parcel of coins or tokens acquired at one time, at one price, and on one date. For a general definition of basis and adjusted basis, see the IRS basis of assets.

The core math usually follows the same idea, even when the tax method differs. You either:

  1. divide the lot into a per-unit basis and multiply by the units sold, or
  2. allocate a percentage of the lot’s total basis to the units sold.

The number you verify at the end is not just the basis of the sold portion. You also need to confirm the unsold balance and its remaining basis. If the original lot was 10 ETH with a basis of 20,000 in your currency, and you sold 3 ETH, the sold portion gets 30% of the basis and the remaining 7 ETH keeps 70%. If the residual basis does not equal the original basis minus the relieved basis, the allocation is wrong.

A common mistake is to recalculate the leftover units at the market price on the sale date. That turns a basis allocation into a new valuation exercise, which is not what lot relief does.

How do I calculate crypto lot relief step by step?

You calculate it by splitting the original lot into a sold fraction and a retained fraction, then carrying the leftover basis forward to the units still in your wallet or exchange account. The steps below use the same logic whether the lot came from one exchange deposit or one on-chain transfer, as long as the lot itself is cleanly identified.

  1. Identify the exact lot you are relieving. Write down the acquisition date, the asset, the original unit count, and the total basis for that lot. Verify that the quantity matches the receipt on your exchange statement or wallet history; if the record says 2.5 SOL but the wallet shows 2.4997 after network dust, you need to reconcile that first. A mismatch means you may be mixing lots.
  2. Confirm the disposal quantity to at least 8 decimal places if the asset uses them. Record the exact number sold, not the rounded figure shown on a dashboard. Verify that the sold quantity is less than or equal to the lot quantity; if it is larger, the sale spans more than one lot and needs separate allocation.
  3. Choose the basis method your jurisdiction and records require. Use the method actually permitted for your filing, such as specific identification or a pool-based approach, rather than the one that looks easiest. Verify that the method is consistent across the transaction set; if one trade uses one method and another uses a different one without support, the calculations will not tie out.
  4. Calculate the lot’s per-unit basis. Divide the lot’s total basis by the original unit count. For example, if a lot cost 12,000 and contains 3.0 units, the per-unit basis is 4,000. Verify that the multiplication of per-unit basis by the original unit count returns the original basis; if it does not, you have either a fee omission or a rounding problem.
  5. Work out the sold fraction of the lot. Divide units sold by original units. If you sold 0.75 from a 3.0-unit lot, the fraction is 25%. Verify that the percentage stays within the expected range; if it is above 100, the sale was not a partial sale of one lot.
  6. Allocate basis to the sold portion. Multiply total lot basis by the sold fraction, or multiply per-unit basis by units sold. Using the example above, 25% of 12,000 is 3,000. Verify that the relieved basis does not exceed the lot’s basis; if it does, the inputs or method are wrong.
  7. Compute the remaining cost basis. Subtract the relieved basis from the original lot basis, or multiply total basis by the unsold fraction. In the example, 12,000 minus 3,000 leaves 9,000 attached to the 2.25 remaining units. Verify that remaining basis plus relieved basis equals the original basis, allowing for only minor rounding differences set by your tax reporting software.
  8. Carry the reduced basis forward to the unsold units. Record the leftover basis and leftover quantity as the new open lot. Verify that the new per-unit basis is unchanged from the original per-unit basis; if the leftover per-unit basis moved because of the sale price, the relief was calculated incorrectly.
  9. Keep the support trail with the transaction. Save the exchange fill, wallet transaction hash, fee record, and any lot-selection note for at least the period required in your country, which is often measured in years rather than months. Verify that a third person could follow the chain from acquisition to partial disposal without guessing which units were sold.

The worked pattern is straightforward: original basis × sold fraction = relieved basis; original basis − relieved basis = remaining basis. The arithmetic usually fails when lot history is incomplete, fees are omitted, or rounded quantities are used instead of the chain record.

What happens to the remaining units after a partial disposal?

The remaining units keep the unsold share of the original basis, not a market-reset basis. If 60% of a tax lot remains after a partial sale, 60% of the lot’s adjusted basis remains attached to those units.

This matters because the unsold balance is still one open position, just smaller. If a lot began as 8 AVAX with a basis of 1,600, and you sold 2 AVAX, then 6 AVAX stay open with 1,200 of basis if the lot was handled on a straight proportional basis. The new per-unit basis stays the same as before the sale unless your local rules require a different method.

The consequence of getting this wrong is usually a basis drift that compounds. One partial sale with a bad allocation can make later sales, even months later, look wrong too. A 0.1-unit rounding error today can become a reporting mismatch in the next disposal, especially where a platform exports 6 decimal places but the tax form rounds to whole currency units.

If the leftover units were moved to another wallet after the sale, the basis still follows them. A transfer does not wipe out the remaining basis. It just changes where the lot is held.

Common mistakes that break partial lot relief

The most common mistake is using sale proceeds as the basis of the sold piece. That produces a gain or loss number that may look tidy, but it confuses value at disposal with historical cost. The correct alternative is to split the original basis, not the sale proceeds.

A second mistake is rounding the sold fraction too early. If you round 33.333333% to 33%, the leftover basis will not reconcile cleanly. The correct alternative is to keep full precision during the calculation and round only at the reporting stage required by your form or software.

A third mistake is mixing units from different acquisition dates into one lot without a valid pooling method. That can make the basis trail impossible to defend. The correct alternative is to treat each acquisition lot separately unless your tax method explicitly pools them.

A fourth mistake is ignoring fees or adding them twice. Some jurisdictions treat exchange fees as part of basis, some treat them differently, and some require separate treatment for withdrawal costs. The consequence is an understated or overstated basis. The correct alternative is to classify each fee once, according to the applicable rule.

A fifth mistake is assuming the wallet balance proves the lot balance. Dust, failed sends, wrapped tokens, and bridge steps can leave the chain balance out of sync with the tax lot if you do not reconcile the full history. The correct alternative is to match transaction history to the lot, not just the current address balance.

When the standard approach does not apply

The standard proportional split does not apply cleanly when the partial sale comes from a mixed pool, a token migration, or a transaction history with missing acquisition records. In those cases, the basis allocation depends on the tax method and on whether you can identify the lot at all.

Specific identification is not documented: you cannot prove which units left the wallet — use the method your tax rules prescribe for unidentified disposals, or get qualified help before filing.

The disposal spans several lots: one sale exceeded the quantity in any single lot — split the sale across lots in the same order your method requires and recalculate each part separately.

Fees were paid in a different token: the basis trail may need a separate valuation step at the fee date — do not fold the fee into the sale lot until you know how your jurisdiction treats it.

The asset underwent a chain swap, redenomination, or migration: the old units may not map one-for-one to the new units — re-establish the lot history before assigning relief, because the apparent quantity may not match the tax quantity.

The exchange report already used a pooled basis: your platform may have pre-aggregated lots into an average or pooled method — do not reapply lot relief manually unless you can reconstruct the original lot data from source records.

A practical sign that the standard method has stopped working is when your leftovers no longer reconcile after one or two transactions. If the remaining basis cannot be traced from the original lot within your software or spreadsheet, stop and rebuild the transaction chain rather than forcing the numbers to fit.

How to check your result before you file

Your result is probably right when three checks all pass: the relieved basis plus the remaining basis equals the original basis, the leftover quantity matches the lot quantity minus the units sold, and the per-unit basis of the remainder matches the original per-unit basis. If one of those fails, the lot relief is wrong or incomplete.

Therefore, put original units in one cell, sold units in another, original basis in a third, then use formulas for sold fraction, relieved basis, and remaining basis. If the spreadsheet is clean, the remaining basis should not change when you move the sale date, because the sale date affects the disposal reporting, not the historical basis itself.

The right answer also fits the records. Your exchange fill should show the exact sale quantity, your wallet history should show the transfer or withdrawal chain, and your tax lot schedule should show the leftover units as still open. If any of those three disagree, the calculation needs review.

For a reader dealing with a single partial sale, the mistake to avoid is overcomplicating the arithmetic. For a reader dealing with dozens of trades, the mistake is the opposite: simplifying so much that the lot history disappears. The point of lot relief is not just to get one line item right. It is to keep every unsold fraction traceable after the sale.

How do I assign cost basis to a partial sale?

You assign basis by linking the sold quantity to the original tax lot and apportioning the lot’s basis in the same proportion, unless your tax method requires a different allocation. The result should leave a reduced basis with the unsold units. If the sale used several lots, each lot gets its own split.

What happens to the remaining units after a partial disposal?

The remaining units keep the unsold share of the original basis, not a market-reset basis.

Drafted with AI; not yet reviewed by a person.

Leave a Reply

Your email address will not be published. Required fields are marked *