TradeProfy
STT delivery0.1% buy & sellSTT intraday0.025% sellSTT futures0.05% sellfrom 1 Apr 2026STT options0.15% of premiumfrom 1 Apr 2026NSE txn equity0.00307%NSE txn futures0.00183%NSE txn options0.03553% of premiumStamp duty delivery0.015% buySEBI fee₹10 per croreGST18% on feesCTT MCX futures0.01% sellNifty lot65 unitsSTT delivery0.1% buy & sellSTT intraday0.025% sellSTT futures0.05% sellfrom 1 Apr 2026STT options0.15% of premiumfrom 1 Apr 2026NSE txn equity0.00307%NSE txn futures0.00183%NSE txn options0.03553% of premiumStamp duty delivery0.015% buySEBI fee₹10 per croreGST18% on feesCTT MCX futures0.01% sellNifty lot65 units

Popular & new

Most used

New this month NEW

New this month

Education and estimation only. TradeProfy is not a SEBI-registered adviser and does not recommend buying or selling any security.

Futures rollover and basis calculator

A positive gap is contango in this sketch. It is not a forecast.

Mantu KumarBy Published 10 November 2026Last reviewed 18 November 2026How we check our numbers

Reading the gap

The far price minus the near price, divided by the near price, times 365 divided by the days between them, is a simple annualised basis. It tells you how expensive it is to stay in the trade by rolling, before brokerage. Add the two commissions you pay to close the near and open the far.

Contango, a far price above the near, is common in some commodities and painful for anyone who is long and rolling. Backwardation is the opposite gap. A perpetual future does not roll this way; it uses funding. Do not paste a funding rate into this box and call it basis.

The F&O margin calculator is the Indian exchange version of margin. This page is the calendar spread between two prices you type.

A partner link appears here only where that firm accepts customers from your region. The numbers above never depend on it.

How to use this calculator

  1. Enter the near-month and far-month futures prices.
  2. Type the days between the two expiries.
  3. Enter the contracts you hold, the contract multiplier and the brokerage for both legs.
  4. Read the gap, its annualised rate and the cash cost of the roll.

Worked example

Near at 100 and far at 101, 30 days apart: the gap is 1, about 12.17% a year (1 ÷ 100 × 365 ÷ 30). Rolling one contract with a multiplier of 1 and 40 brokerage costs 41. For an index future whose lot is 75 units, the same 1-point gap is 75 per lot before charges; use the lot size your exchange publishes today.

Turning a one-point gap into a yearly rateNear contract at 100, far contract at 101, expiries 30 days apart.Gap1101 − 100÷As a share of near1.00%1 ÷ 100×Periods in a year12.17365 ÷ 30Annualised carry1.00% × 12.17 = 12.17% a yearThe same 1-point gap 90 days apart is only 4.06% a year. Rolling one contract here costs the gap plus brokerage: 1 + 40 = 41.1234
Pencil lesson: a price gap only means something once it is put on a yearly scale.
  1. Gap, 1. The far price minus the near price. Positive means the market is in contango.
  2. 1.00%. The gap as a share of the near price, so two markets at different price levels can be compared.
  3. 12.17 periods. 365 days divided by the days between expiries. Fewer days between them means more periods.
  4. 12.17% a year. The carry you pay to stay long by rolling, or earn by rolling a short.

On the real screen: The calculator above opens on these prices. Change the days to 90 and the yearly figure falls to about 4%.

Good habitCompare the annualised gap with your borrowing rate before deciding whether to roll or to hold the underlying.

Common mistakeComparing raw gaps between contracts with different times to expiry.

Bar chart: a 1-point gap between near and far futures at 100 is 24.33% a year when 15 days apart, 12.17% at 30 days, 6.08% at 60 days and 4.06% at 90 days
The same price gap means very different carry rates depending on how far apart the expiries are. Always annualise before comparing.

Rolling an MCX crude oil lot, in rupees

Commodity rolls look bigger because the lot is bigger. Say the near crude oil contract on MCX is at ₹6,000 a barrel and the next month is at ₹6,050, 30 days later.

StepWorkingResult
Gap per barrel6,050 − 6,000₹50
Gap per lot (100 barrels)₹50 × 100₹5,000
As a share of the near price50 ÷ 6,0000.83%
Annualised0.83% × 365 ÷ 30about 10.1% a year

The ₹5,000 is not a fee. When you sell the near contract and buy the far one, you give up ₹5,000 of price difference that you would only get back if the far contract later converged to the near price. Brokerage, CTT and exchange charges on both legs come on top; the MCX charges guide lists them. Crude can also flip into backwardation, where the far price is lower and a long roll earns the gap instead.

Common questions

What is contango?

When a later futures contract trades above the nearer one, usually reflecting interest and carrying costs. Backwardation is the opposite.

Is rolling a futures position a new trade?

Yes. You sell the near contract and buy the far one, so you pay brokerage and taxes on both legs.

How is this different from perpetual funding?

Perpetuals never expire; they use periodic funding payments instead of a roll. Use the funding rate calculator for those.

Cash to roll one Nifty futures contract

Use near 24,500, far 24,620, 28 days left, 1 contract, multiplier 65 and brokerage of 40 for both legs. Far minus near is 24,620 - 24,500 = 120.00 points. A positive gap is contango in this sketch. It is not a forecast, and it is not a perpetual funding rate.

