Futures Roll Yield Calculator (Contango and Backwardation)

Turn a front and back month price into roll yield, annualised carry and the cash effect of holding the position through repeated rolls.

Annualised roll yield -21.51% Curve is in contango, so a long position pays to roll
Roll cost each period -1.77%
Roll effect over 12 months -215,232
Front-month basis to spot +1.20 (1.54%)
Inputs
Try:
Amounts are treated in the selected currency; no foreign-exchange conversion is applied.
$
Current cash price of the underlying.
$
The contract currently held, closest to expiry.
$
The contract the position rolls into.
days
How often the position rolls. 30 for a monthly contract, 90 for a quarterly.
$
Size of the position, used for the cash effect.
months
How long the position is expected to be rolled forward.
Results & Graph
Annualised roll yield
-21.51%
Curve is in contango, so a long position pays to roll
Roll cost each period
-1.77%
Roll effect over 12 months
-215,232
Front-month basis to spot
+1.20 (1.54%)
Rolls a year
12.2
Term structure
contango

Term Structure: Spot, Front and Back

Graph 1 • Spot, Front Month and the Contract You Roll Into An upward slope is contango and costs a long position at every roll.
0 43.5 87.0 Spot: 78 78 Spot Front: 79.2 79.2 Front Next: 80.6 80.6 Next
Graph 2 • What One Roll Does to the Position Sell the expiring contract, buy the next one, and book the difference.
Sell front: 79.20 79.20 Sell front Buy next: -1.40 -1.40 Buy next Position after roll: 77.80 77.80 Position after …
Graph 3 • Roll Effect as the Position Is Held Longer Carry compounds with every roll, before the underlying moves at all.
-646.5k -323.3k 1.1 3m: -53,879 -53.9k 3m 6m: -107,758 -107.8k 6m 12m: -215,515 -215.5k 12m 24m: -431,030 -431.0k 24m 36m: -646,546 -646.5k 36m
Summary: Spot 78.00, front 79.20, back 80.60: a curve in contango.
Summary: The back month trades 1.77% above the front, which is contango. Rolling every 30 days, that scales (simple, not compounded) to -21.51% a year before any move in the underlying, or -215,232 on a 1,000,000 position over 12 months.
Interactive chart & math engine powered by CalculatorGraph

Formula: Roll Yield from the Term Structure

Roll per period = (Fnear - Ffar) / Fnear
Annualised = roll per period x (365 / d)
Roll per period = (F_near - F_far) / F_near ; Annualised = roll per period x (365 / d)
  • Fnear: Price of the front-month contract currently held
  • Ffar: Price of the contract the position rolls into
  • d: Days between the two contracts, which sets how many rolls happen a year

Rounding: Percentages to two decimal places; cash to whole units. A year is 365 days.

Worked example: Example: front at 79.20, back at 80.60, rolling monthly

A market in contango with spot below the front month.

  1. Each roll sells at 79.20 and buys at 80.60, a loss of 1.40 on 79.20, so -1.77% per roll.
  2. Rolling every 30 days means 12.17 rolls a year.
  3. Annualised, that is -21.51% before the underlying moves at all.
  4. Over 12 months on $1,000,000 the roll effect is -$215,232.
Result: A curve this steep costs 21.51% a year to stay long, or $215,232 on this position. Spot would have to rise by more than that just to break even.

Frequently Asked Questions

Why does a commodity ETF lag the spot price?

Because it does not hold the commodity, it holds futures, and it has to roll them before expiry. In a market in contango each roll sells a cheaper contract and buys a dearer one, so the fund loses a little every time regardless of what spot does. Over a year of monthly rolls in a steep curve that can be 20% or more, which is why long-horizon commodity ETF charts often diverge sharply from the spot price they track.

Is backwardation always good for a long position?

It is a tailwind, not a guarantee. In backwardation each roll sells a dearer contract and buys a cheaper one, so carry is positive and a long position earns simply by rolling. The underlying can still fall by more than the roll earns. Backwardation also tends to appear when physical supply is tight, which is a condition that can reverse quickly.

What is the difference between roll yield and basis?

Basis is the gap between the front-month future and spot at a point in time, and it converges to zero at expiry. Roll yield is the gap between the contract you are selling and the one you are buying, which is what you actually realise when you roll. They are related through the shape of the curve, but you trade the roll and only observe the basis.

Does roll yield apply to equity index futures too?

Yes, though it is usually small and driven by interest rates and dividends rather than storage. An equity index future prices at spot plus financing minus expected dividends, so the curve is normally in mild contango when rates exceed the dividend yield. The same arithmetic applies; the magnitude is typically a few percent a year rather than twenty.

Does a higher spot price change the roll yield?

No. The engine computes roll yield only from the front and back futures prices and the days between them. Spot affects only the basis line. That is why moving spot leaves the -21.51% annualised figure and the -215,232 cash effect untouched on the default inputs. To see a different roll, change the back month price or the day count.

