Tabellab

You are not signed in — the lab works, but your progress is not saved. Sign up

Lesson 1 of 20 is free. Unlock all 20 hands-on labs, the final exam and your certificate.

Buy course — CHF 9.90
Loading the spreadsheet…

Why the futures price is not a guess about the future

If you are studying for a finance exam, preparing for a CFA or FRM style course, working on a treasury, commodity or risk desk, or you simply saw an index futures quote on a screen and wondered why it is higher than the index itself, this lesson is for you. Many people assume a futures price is the market's forecast of where an asset will trade later. It is not. For assets that can be bought and stored, the fair futures price follows almost mechanically from three inputs you can type into a spreadsheet: today's price, the interest rate and what it costs (or earns) to hold the asset until delivery.

That relationship is called the cost of carry, and it is the first building block of every derivatives model in this course. Once you understand it, a futures quote stops being a mystery number and becomes something you can check in one Excel cell. If the quote and your fair value disagree, you can say exactly which side is too expensive and what trade would lock in the difference. That is the idea of no-arbitrage pricing, and the same logic later gives you put-call parity, binomial trees and Black-Scholes.

This free first lesson uses the same fictional case as the lab above: the Harbour 500 stock index at 4,850 points with a half-year futures quoted at 4,955, and a one-year copper forward with storage costs. All indices, prices and rates are invented for learning. This lesson is educational only and is not investment or trading advice: it explains how prices are built, not what anyone should trade.

The core idea: buy now and hold, or agree a price for later

Imagine you need to own one unit of the Harbour 500 in six months. You have two ways to get there. You can sign a futures contract today that fixes the purchase price, and pay that price at expiry. Or you can buy the index today with borrowed money, hold it for six months and repay the loan at the end. Both routes leave you owning the same asset on the same date. If the market is free of easy arbitrage, both routes must cost the same.

The second route has costs and benefits. You pay interest on the loan: that is the financing cost, written r. Some assets cost money to keep, such as warehouse rent and insurance for copper or oil: that is the storage cost, written u. Other assets pay you while you hold them, such as dividends on shares: that is the income yield, written q. The net of these is the cost of carry, r + u − q.

With continuously compounded rates, the fair forward price is F = S × e(r + u − q) × T, where S is the spot price today and T is the time to delivery in years. In Excel, EXP() raises e to a power, so the formula becomes =S*EXP((r+u-q)*T). When the net carry is positive, the forward is above spot (a market in contango). When income exceeds financing and storage, the forward can sit below spot (often called backwardation).

Why continuous rates? They make the maths clean: growth over half a year is simply erate × 0.5, rates add in the exponent, and the dividend yield of an index paid out across many companies and days is close to a continuous stream. If a textbook gives you annual compounding instead, the same idea reads =S*(1+r)^T adjusted for income, and the two methods give slightly different numbers for the same quoted rate. Always check which convention your rates use before you compare a fair value with a market quote.

Forwards versus futures in one paragraph

A forward is a private agreement between two parties, settled once at the end. A futures contract is standardised and traded on an exchange, and gains and losses are settled every day through margin (marked to market). That daily settlement changes the timing of cash flows, but when interest rates are constant, theory shows that the fair futures price equals the forward price. So for this lesson, and for most practical checks, the same formula prices both.

Worked example: the Harbour 500 half-year futures

Here are the inputs from the lab sheet and the results you will calculate. Each formula refers to the cells in column B of the lab, so you can type them exactly as shown.

CellItemValueExcel formula
B3Index level today (spot S)4,850input
B4Risk-free rate r (continuous, per year)4.5%input
B5Dividend yield q (continuous)1.6%input
B6Time to expiry T (years)0.5input
B7Futures price quoted in the market4,955input
B8Fair futures price4,920.84=B3*EXP((B4-B5)*B6)
B9Mispricing: quoted − fair34.16=B7-B8
B10Arbitrage side for the futuresselltyped answer

Step by step: the net carry is 4.5% − 1.6% = 2.9% per year. Over half a year the exponent is 0.029 × 0.5 = 0.0145, and e0.0145 ≈ 1.014606. Multiply by 4,850 and you get a fair futures price of about 4,920.84. The market quote of 4,955 is 34.16 points above that fair value. Note that the dividend matters a lot: without it, =B3*EXP(B4*B6) would give about 4,960.36, and you would wrongly conclude that the quote is too cheap.

