InputTestHub

Expected Value Calculator

Calculates the expected value and standard deviation of any set of outcomes and probabilities, with each outcome's contribution shown.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Percentages, decimals or raw weights — they are scaled to sum to 1.
Enter your figures and press Calculate.
In short Expected value is the sum of each outcome multiplied by its probability — a weighted average of what happens. A bet that wins 10 one time in ten and loses 1 the other nine times has an expected value of +0.10 per play, so it is profitable in the long run. What that number does NOT tell you is anything about a single play, and it is often a value that cannot actually occur: a coin flip paying +1 or −1 has an expected value of exactly 0, which is not a possible result of any flip. That is why the standard deviation is printed beside it. Two bets with the same expected value and very different spreads are not the same bet, and the spread decides how long the long run takes to arrive. The average of n plays has a standard deviation of σ divided by the square root of n, so a high-variance edge needs a great many repetitions before the observed result resembles the expectation. And a positive expected value with a large spread can still ruin you before that happens — the gap between "profitable on average" and "survivable" is exactly what bankroll management exists to close. Probabilities can be entered as percentages, decimals or raw weights; if they do not sum to 1 they are scaled, so 10 and 90 mean the same as 0.1 and 0.9.

How to use the Expected Value Calculator

  1. Enter your figures in the input fields.
  2. The result updates as you type, together with the full working.
  3. Check the breakdown table to see exactly how the number was reached.

About the Expected Value Calculator

The expected value and spread of any set of outcomes with probabilities.

What people use it for

  • Deciding whether a bet or a business risk is worth taking.
  • Comparing options with different payoffs and chances.
  • Probability coursework on expectation.

Details

A fair coin bet of ±1expected value exactly 0
Win 10 at 10%, lose 1 at 90%expected value +0.10
The expected valueoften a value that cannot occur
Averaging n playscuts the spread by √n
Probabilities as weightsscaled automatically

The maths behind it

This tool uses EV = Σ (outcome × probability), with the variance being Σ probability × (outcome − EV)². Every intermediate value is shown on screen, so the result can be checked by hand.

Every outcome's contribution to the total is listed separately, which usually makes it obvious which one is driving the answer — often a rare large payoff that dominates everything else.

Where this tool stops

Expected value assumes you can repeat the situation many times and that the values are what you actually care about. For one-off decisions, or where losing everything ends the game, it is the wrong criterion however carefully it is computed.

Frequently asked questions

Does a positive expected value mean I should take the bet?
Not on its own. It means you profit on average over many repetitions. If the variance is large relative to your bankroll, or you only get one attempt, expected value is the wrong tool for the decision.
Why is the expected value not a possible outcome?
Because it is an average. A die has an expected value of 3.5, which no face shows. That is normal and not an error.
Do my probabilities need to sum to 1?
No. Enter percentages, decimals or raw weights and they will be scaled. The page tells you when it has scaled them.
How many repetitions before the average is reliable?
It depends on the ratio of spread to edge. The page estimates it: the standard deviation of an average falls as √n, so a small edge with a large spread can need thousands of plays.
Are there any usage caps on the Expected Value Calculator?
No charge and no sign-up. There is no free tier to run out of because there is no paid tier — inputtesthub.com is funded by advertising rather than by metering the utility.
Is what I paste into the Expected Value Calculator stored?
No. The Expected Value Calculator runs entirely in your browser using JavaScript. Because the work happens locally, the utility also keeps working if your connection drops, and closing the tab is all it takes to discard everything.
Can I check the maths myself?
It uses EV = Σ (outcome × probability), with the variance being Σ probability × (outcome − EV)². The full working is printed under the result, so you can follow every step rather than trusting a black box.
Can you show an example?
Enter win 10 at 10%, lose 1 at 90% and the Expected Value Calculator returns EV = +0.10.
Who is the Expected Value Calculator for?
In practice it gets used for three things: deciding whether a bet or a business risk is worth taking. Comparing options with different payoffs and chances. Probability coursework on expectation. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Is there anything the Expected Value Calculator cannot do?
Expected value assumes you can repeat the situation many times and that the values are what you actually care about. For one-off decisions, or where losing everything ends the game, it is the wrong criterion however carefully it is computed. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What figures does the Expected Value Calculator work from?
A fair coin bet of ±1 is expected value exactly 0. Win 10 at 10%, lose 1 at 90% is expected value +0.10. The expected value is often a value that cannot occur. These are printed on the page itself, so you do not have to take them on trust.
Is the number rounded?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…