Cash to roll is 120 × 1 × 65 + 40 = 7,800 + 40 = 7,840.00. The 65 is the Nifty lot this site uses from 1 April 2026. Confirm the current lot on the NSE before you treat 7,840.00 as rupees you must pay. If the exchange has changed the lot, redo the product.

The annualised gap is (120 / 24,500) × (365 / 28) × 100. First, 120 / 24,500 = 0.004898. Next, 365 / 28 = 13.0357. Then 0.004898 × 13.0357 × 100 = 6.38%. The same fraction is (120 × 365 × 100) / (24,500 × 28) = 4,380,000 / 686,000 = 6.38% once it is rounded to two decimal places.

How the rollover numbers are built

Formula. Gap = far price - near price. Annualised gap, in percent = (gap / near price) × (365 / days left) × 100. Cash to roll = gap × contracts × multiplier + brokerage for both legs. A negative gap makes the cash line negative in this arithmetic. That does not mean the market pays you to roll. You still pay brokerage, and you still post margin.

Rolling is two trades: close the near month, open the far month. Brokerage can apply on both legs. The 40 you typed is already the both-legs figure, so do not add 40 a second time. Futures STT in India is 0.05% on the sell side from 1 April 2026, and it is separate from the 40. Closing a long near contract is a sell. Opening the far month, if you stay long, is a buy, so that buy is not the second STT event. The later sale of the far month is. Across the roll and the exit, STT can apply twice.

On these inputs the near sell value is 24,500 × 65 = 1,592,500. STT at 0.05% is 796.25. That 796.25 is not inside the 7,840.00. If 18% GST applies to the typed brokerage of 40 and to nothing else, GST is 7.20. Exchange and clearing fees can also attract GST. Read the contract note. The F&O margin calculator is where the far month's margin belongs. This gap is not margin.

What sits inside the 7,840.00

PieceAmount in this sketchInside 7,840.00?
Price gap, 120 points × 657,800.00Yes
Brokerage, both legs40.00Yes
STT on the near sell at 0.05%796.25No
GST on the 40, if it is the only fee7.20No
Initial margin on the far monthNot estimated hereNo

Add the separate STT sketch and the GST sketch to the roll cash and you get 7,840.00 + 796.25 + 7.20 = 8,643.45, before any exchange fee and before margin. That larger total is an illustration from the rates above. If your contract note uses another base, the note wins. A wider far-month quote changes the 120 before any tax does.

Mistakes when you roll a future

  • Reading 6.38% as profit you will earn. It is the gap scaled by 365 / 28. It is not a yield.
  • Reusing 65 after the lot has changed. The cash line scales in a straight line with the multiplier.
  • Doubling the 40. On this page, 40 already covers both legs.
  • Comparing the 120-point gap with a crypto perpetual funding rate. They are different contracts and different clocks.
  • Forgetting fresh margin on the far month. The 7,840.00 does not fund the position.

Residents of India should not replace this listed future with an offshore CFD. Currency derivatives, if that is the market you mean, are permitted pairs on a recognised Indian exchange. Equity-index futures here mean the exchange contract, with brokerage, STT and GST on top of the gap. Check the current lot and the charge sheet on the NSE.

Other venues, and four checks

A CME equity-index future does not use the Nifty lot of 65. Use the multiplier in that contract spec. In the UK, the EU, the UAE, Singapore and Australia, rerun the formula with the local contract and the local tax. The derivatives desk, F&O brokerage and margin are separate tools.

Note. Confirm the Nifty lot on the NSE. The multiplier 65 is the lot this site uses from 1 April 2026. A positive gap is contango only as a label for this sketch, not a forecast.

Why use 365 days instead of trading days?

The 28 days are calendar days to expiry, so the year in the sketch is 365. A 252-day year would change 6.38%. Do not mix the two clocks.

What if the far price is below the near price?

The gap and the annualised line are both negative. You still close one contract and open another, and you still pay brokerage. A negative label is not a reason to roll.

Does 65 remain the lot after a revision?

Only while the exchange says so. If the lot is no longer 65, the 7,800.00 line is wrong even when 24,500 and 24,620 are still on the screen.

Is the gap the same as interest on margin?

No. Margin is what you post so the position can exist. Interest on borrowed margin, if it is charged, is another line. It is not inside the annualised gap.

Sources

  • NSE India — contract specifications, including the current index-futures lot (checked 10 November 2026).
  • Income Tax Department — securities transaction tax framework; confirm the sell-side rate on the official page (checked 10 November 2026).
  • SEBI — market rules for exchange-traded derivatives in India (checked 10 November 2026).
  • CME Group — contract specifications for US-listed futures, which do not use the Nifty lot (checked 10 November 2026).
Education only. This calculator shows arithmetic on numbers you type. It is not investment, tax or legal advice, and it does not recommend any broker, exchange or product. Trading with leverage can lose money quickly.

If your rollover cannot be completed before expiry, use the physical settlement calculator to estimate the cash or shares required on an expiry-day position.

Mantu Kumar, founder of TradeProfy

Written and maintained by Mantu Kumar

Mantu builds the TradeProfy calculators and checks every formula with worked examples. Each page lists its assumptions. TradeProfy explains costs and maths but never tells you what to buy or sell.

Read Mantu’s profile · How we check our numbers

All of these tools · Affiliate disclosure