Fair futures price vs time to expiry (r − q = 2.9%)4,8004,8504,9004,9505,0005,05000.250.50.751Time to expiry T (years)Spot today 4,850Quoted 4,955Fair 4,920.84+34.16 too high
The fair price grows smoothly with time to expiry because carry accrues every day. At half a year the quote (peach) sits above the fair price (sky). Fictional numbers from the lab.

What the mispricing means: cash-and-carry

A quote above the fair price means the futures is too expensive relative to buying and holding the index. The no-arbitrage textbook trade is called cash-and-carry: sell the expensive side (the futures) and buy the cheap side (the index, financed with a loan). The diagram and table below follow the cash flows for one index unit. Because the index pays a 1.6% dividend yield that is reinvested, you buy slightly less than one unit today, e−0.016 × 0.5 ≈ 0.9920 units, so that you hold exactly one unit at expiry.

Cash-and-carry: what happens today and at expiryTODAY (T = 0)EXPIRY (T = 0.5)1. Borrow4,811.35 at 4.5%2. Buy the index0.9920 units3. Sell the futuresat 4,955 (no cash yet)Repay the loan−4,920.84Hold 1.0000 unitdividends reinvestedDeliver the unit+4,955interest grows the loandividend yield 1.6%price locked inLocked-in result: +34.16 per unit
Cash-and-carry for one Harbour 500 unit. All three legs are fixed today, so the result at expiry does not depend on where the index ends up.

StepToday (T = 0)At expiry (T = 0.5)Excel
Borrow to buy the index+4,811.35−4,920.84=B3*EXP(-B5*B6) and =B3*EXP(-B5*B6)*EXP(B4*B6)
Buy index units−4,811.35hold 1.0000 unit=EXP(-B5*B6) units
Sell the futures0+4,955 for the unit=B7
Net0+34.16=B7-B8

Notice that the loan repayment, 4,920.84, is exactly the fair futures price. That is no coincidence: the fair price is the cost of buying the asset today and carrying it to expiry. The arbitrage profit is therefore simply quoted minus fair. In the opposite case, a quote below fair value, the logic reverses into reverse cash-and-carry: buy the futures, sell the index short and invest the proceeds. In real markets, transaction costs, bid-ask spreads, borrowing fees for short sales, margin and taxes create a band around the fair price inside which no trade is worthwhile, so small gaps are normal and not free money.

Second example: a copper forward with storage costs

Copper pays no dividend, but holding it costs money: warehouse rent, insurance and handling. In the lab, storage and insurance cost 0.4% per year (continuous), on top of the 4.5% financing rate. Spot is $9,800 per tonne and delivery is in one year. The fair forward is =B12*EXP((B13+B14)*B15) = 9,800 × e0.049 ≈ $10,292.16 per tonne. Here storage adds to the carry, while the dividend in the index example reduced it.

Copper: from spot to the 1-year forward ($ per tonne)9,0009,50010,00010,5009,800Spot price+451+ Financing+41+ Storage10,292.16Forward priceNote: the vertical axis starts at 9,000
The forward price is spot plus the cost of financing (about $451) plus storage (about $41). The vertical axis starts at 9,000 to make the steps visible.

Real commodity markets add one more term that this lesson keeps out on purpose: the convenience yield, the benefit some users get from holding the physical metal (a factory that cannot stop its line). It acts like income and can push forwards below the pure cost-of-carry price. For financial assets such as indices, the simple formula above is usually a very good model.

