Partial Close: What Happens to Average Entry, Margin, and Liquidation Price?
You hold a 0.4 BTC long and close half. What is the average entry of the remaining 0.2 BTC? A common misconception is that taking profit improves the average. In reality, the average stays unchanged; only the boundary between realized and unrealized P&L moves.
What a Partial Close Changes
A partial close removes some position quantity through an opposite-direction execution. Taking profit in stages, stopping half, and reducing risk all use the same operation. Its account effects are specific.
Changes
Position quantity ↓
Notional value ↓
Realized P&L becomes fixed
Unrealized P&L decreases
Fees apply to the closed amount
Unchanged
Average entry price
Position direction
Entry time
─────────────
Average entry is set when entering.
Closing does not change it.
The average changes only when you add in the same direction. An additional entry blends its new execution price with the existing average. A close simply calculates P&L from the established average and removes quantity. See average price and additional purchases.
How Closing Half Divides P&L
Consider a 0.4 BTC long at a $60,000 average with 20× leverage.
Direction: Long
Quantity: 0.4 BTC
Average: $60,000
Notional: 0.4 × 60,000 = $24,000
Margin: 24,000 ÷ 20 = $1,200
─────────────
When Price Reaches $63,000
Unrealized P&L:
(63,000 − 60,000) × 0.4
= +$1,200
The account balance is still unchanged.
Now close half, 0.2 BTC, at market.
Realized P&L:
(63,000 − 60,000) × 0.2
= +$600 → Added to balance
Remaining position:
Quantity: 0.2 BTC
Average: Still $60,000
Notional: 0.2 × 63,000 = $12,600
Unrealized: 3,000 × 0.2 = +$600
─────────────
Total check:
Realized 600 + Unrealized 600 = 1,200
→ The same as unrealized P&L just before closing.
No new money was created.
It moved between categories.
Partial closing locks in profit rather than creating it. The realized $600 no longer changes with price, while the remaining $600 continues fluctuating. Closing half in a losing position similarly realizes that loss. This is why saying that closing half created breakeven is often wrong. The average, and therefore the remaining quantity's breakeven, stays unchanged.
Margin and Liquidation Price Depend on Margin Mode
Less quantity requires less maintenance margin. What happens to allocated margin depends on whether you use isolated or cross margin.
Cross margin
Notional $24,000 → $12,600
Maintenance requirement ↓
Available balance ↑
→ Liquidation price moves farther away.
Isolated margin
Some exchanges release allocated margin proportionally;
others leave it with the position.
Proportional release → Liquidation price stays nearly unchanged.
Margin retained → Effective leverage falls,
moving liquidation farther away.
─────────────
Handling varies by exchange.
→ Recheck the displayed liquidation price after closing.
The shared direction is lower risk after reducing the position. However, closing half does not imply that liquidation moves twice as far away. Maintenance margin rates change in notional tiers; a smaller position entering a lower tier can reduce the requirement again. See maintenance margin rates for that step structure.
Fees Apply Each Time You Close a Slice
Partial-close costs are tied to executions. Whether closing at once or in four parts, total quantity is the same, and each fill incurs fees on its own notional.
Close all 0.4 BTC at $63,000:
Notional $25,200
Fee 25,200 × 0.0005 = $12.6
Close in four 0.1 BTC pieces:
Each notional $6,300 → $3.15 each
Total $12.6
─────────────
Same total quantity means the same total fee.
What actually increases costs:
Repeatedly closing and reopening
→ A new round-trip fee each time
→ At 0.1% per round trip, 10 repetitions cost 1%.
Scaling out itself is not the expensive part. Closing partially and reopening at the same place is. See trading frequency and fee drag for the numerical effect.
Contract Rounding Can Leave a Residual Position
Many exchanges use contract units that cannot be divided fractionally. Percentage-based closes can leave a remainder.
0.4 BTC = 40 contracts
Three-part take-profit:
40 ÷ 3 = 13.33
→ Three closes of 13 contracts = 39 contracts
→ 1 contract, or 0.01 BTC, remains.
─────────────
The remaining contract:
Continues to tie up margin
Continues paying funding
Remains in the position list
→ “I closed everything, but a position remains.”
Rounding is usually the reason.
For the final cleanup, use Close All or enter the exact remaining quantity instead of a percentage button. This differs from a remainder caused by only part of an order executing; see partial fills.
When a Partial Close Becomes a New Entry
The most expensive mistake occurs when an intended close is not treated as a close.
Holding: Long 0.2 BTC
Mistaken order: Short 0.5 BTC
Reduce Only enabled
Only 0.2 fills → Position becomes 0
Remaining 0.3 is canceled automatically.
Reduce Only disabled
0.2 closes + 0.3 opens a new short
→ Direction reverses.
→ Margin is allocated again.
─────────────
Existing TP/SL orders have the same trap.
If their original quantities remain after a partial close,
the excess can become a new position.
If you often close partially, reduce pending-order quantities too or enable the protective option. See Post Only, Reduce Only, and IOC/FOK for each control. Evaluate the remaining risk in money rather than contract count: notional value remains the reference after closing half.
Recap
② Average entry does not change.
③ Only adding changes the average.
④ Some unrealized P&L becomes realized.
⑤ Their total is unchanged at that instant.
⑥ Closing at a loss realizes the loss.
⑦ The remaining position's breakeven is unchanged.
⑧ Lower notional reduces maintenance requirements.
⑨ Cross margin gains available balance.
⑩ Isolated margin release rules vary.
⑪ Recheck liquidation price on-screen.
⑫ Fees apply to closed notional.
⑬ Repeated closing and reopening is expensive.
⑭ Rounding can leave one contract.
⑮ Without Reduce Only, direction can reverse.
A partial close reduces size; it does not repair average entry. Feeling more comfortable after closing half differs from lowering the remaining half's breakeven. The remainder still uses the original entry price; only the money exposed at that price changes.
Notice
The $60,000 average, 0.4 BTC quantity, $63,000 price, 20× leverage, 0.01 BTC contract unit, and 0.05% taker fee are hypothetical examples explaining P&L and margin, not actual exchange specifications or observations. Isolated-margin release, liquidation recalculation, maintenance tiers, contract units and increments, automatic pending-order resizing, and default Reduce Only settings vary by exchange, product, and asset and can change after notice. Verify actual values in your exchange's contract specifications and help pages. This article explains order processing and does not recommend a particular trading method or entry/exit timing. Partial closing does not prevent losses or guarantee profits. Leveraged trading can lose all principal. Your decisions and their outcomes are your responsibility.
NOONOO TRADING invites you to follow live trading in our free chat.
Start in the bot📈 OKX trading fee discount for new registrations
Register for the OKX Fee Discount →