Why expected value is the first thing to master for a trading interview
If you are preparing for interviews for quantitative trading, market-making or other probability-heavy roles, you will meet one idea again and again: expected value. Practice questions are often framed as small games. "I roll a die and pay you the number that comes up. What would you pay to play?" Then the game changes: you may roll again, or draw a card, or the interviewer names a price and asks whether you take the bet. Behind every version sits the same question: what is this game worth on average, and is the price above or below that?
This free first lesson is for students, career changers and anyone who wants a solid, calm method for these questions instead of guessing under pressure. You price three games in the lab above: one die roll, the same die with an option to reroll, and one card from a full deck that you are offered at a fixed price. This article walks through the same three games in more depth, shows the reasoning you would say out loud, and gives you the exact Excel formulas so you can check your mental math in seconds.
A word on scope: this course is independent practice. It is not affiliated with any firm, exchange, regulator or exam body, it does not describe how any particular company runs its interviews, and nothing here is investment advice. All games, prices and numbers are illustrative.
Expected value in plain words
The expected value (EV) of a game is the probability-weighted average payout. Multiply each possible payout by its probability and add the results. If you could play the game thousands of times, your average payout per play would settle close to the EV. That is why the EV is called the fair price: if you pay exactly the EV, you neither win nor lose on average.
Three consequences follow, and they are worth saying in an interview. First, if you can buy a game below its EV, you have a positive edge, and if you must pay more than the EV, you lose on average. Second, the EV is a long-run average, not a prediction of one play: a single die never shows 3.5. Third, EV is linear. The EV of a sum is the sum of the EVs, and 100 plays are worth 100 times one play. That last fact makes many puzzles much shorter than they first appear.
In formula form, EV = Σ payout × probability. In a spreadsheet the whole sum is one function: =SUMPRODUCT(payouts,probabilities). SUMPRODUCT multiplies the two ranges row by row and adds the products, which is exactly the definition of expected value.
Game 1: one fair die
You roll one fair die and are paid the number in USD. Each face from 1 to 6 has probability 1/6, so EV = (1 + 2 + 3 + 4 + 5 + 6) ÷ 6 = 21 ÷ 6 = 3.50. If someone offers you the game for USD 3, you would play: your expected profit is 0.50 per roll. At USD 4 you would decline, since you expect to lose 0.50 per roll.
The same logic gives you a quick feel for risk. The payout varies a lot around 3.5: the variance of one die is 35/12 ≈ 2.92 and the standard deviation about 1.71. You do not need that number today, but later in the course it comes back when you size bets, because an edge only helps you if you can survive the swings.
Game 2: the option to reroll
Now the interviewer adds a twist. After the first roll you may roll once more, but if you do, you must keep the second roll. What is the game worth now? The key is that you decide after seeing the first roll, and the second roll, if you take it, is worth 3.5 on average. So you compare each first roll with 3.5.
- Roll 4, 5 or 6: these beat 3.5, so you keep them. Their average is 5.
- Roll 1, 2 or 3: these are below 3.5, so you reroll and expect 3.5.
- Each branch happens with probability 3/6 = 1/2.
EV = 1/2 × 5 + 1/2 × 3.5 = 2.5 + 1.75 = 4.25. The option to reroll is worth 4.25 − 3.50 = 0.75 per game. Notice that an option can never make a game worse: in every branch you take the better of two values, so the EV can only rise or stay the same.
The table below lays out the full calculation. The fourth column is the Game 1 EV term by term, and the last column shows the value you end up with under the reroll rule: the face itself if you keep it, or 3.5 if you reroll.
| Face | Payout (USD) | Probability | Payout × probability | Decision in Game 2 | Value you end up with |
|---|---|---|---|---|---|
| 1 | 1.00 | 1/6 = 0.1667 | 0.1667 | reroll | 3.50 |
| 2 | 2.00 | 1/6 = 0.1667 | 0.3333 | reroll | 3.50 |
| 3 | 3.00 | 1/6 = 0.1667 | 0.5000 | reroll | 3.50 |
| 4 | 4.00 | 1/6 = 0.1667 | 0.6667 | keep | 4.00 |
| 5 | 5.00 | 1/6 = 0.1667 | 0.8333 | keep | 5.00 |
| 6 | 6.00 | 1/6 = 0.1667 | 1.0000 | keep | 6.00 |
| Total | 1.0000 | 3.5000 (Game 1) | average 4.25 (Game 2) |
Two follow-up questions are popular in practice sets, and the same idea answers both. "What if you could see both rolls and keep the higher one?" That is a different game: the expected maximum of two dice is 161/36 ≈ 4.47, higher than 4.25 because you have more information. "What if you may reroll twice?" Work backwards: with one reroll left the game is worth 4.25, so on the first roll you keep only 5 or 6. EV = 2/6 × 5.5 + 4/6 × 4.25 = 14/3 ≈ 4.67. This backward induction, solving the last decision first, is the backbone of many stopping problems.
Game 3: one card from a full deck
You draw one card from a standard 52-card deck and are paid its value: ace pays 1, number cards pay their number, and the 10, jack, queen and king each pay 10. Every rank has four cards, so the probability of each rank is 4/52 = 1/13. But the payouts are not evenly spaced any more, because four ranks share the payout 10. That is why the plain average of 1 to 10 (5.5) is wrong.
Weight each rank by its number of cards: total value of the deck = 4 × (1 + 2 + … + 9) + 16 × 10 = 4 × 45 + 160 = 340. Divide by 52 cards: EV = 340 ÷ 52 ≈ 6.54. In the sheet, =SUMPRODUCT(B16:B28,C16:C28)/SUM(B16:B28) does exactly this, and it keeps working if you change the deck, for example by removing the face cards.
| Rank | Cards | Payout (USD) | Cards × payout |
|---|---|---|---|
| Ace | 4 | 1.00 | 4 |
| 2 | 4 | 2.00 | 8 |
| 3 | 4 | 3.00 | 12 |
| 4 | 4 | 4.00 | 16 |
| 5 | 4 | 5.00 | 20 |
| 6 | 4 | 6.00 | 24 |
| 7 | 4 | 7.00 | 28 |
| 8 | 4 | 8.00 | 32 |
| 9 | 4 | 9.00 | 36 |
| 10 | 4 | 10.00 | 40 |
| Jack | 4 | 10.00 | 40 |
| Queen | 4 | 10.00 | 40 |
| King | 4 | 10.00 | 40 |
| Total | 52 | 340 → 340 ÷ 52 = 6.54 |
The final step in the lab is the trading decision. You are offered the card game at USD 7 per draw. Expected profit per draw = EV − price = 6.54 − 7.00 ≈ −0.46. Over 100 draws, by linearity, the expected profit is 100 × (6.54 − 7.00) ≈ −46.15 USD. The answer is "do not play at 7", and a strong candidate would add: "I would pay up to about 6.50, and I would happily sell this game to someone at 7."
The formulas behind the lab
Here are the four answers with the formulas the Coach accepts. Each one is a direct translation of the reasoning above.
| Cell | What it calculates | Formula | Result |
|---|---|---|---|
| B10 | Fair price of one die roll | =SUMPRODUCT(B3:B8,C3:C8) | 3.50 |
| B12 | EV with one optional reroll | =SUMPRODUCT((B3:B8>B10)*B3:B8*C3:C8)+SUMPRODUCT((B3:B8<=B10)*C3:C8)*B10 | 4.25 |
| B30 | Fair price of one card draw | =SUMPRODUCT(B16:B28,C16:C28)/SUM(B16:B28) | 6.54 |
| B32 | Expected profit of 100 draws at the price in B31 | =100*(B30-B31) | −46.15 |
The Game 2 formula looks long, but read it in two halves. The first SUMPRODUCT adds payout × probability only for faces above B10, because (B3:B8>B10) turns into 1 for kept faces and 0 for the others. The second SUMPRODUCT adds the probabilities of the faces you reroll and multiplies that by B10, the value of rolling again. Kept faces plus rerolled faces cover every outcome exactly once.
If the long formula feels fragile, use a helper column in your own copy: in D3 write =MAX(B3,$B$10), fill it down to D8, then =SUMPRODUCT(D3:D8,C3:C8) also returns 4.25. In Excel 365 you can skip the helper with =SUMPRODUCT(IF(B3:B8>B10,B3:B8,B10),C3:C8). All three versions give the same answer.
How to do it in Excel, step by step
You can follow these steps in the lab above or in any copy of Excel or Google Sheets.
- List the outcomes in one column and the payouts next to them (B3:B8 for the die). Put the probabilities in the next column. Type
=1/6rather than 0.1667, so the probabilities add up to exactly 1. - Check the probabilities first: in an empty cell type
=SUM(C3:C8). If it does not show 1, one probability is wrong. - In B10 type
=SUMPRODUCT(B3:B8,C3:C8)and press Enter. You should see 3.50. - In B12 build the reroll value. Type
=SUMPRODUCT((B3:B8>B10)*B3:B8*C3:C8), then add+SUMPRODUCT((B3:B8<=B10)*C3:C8)*B10. Press Enter: 4.25. - To inspect the formula, select B12 and open Formulas › Formula Auditing › Evaluate Formula. Click Evaluate repeatedly to watch the 1s and 0s appear.
- For the deck, list the 13 ranks with 4 cards each in column B and the payouts in column C. In B30 type
=SUMPRODUCT(B16:B28,C16:C28)/SUM(B16:B28): 6.54. - In B32 type
=100*(B30-B31). Format B10:B32 as currency with Home › Number Format › Currency (or Ctrl+Shift+4) so the negative profit is easy to read. - Test your model: change B31 to 6 and the expected profit should turn positive (+53.85). Change the payout of the jack, queen and king to 11, 12 and 13 and the fair value should rise to 7.00. If both reactions make sense, your formulas are general.
How to answer out loud
Many candidates know the math but lose points because the reasoning stays in their head. A clear spoken structure works for all three games:
- Define the payout and the probabilities. "The die pays 1 to 6, each with probability one sixth."
- Compute the EV with a shortcut. "Evenly spaced, so the average is (1 + 6) / 2 = 3.5."
- Handle decisions by comparing with the value of continuing. "If I may reroll, rolling again is worth 3.5, so I keep 4 and above."
- Compare with the price and state the action. "Fair value 6.54, price 7, so I lose about 46 cents a draw. I would not buy, but I would sell at 7."
- Sanity-check. "The option made the game worth more, not less, and the card value lies between 1 and 10, so the numbers are plausible."
Saying the threshold rule explicitly, keep when the current value beats the value of continuing, is the part that generalises. It is the same logic behind optimal stopping, option exercise and many market-making decisions later in the course.
Common mistakes and how to spot them
- Adding payouts instead of weighting them.
=SUM(B3:B8)gives 21, not 3.5. Spot it: the "price" is larger than the biggest payout. Fix it: multiply by the probabilities with SUMPRODUCT. - Using the expected maximum for the reroll game. 4.47 assumes you see both rolls. Spot it: your answer equals 161/36. Fix it: decide on the first roll by comparing it with 3.5.
- Keeping a 3 because "3 is close to 3.5". Close does not matter, only above or below. A 3 is worth less than a reroll, so reroll it.
- Averaging 1 to 10 for the card game. 5.5 ignores that four ranks pay 10. Spot it: your EV is below 6. Fix it: weight by the number of cards.
- Forgetting to divide by the number of cards.
=SUMPRODUCT(B16:B28,C16:C28)alone gives 340, the value of the whole deck. - Getting the sign of the profit backwards. Profit = what you expect to receive − what you pay. A positive answer at a price above fair value is a red flag.
- Probabilities that do not add up to 1. Typing 0.17 six times gives 1.02 and a slightly wrong EV. Use fractions such as
=1/6and check with SUM.