How to build it in Excel, step by step

  1. Open the lab above (or a blank workbook). Put labels in column A and inputs in column B, exactly as in the table: spot in B3, rate in B4, dividend yield in B5, time in B6 and the quote in B7.
  2. Format the rates as percentages: select B4:B5, press Ctrl+Shift+% (Mac: Cmd+Shift+%) or use Home › Number › Percent Style, then add a decimal with Increase Decimal.
  3. Click B8 and type =B3*EXP((B4-B5)*B6). Press Enter. Check the result against a quick estimate: 2.9% for half a year is about 1.45% above spot, roughly 70 points.
  4. In B9 type =B7-B8. A positive number means the quote is above fair value, a negative one means below.
  5. In B10 you can type the answer, or let Excel decide with =IF(B9>0,"sell","buy"). This turns your rule into a formula you can reuse for any quote.
  6. For the copper forward, enter spot, rate, storage and time in B12:B15 and type =B12*EXP((B13+B14)*B15) in B16. Format B12 and B16 as currency with Ctrl+Shift+$.
  7. To see the term structure, list maturities 0.25, 0.5, 0.75 and 1 in a spare column and copy the fair-price formula down, using $B$3, $B$4 and $B$5 so the inputs stay fixed. Press F4 while the cursor is on a reference to add the dollar signs.
  8. Select the maturities and prices and choose Insert › Charts › Scatter with Smooth Lines to draw the curve shown above. Add a second series with the single quoted point to see the gap visually.
  9. Press Ctrl+` (the grave accent key) to toggle formula view and audit every cell before you rely on it.
Keep inputs and formulas separate: inputs in one colour, formulas never typed over. When the rate or the dividend yield changes, every result updates by itself, and you can test what happens to the fair price when, for example, the dividend yield doubles.

Options and derivatives basics in Excel course cover
Options & Derivatives Basics in Excel: 20 hands-on labs from cost of carry to implied volatility.

Common mistakes and how to spot them

  • Forgetting the dividend yield. =B3*EXP(B4*B6) ignores income and overprices the index futures. Spot it when your fair price is close to spot plus the full interest rate: for a dividend-paying index the gap should be smaller.
  • Mixing compounding conventions. Using an annually compounded rate inside EXP(), or a continuous rate inside (1+r)^T, gives slightly wrong prices. Write the convention next to every rate input.
  • Time in months instead of years. Typing 6 instead of 0.5 in B6 multiplies the carry by twelve. If the fair price looks wildly above spot, check T first. =months/12 or =(expiry-today)/365 avoids the error.
  • Percent typed as whole numbers. Entering 4.5 instead of 4.5% means a 450% rate. Format the cell as a percentage before typing, or type 4.5% with the sign.
  • Storage with the wrong sign. Storage costs add to the carry (r + u), income subtracts (r − q). If the copper forward comes out below spot, the sign of u is probably wrong.
  • Reading the gap the wrong way round. Quoted minus fair positive means the futures is rich, so the arbitrage leg on the futures is the sell side. If you are unsure, ask which side is too expensive and remember the textbook rule: sell the expensive one.
  • Treating every gap as profit. Fees, spreads, margin, short-sale costs and taxes create a no-arbitrage band. A gap smaller than those costs is not an opportunity at all.

Quick reference: functions and shortcuts used

Function / shortcutWhat it doesExample from this lesson
EXP(x)e raised to the power x (continuous growth)=B3*EXP((B4-B5)*B6)
LN(x)Natural log, the inverse of EXP: turns a price ratio into an implied carry rate=LN(B7/B3)/B6 = carry implied by the quote
IF(test, a, b)Returns a if the test is true, otherwise b=IF(B9>0,"sell","buy")
ABS(x)Size of a number without its sign=ABS(B9) = size of the mispricing
F4Cycles a reference through $A$1, A$1, $A1, A1Fix inputs before copying the formula down
Ctrl+Shift+%Percent formatRates in B4:B5
Ctrl+`Show formulas instead of resultsAudit the whole sheet

The LN row is a useful check in the other direction. The quote of 4,955 implies a net carry of =LN(4955/4850)/0.5 ≈ 4.28% per year, while the inputs give 2.90%. The difference of about 1.38% per year is the same mispricing expressed as a rate.

Real-world uses of the cost-of-carry model

  • Index futures desks compare quoted futures with fair value every day. If the futures is consistently rich or cheap, it tells them about financing conditions or demand from hedgers, not just about arbitrage.
  • Corporate treasury teams that hedge foreign currency use the same formula, with the foreign interest rate in the place of q: the forward exchange rate is spot × e(rhome − rforeign) × T (covered interest parity).
  • Commodity buyers, for example a cable maker that needs copper next year, use cost of carry to judge whether a forward quote from a supplier is reasonable once storage and financing are included.
  • Fund administrators and auditors value open forward contracts at month end. The value of a long forward is roughly (current fair forward − contract price) discounted to today, which uses the same inputs.
  • Students and exam candidates meet cost of carry in almost every derivatives syllabus. Being able to build it from first principles in Excel makes the exam questions much easier to check.

What you will build in the rest of this course

Lesson 1 is free. The remaining 19 labs are part of the paid course ($9.90 one-time), and each one builds on the no-arbitrage logic you just used.