Is the annualised figure compounded?

No, and the interpretation says so: the roll scales, simple and not compounded. The engine multiplies the per-period roll by the number of rolls a year, so -1.77% times 12.17 becomes -21.51%. Compounding the same loss on a constant notional gives a slightly smaller annual decline, a little under 20%. For short holding periods the difference is small; over several years it grows. Use the headline as the more conservative of the two.

Why does changing the days to 90 cut the cost so much?

Because the engine keeps your per-period spread fixed and simply rolls less often. At 90 days there are about 4.1 rolls a year, so -1.77% per roll annualises to -7.17%. A real contract 90 days away would normally trade at a wider spread to the front, so enter its actual price when you change the days, or the answer will be too optimistic.

How do I read the result for a short position?

Reverse every sign. The page is written for a long holder, so a contango curve that costs a long -21.51% a year is, before frictions, a carry gain of about the same size for a short who rolls on the same schedule. The basis and term structure labels stay the same; only the direction of the cash effect changes. Shorts also pay any borrow or margin costs the page leaves out.

Can I enter more than 12 months of holding period?

Yes, up to ten years of months. The engine scales the cash effect linearly, so 24 months gives roughly twice the 12-month figure. That linear scaling assumes the curve shape stays fixed for the whole period, which becomes less realistic the longer you go. Treat multi-year figures as a rough sense of scale rather than a projection.

Why does the per-period line say cost when the number is positive?

The label is fixed as roll cost each period. In backwardation the number turns positive, as with a back month of 78.4 against a front of 79.2, giving +1.01%. Read a positive value as a gain to a long position. The headline sublabel does switch to say a long position earns to roll, which is the reliable indicator.

What notional should I enter for a single contract?

Contract notional is the futures price times the contract multiplier. Enter that figure, or the total across all contracts you hold. The roll percentages do not depend on notional at all; it only scales the cash line. For a fund, enter the total exposure it keeps through each roll, not the margin posted. Doubling the notional doubles the cash effect and nothing else.

Does this account for the interest earned on collateral?

No. The page isolates the term-structure carry. A fully collateralised long position typically holds cash or bills earning short-term interest, which partly offsets contango. To estimate total return, add that collateral yield and the expected spot move to the roll yield, then subtract fees and roll spreads, none of which the engine includes.

Why might my fund's roll cost differ from the page?

Funds often roll over several days rather than at one price, may hold contracts further out than the second month, and pay spreads and fees each time. They may also divide by a different price when reporting. Any of these moves the figure by tenths of a percent or more, so compare conventions before concluding the page or the fund is wrong.

How often should I recheck the curve?

Whenever you roll, at the least. The page assumes the shape you enter persists for the whole holding period, and commodity curves shift with inventories, seasons and interest rates. Re-entering the live front and back prices each roll month shows whether the carry you budgeted for is still the carry you are paying. This page is not financial advice.

What the default curve costs a long holder

The starting inputs describe a commodity with spot at 78, the front month future at 79.2 and the next contract at 80.6, thirty days apart. A long position of 1,000,000 is held for 12 months, rolled every time the front contract nears expiry. The engine's headline is an annualised roll yield of -21.51%, flagged as contango, with a roll cost each period of -1.77% and a cash effect of -215,232 over the year.

That figure is what the curve alone takes from the position if its shape never changes. It says nothing about where the price of the commodity goes. A long holder could gain on the underlying and still lose overall if the move is smaller than the carry, and the page is built to make that separation visible before money is committed.

Four of the supporting lines come straight from the two futures prices and the day count. Only one line, the basis, uses the spot price, and none of the roll figures depend on spot at all. That is worth knowing before you start changing inputs.

Reproducing -1.77% and -21.51% on paper

The engine computes the roll per period as front minus back, divided by front. On the defaults that is 79.2 minus 80.6, or -1.40, divided by 79.2, which is -0.01768 or -1.77%. It then counts rolls a year as 365 divided by the days between contracts: 365 over 30 is 12.17, which the page shows rounded as 12.2.

The annualised figure is the per-period roll multiplied by that count: -1.768% times 12.17 gives -21.51%. This is a simple multiplication, not compounding, and the interpretation sentence says so in as many words: the roll scales, simple and not compounded, to the annual figure. Compounded on a constant notional, a 1.77% loss repeated twelve times shrinks the position by a little under 20% rather than 21.5%, so the headline is slightly the more pessimistic of the two conventions.

There is also a choice of denominator. Dividing the 1.40 spread by the 80.6 contract you actually buy gives 1.74% per roll instead of 1.77%. Neither is wrong, but if you compare this page with a fund report or a research note, check which price they divide by before treating a few tenths of a percent as a real disagreement.

Why the cash figure is -215,232 and not exactly 21.51%

The holding period figure uses a slightly different day count from the annualised rate. For the cash effect the engine converts months to days at 30.44 days a month, so 12 months comes out marginally longer than a 365-day year and gives 12.18 rolls. Multiplying 1,000,000 by -1.768% and by that roll count gives -215,232.