Quick reference: functions and shortcuts used in this lesson
Everything in the three games needs only these building blocks.
| Function / shortcut | What it does here | Example |
|---|---|---|
SUMPRODUCT | Multiplies two ranges row by row and adds the results: the expected value | =SUMPRODUCT(B3:B8,C3:C8) |
(range>value) | Turns a comparison into 1 (TRUE) and 0 (FALSE) inside SUMPRODUCT, so only some rows count | =SUMPRODUCT((B3:B8>B10)*C3:C8) |
SUM | Adds a range, here the number of cards | =SUM(B16:B28) |
MAX | Picks the better of two branches in a helper column | =MAX(B3,$B$10) |
AVERAGE | Quick EV check when all outcomes are equally likely | =AVERAGE(B3:B8) |
SUMPRODUCT(...)/SUM(...) | Weighted average with counts instead of probabilities | =SUMPRODUCT(B16:B28,C16:C28)/SUM(B16:B28) |
| F4 | Toggles absolute references such as $B$10 while editing a formula | Click B10 in the formula bar, press F4 |
| F9 (in the formula bar) | Evaluates the selected part of a formula so you can check one piece | Select (B3:B8>B10), press F9, then Esc |
| Ctrl+D | Fills a formula down a column | Select D3:D8, press Ctrl+D |
| Formulas › Evaluate Formula | Steps through a long formula one calculation at a time | Select B12 |
Real-world uses
- Interview preparation. Pricing a game, then pricing it again with an added option, is a common practice format. Checking your mental answers against a sheet builds the confidence to answer quickly without a calculator.
- Pricing any bet or promotion. A raffle, a "spin the wheel" discount or a bonus scheme is a game with payouts and probabilities. SUMPRODUCT tells you what it costs on average before you offer it.
- Valuing a decision you can delay. The reroll is an option: you wait, see information, then choose. The same reasoning values a project you can abandon, a contract you can extend or a test you can repeat.
- Comparing a quote with fair value. Whenever someone quotes a price for an uncertain payout, the first question is the same as in Game 3: what is the EV, and how far is the price from it?
- Building intuition for later topics. Expected value is the input to Kelly sizing, option payoffs and market-making P&L. Getting it right on dice makes the harder lessons much easier.
What you will build in the rest of this course
This first lesson is free. The remaining 19 lessons are part of the paid course (USD 9.90, one-time) and each one is a hands-on lab with the same Coach that checks your formulas, gives hints and explains typical mistakes.
Conditional Probability Puzzles: Bayes Tables for Coins and Cards. You solve two classic puzzles with a Bayes table: which coin did you draw after five heads in a row, and what is on the hidden side of a card? The table turns a confusing puzzle into a few multiplications and one division.
Expected Stopping Times: the Geometric Distribution and Two Wins in a Row. You build the step table of the geometric distribution, read off the chance of a win within k rolls and work out the expected wait for a six, and for two sixes in a row, which is longer than most people guess.
Variance and Kelly Sizing: How Much to Bet on an Edge. You measure the edge and the risk of a 2-to-1 bet, size it with the Kelly criterion and see in a growth table why betting twice Kelly earns almost nothing and betting more loses money.
Fair Value of Option Payoffs on Dice and Coins: Calls, Puts and Parity. You price a call and a put on a die roll, check put-call parity and value a call on a two-flip coin tree, building directly on the max-of-two-branches idea from today.
Market Making: Quoting a Spread, Tracking Inventory and Marking the P&L. You replay twelve customer trades against your two-sided quote and track the fill prices, your running inventory, cash and marked-to-market P&L, plus a chart of the inventory you had to carry.
Estimation Questions (Fermi): Break It Down, Bound It, Round It. You turn an estimation question into a chain of factors with low, base and high cases, find the midpoint on a log scale, round to a power of ten and size the revenue.
Mental-Math Drills Checked by Formulas: Percentages, Compounding and a P&L Chart. You check mental-math answers for percentage changes, compounding against the rule of 72 and a cumulative P&L, and chart the P&L path of a simulated strategy.
Summary
Expected value is the probability-weighted average payout and the fair price of a game. For a fair die it is 3.5. An option to reroll is valued by comparing each first roll with the value of continuing, which lifts the game to 4.25. A card draw needs weights by number of cards and is worth about 6.54, so paying 7 per draw costs about 46 dollars over 100 draws. In Excel, SUMPRODUCT does the weighting in one step, and a comparison inside SUMPRODUCT handles the decision rule.
Now scroll up to the lab and price the three games yourself. The Coach checks every cell, also with changed payouts and prices, so you know your formulas really work and not just for these numbers.
Frequently asked questions
How do you calculate the expected value of a die roll?
Multiply each face by its probability of 1/6 and add the results, which gives 3.5 for a fair six-sided die. Because the faces are evenly spaced, the shortcut (1 + 6) / 2 gives the same answer.
What is the expected value of a die if you can reroll once?
Keep the first roll if it is 4, 5 or 6 and reroll 1, 2 or 3, because a reroll is worth 3.5 on average. The expected value is 1/2 × 5 + 1/2 × 3.5 = 4.25.
What is the expected value of drawing one card if face cards count as 10?
The deck is worth 4 × (1 + 2 + ... + 9) + 16 × 10 = 340 in total, so one card is worth 340 / 52 ≈ 6.54 on average. The plain average of 1 to 10 is wrong because four ranks pay 10.
How do I calculate expected value in Excel?
Put the payouts in one column and the probabilities in the next, then use =SUMPRODUCT(payouts,probabilities). If you have counts instead of probabilities, divide by the total count: =SUMPRODUCT(counts,payouts)/SUM(counts).
Why is expected value called the fair price of a game?
If you paid exactly the expected value for every play, your average profit over many plays would be zero. Paying less gives you a positive edge on average and paying more gives a negative one.
What is the difference between rerolling a die and keeping the best of two rolls?
With a reroll you must decide before you see the second roll, so the game is worth 4.25. If you can see both rolls and keep the higher one, you have more information and the game is worth 161/36 ≈ 4.47.
Keep going: Quant Trading Interview Math: Expected Value, Probability Puzzles & Market Making
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 $9.90.
- Conditional Probability Puzzles: Bayes Tables for Coins and Cards
- Expected Stopping Times: the Geometric Distribution and Two Wins in a Row
- Variance and Kelly Sizing: How Much to Bet on an Edge
- Fair Value of Option Payoffs on Dice and Coins: Calls, Puts and Parity
- Market Making: Quoting a Spread, Tracking Inventory and Marking the P&L
- Estimation Questions (Fermi): Break It Down, Bound It, Round It
- Mental-Math Drills Checked by Formulas: Percentages, Compounding and a P&L Chart
- Two-Dice Distributions: Ways to Roll a Sum, the Higher Die and the Double-Six Question
- Linearity of Expectation: Distinct Faces, Collecting Every Face, Shared Birthdays and Runs
- Random Walks to a Target: Reach-Before-Zero Probabilities and Expected Duration
- Order Statistics: Expected Max and Min of Several Dice, Buying Extra Rolls and Ranked Uniform Draws
- Correlated Positions: Covariance, the Minimum-Variance Hedge Ratio and a Hedged Sharpe Ratio
- How Sure Is Your Edge? Binomial Tails, the Normal Approximation and Trades Needed
- Optimal Stopping by Backward Induction: Up to Six Rolls, a Cost per Roll and the Value Curve
- Replication and Multi-Step Trees: Delta, Cash Position and a Three-Step Call
- Adverse Selection and Skew: Setting the Spread When Some Traders Know More
- Arbitrage Checks: FX Triangles, Put-Call Parity Deviations and a Butterfly Spread
- Recursive Expectations: Roll Until a Six, Alternating Flips, a Coin Run and the Capped Doubling Game
- Final Mock Interview Project: Price, Risk-Check and Sell a Two-Card Game