Order Types

What is Square Off?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionSquaring off means closing an open position with an equal and opposite trade, so your net quantity in that contract goes back to zero. If you bought 1 lot of Nifty futures (65 units) at 25,000, selling 1 lot at 25,060 squares it off and books +₹3,900 before charges (illustrative; check the current NSE lot size).
Formula
Realised P&L on square-off = (Exit price − Entry price) × Quantity for a long; (Entry price − Exit price) × Quantity for a short, before charges
Example
Short 1 lot of a Nifty 25,200 call at ₹110, bought back at ₹70: (₹110 − ₹70) × 65 = ₹2,600 (illustrative)

Square off is a closing trade, not a separate product. Buy what you sold, or sell what you bought, in the same contract and quantity. Brokers show it as a one-click action on the positions screen, and on Indian platforms the word covers every closing trade, from an intraday stock exit to buying back a short option on expiry day. Until a position is squared off, its P&L is unrealised and moves with every tick; for futures it is also marked to market each day. Squaring off turns it into realised P&L and releases the margin the position was blocking.

The ways a position gets closed

How it closesWho decides the priceWhat to watch
You square offYou, with a market or limit orderFill vs the price you planned
Stop or target triggersYour pre-set orderSlippage on the stop leg
Broker auto square-off (intraday)Market price at the broker’s cut-offFee per order at many brokers
Expiry, index F&OIndex closing value on expiry dayCash-settled; in-the-money options are exercised
Expiry, stock F&OSettlement price, then deliveryPhysically settled; shares or funds needed
RolloverYou: square off the near month, open the nextRoll cost logged apart from trade P&L

Worked example: planned square-off vs auto square-off

  1. 9:45: buy 1 lot of Nifty futures as an intraday (MIS) position at 25,000. The plan says square off by 14:45 or at the stop.
  2. 14:40: Nifty futures trade at 25,060. Selling 1 lot squares the position off: (25,060 − 25,000) × 65 = +₹3,900 before charges.
  3. Alternative: the position is forgotten. The broker squares it off near its cut-off, when futures trade at 25,030: (25,030 − 25,000) × 65 = +₹1,950, plus any auto square-off fee.
  4. Either way, the journal records the exit type, the time and the price, so the cost of leaving it to the broker is visible.
Planned square-off at 25,060
+₹3,900
Auto square-off at 25,030
+₹1,950
Given up
₹1,950
Points captured, planned vs auto
60 vs 30

The prices are illustrative. On another day the late exit could be better, but it is not a decision you made, and the fee applies regardless. Tagging these exits separately shows how often they happen and what they cost on average.

Square-off and F&O expiry

Index options and futures

Cash-settled. In-the-money options left open are exercised automatically at expiry, with STT of 0.15% on the intrinsic value. Squaring off instead pays 0.15% of the sell-side premium.
Nifty weekly: Tuesday

Stock options and futures

Physically settled. Holding an in-the-money position through expiry means taking or giving delivery of the shares, which needs the full funds or stock.
Monthly: last Tuesday

Many brokers start closing stock F&O positions that could lead to delivery a day or more before expiry if margin or funds fall short. The exact policy is the broker’s, so read it before holding stock options into expiry week.

Rolling is two square-off decisions in one. Illustrative: a trader long 1 lot of near-month Nifty futures sells it at 25,060 and buys the next month at 25,180. The 120-point difference between the two contracts is not a profit or a loss on its own; it mostly reflects the cost of carry to the later expiry. Logging the roll as its own line keeps it from blurring the result of the directional trade.

Logging square-offs in a journal

  • Tag every exit as planned, stop, target, auto square-off, expiry or roll. Each group tells a different story in the monthly review.
  • Record product type (intraday or carry-forward) on entry, so an accidental overnight position is easy to spot.
  • For partial square-offs, log each exit with its own quantity; one lot closed out of two still leaves 65 units of risk.
  • Keep rollover cost apart from the directional result of the trade, or the roll will flatter or hide the real P&L.
For traders in India
Intraday cut-off times differ by broker and segment, often between 15:15 and 15:25, and many brokers charge a fixed fee plus GST for each auto square-off order; check your broker. Nifty weekly options expire on Tuesday; Bank Nifty, FinNifty and stock F&O expire monthly on the last Tuesday.

Reference guide

ContextValueReading
Intraday position closed by you before the broker’s cut-offPlanned exitYou choose the price and time; leave a buffer of 10 to 15 minutes
Intraday position left for the broker to closeAuto square-offIt closes at the market price of that moment, and many brokers charge a fee for it
Stock option or future held into expiry by accidentDelivery riskStock F&O is physically settled; an in-the-money position can turn into a share delivery obligation

Questions

What does square off mean in trading?

Closing an open position with an opposite trade of the same size: selling what you bought or buying back what you sold. Your net position becomes zero and the P&L is realised.

What time is intraday auto square-off?

It depends on the broker and segment, often between 15:15 and 15:25. Check your broker’s current timings and charges.

What happens if I do not square off options on expiry?

Index options are cash-settled: in-the-money options are exercised and out-of-the-money ones expire worthless. Stock options are physically settled, so in-the-money positions lead to delivery of shares.

Is there a charge for auto square-off?

Many brokers charge a fixed fee plus GST for each order they square off. Normal brokerage, STT and exchange charges also apply.

Is square off the same as selling?

Only for a long position. For a short position, squaring off means buying back. The term covers any trade that closes a position.

Related terms

Sources