If you take the headline -21.51% and apply it to 1,000,000 you get a figure a couple of hundred dollars smaller. The gap is rounding and day count, not a mistake in your inputs, and it is far below the precision of any real forecast of roll costs.

The cash effect scales in a straight line with time. At 6 months the roll effect is exactly half the full-year number, because the engine applies the same per-roll loss to the same notional each time. It does not shrink the notional as losses accumulate, nor reinvest gains, which matters more over long holding periods than over a single year.

One consequence of the linear method is that the cash line overstates the damage on a long horizon in contango and understates the gain in backwardation, relative to a compounded calculation. Over 12 months the difference is modest. Over five years of steady contango at the default spread, the linear figure would imply losing more than the whole notional, which cannot happen to a fully collateralised long, so long-horizon outputs should be read as an indication of direction and scale only.

The days-between-contracts input carries most of the weight

The roll frequency is set entirely by the days field, and it is easy to change it without changing the prices to match. Run the default prices with 90 days between contracts and the annualised yield falls to -7.17%, with only 4.1 rolls a year. The per-period cost is still -1.77%, because the two prices did not move.

That combination is unrealistic. A contract three months out usually sits further from the front than one a month out, so the spread per roll would be larger. When you change the days, enter the actual price of the contract that many days away rather than keeping the default back month price.

The field accepts whole days from 1 up to a full year of days. A quarterly roll schedule, as used by many equity index and some interest rate futures, needs the quarterly contract's price and roughly 91 days. Monthly energy contracts are close to the 30-day default. Grain and livestock contracts have irregular gaps, and the honest approach is to enter the real number of days between the two expiry dates you are trading.

Flipping the curve into backwardation

Lower the back month below the front and the sign reverses. With the back contract at 78.4 instead of 80.6, which is the backwardation preset on the page, the curve is in backwardation, the roll per period becomes +1.01%, and the annualised roll yield is +12.29%. A long position now earns by rolling, selling the dearer expiring contract and buying the cheaper one.

The label on the per-period line still reads roll cost each period, so in backwardation a positive cost is a gain. The headline sublabel switches correctly from pays to earns. Set the two futures prices equal and the page reports a flat curve with a 0.00% roll and no cash effect.

A short position sees the mirror image of every figure. The page is written for a long holder; if you are short, flip the sign of the annualised yield and the cash effect to read your own carry.

What the spot price input actually changes

Spot feeds only the basis line: front minus spot, shown in price terms and as a percentage of spot. On the defaults that is +1.20, or 1.54%. If spot is 79.5, a little above the front, the basis turns negative to -0.30 while the curve between the two futures is still in contango. The roll figures do not move at all.

This is why the presets on the page vary the next month price rather than spot. The backwardation preset puts the next contract at 78.4 and earns +12.29% a year, or 122,990 on the default position. The default at 80.6 costs -21.51%. The steep contango preset at 82.0 doubles the spread to 2.80 and the cost per roll to -3.54%, which annualises to -43.01% and a cash effect of -430,465 over 12 months. In all three the basis line stays at +1.20, because spot and the front month never change.

Basis and roll are related through the curve shape, but you trade the roll. If you want to see how a change in market conditions affects your carry, change the back month price, not the spot.

If you are pulling prices from a data feed, check that spot and futures are quoted in the same unit and currency. A spot price per tonne against futures per bushel, or a spot in one currency against futures in another, produces a basis that looks dramatic and means nothing.

Costs and moves the roll yield sits beside

The roll figure assumes every roll happens at the quoted prices. In practice each roll pays a bid-offer spread on two legs and an exchange fee, and a large position may move the price it trades at. For a fund rolling monthly those frictions repeat twelve times a year and add to whatever the curve costs.

The collateral behind a futures position usually earns interest, which offsets part of a contango cost. A fully collateralised long holding cash at short-term rates collects that interest alongside the roll, so total return is roughly spot move plus roll yield plus collateral yield, minus fees. The page shows the roll term only.

The curve itself will not hold still. Seasonal commodities reshape their curves every few months, and storage constraints can steepen contango sharply. Treat the annualised figure as a snapshot of today's carry rather than a forecast for the year. This page is not financial advice, and anyone sizing a real futures or commodity fund position should take the curve and cost assumptions to someone who trades that market.

Using the result to compare instruments

A practical way to use the page is to run the same commodity at two or three points on the curve. Compare the front-to-second-month roll with a roll further out, using the real prices and days for each pair. If deferred contracts show a much smaller annualised cost, a fund or strategy that holds further out on the curve may lose less to carry, at the price of tracking spot less closely.

It is also a fair check on a commodity ETF's tracking gap. If the fund rolls monthly and the curve has been in steady contango of about 1.77% a month, a shortfall against spot of around a fifth over a year is about what the arithmetic predicts, before fees. A gap much larger than the page's figure points to costs or timing the curve alone does not explain.