Option Payoffs & Profit at Expiry. You build a profit table for long and short calls and puts across a grid of expiry prices with MAX, and see exactly where each position breaks even and why the buyer's loss is limited to the premium.

Strategy Payoffs: Covered Call, Protective Put, Spread & Straddle. You combine stock and option legs into four classic structures and read their profit profiles from one price grid, so you can explain how each one reshapes risk.

Put-Call Parity: Check & Arbitrage Direction. The cost-of-carry idea applied to options: you test whether market call and put prices are consistent, measure the gap and find which option is overpriced.

Binomial Trees: One-Step & Two-Step Pricing. You price a European call with risk-neutral probabilities in a small tree, the most intuitive way to see why option prices do not depend on anyone's forecast.

Black-Scholes: Pricing a Call & a Put. You calculate d1 and d2, look up N(d) with NORM.S.DIST and price both options. The EXP discounting you practised here appears again in every term.

The Greeks: Delta, Gamma & a Simple Delta Hedge. You measure how option prices react to the underlying and work out how many shares a dealer would hold to hedge calls it sold.

Implied Volatility: Backing Out σ from a Market Price. You run Black-Scholes across a grid of volatilities and use INDEX and MATCH to find the one that matches the market price, the number traders actually quote.

Summary

A futures or forward price is not a forecast. It is the cost of buying the asset today and carrying it to delivery: =S*EXP((r+u-q)*T). For the fictional Harbour 500, that gives a fair price of 4,920.84 against a quote of 4,955, a gap of 34.16 points that the textbook cash-and-carry trade would lock in before costs. For copper, storage pushes the one-year forward to about $10,292.16. Now scroll up to the lab, type the four formulas yourself and let the sheet check every cell. It takes about ten minutes, and the same pattern returns in every later lesson.

Frequently asked questions

How do you calculate a futures price in Excel?

Use the cost-of-carry formula with continuous rates: =S*EXP((r+u-q)*T), where S is spot, r the interest rate, u storage costs, q the income yield and T the time in years. For a stock index without storage it is =S*EXP((r-q)*T).

What is cost of carry?

Cost of carry is the net cost of holding an asset until a future date: financing plus storage minus any income it pays. It explains why forward prices usually differ from today's spot price.

Why is the futures price higher than the spot price?

When the interest rate plus storage costs exceed the income the asset pays, holding the asset costs money, so the fair futures price is above spot. If income is larger, the futures can trade below spot.

What is a cash-and-carry arbitrage?

It is the textbook trade when a futures is quoted above its fair price: sell the futures, borrow money and buy the asset, then deliver it at expiry. Before costs it locks in the difference between the quoted and the fair price.

Is a forward price the same as a futures price?

Not exactly, because futures are settled daily through margin. With constant interest rates, theory shows the fair prices are equal, so the same formula is used for both in most practical checks.

Why use EXP instead of (1+r)^T?

EXP is used when rates are quoted with continuous compounding, which keeps the formula simple and lets rates be added and subtracted in the exponent. If your rate is annually compounded, use (1+r)^T instead and do not mix the two.

Keep going: Options & Derivatives Basics in Excel

This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.

  1. Option Payoffs & Profit at Expiry
  2. Strategy Payoffs: Covered Call, Protective Put, Spread & Straddle
  3. Put-Call Parity: Check & Arbitrage Direction
  4. Binomial Trees: One-Step & Two-Step Pricing
  5. Black-Scholes: Pricing a Call & a Put
  6. The Greeks: Delta, Gamma & a Simple Delta Hedge
  7. Implied Volatility: Backing Out σ from a Market Price
  8. Black-Scholes with Dividends: Index & Currency Options
  9. American Puts: Early Exercise in a Binomial Tree
  10. Vega, Theta & Rho: Volatility, Time and Interest Rates
  11. Delta Hedging Over Ten Days: Rebalancing & the Cost of Gamma
  12. More Strategies: Collar, Butterfly & Iron Condor
  13. Scenario Grid: Delta-Gamma-Vega P&L of an Options Book
  14. Expected Move & Risk-Neutral Probabilities from Implied Volatility
  15. Monte Carlo Pricing: Simulating Prices at Expiry
  16. Volatility Skew: A Different Volatility for Every Strike
  17. Historical vs Implied Volatility: Rich or Cheap?
  18. Options on Futures & Digital Options
  19. Final Project: Options Book Dashboard

Buy course — CHF 9.90 See the full course