Expected Utility Calculator

Enter the probability and money value of two outcomes to find the expected utility, certainty equivalent and risk premium.

Updated

Enter to calculate Esc to clear

Expected Utility Calculator

Expected utility measures how much a risky choice is worth to a person, not just how much money it pays on average. Our Expected Utility Calculator takes two possible outcomes, each with a probability and a money value, and applies the square root utility function u(x) = √x, a standard model of a risk-averse decision maker. Alongside the expected utility you get the expected value, the certainty equivalent (the sure amount worth the same) and the risk premium (what risk costs in money terms).

Quick answer

Expected utility is p1 × u(x1) + p2 × u(x2); with u(x) = √x, a 60% chance of 10,000 and a 40% chance of 5,000 gives 0.6 × 100 + 0.4 × 70.7107 ≈ 88.2843.

  • p1, p2: the probabilities of the two outcomes, adding up to 100%.
  • x1, x2: the money value of each outcome.
  • Certainty equivalent: EU², the sure amount with the same utility (7,794.11 here).
  • Risk premium: expected value minus certainty equivalent (8,000 − 7,794.11 = 205.89).

What Is Expected Utility?

Expected utility is the probability-weighted average of the utility, or satisfaction, each outcome gives. Expected utility theory, set out by Daniel Bernoulli in 1738 and formalised by von Neumann and Morgenstern in 1944, says a rational person picks the option with the highest expected utility rather than the highest expected money value.

EU = p1 × u(x1)
  + p2 × u(x2)
u(x) = √x
  • p1, p2: the probability of each outcome as a decimal (60% is 0.6).
  • x1, x2: the money value of each outcome. Values cannot be negative, because √x is not defined below 0.
  • u(x) = √x: each extra unit of money adds less utility than the one before, which is what makes a person risk averse.

How to Calculate Expected Utility

An investment pays 10,000 with a 60% chance and 5,000 with a 40% chance:

√10,000 = 100
√5,000 ≈ 70.7107
EU = 0.6 × 100
  + 0.4 × 70.7107
  ≈ 88.2843
  1. Find the utility of each outcome. √10,000 is 100 and √5,000 is about 70.7107.
  2. Weight each utility by its probability. 0.6 × 100 is 60 and 0.4 × 70.7107 is about 28.2843.
  3. Add them. The expected utility is about 88.2843.
  4. Turn it back into money. The certainty equivalent is 88.2843² ≈ 7,794.11, and the risk premium is 8,000 − 7,794.11 ≈ 205.89.

Expected Utility vs Expected Value

Expected value averages the money; expected utility averages the satisfaction. Take a coin flip that pays 10,000 or nothing. Its expected value is 5,000, but its expected utility is 0.5 × 100 + 0.5 × 0 = 50, which is the utility of a sure 2,500 (√2,500 = 50). This person would swap the gamble for any sure amount above 2,500, so the risk costs them 2,500.

premium 2,500 CE 2,500 EV 5,000 10,000 50 100 u = √x Utility Wealth
The dashed line averages the two outcomes of the coin flip. At its expected value of 5,000 the gamble only gives the utility of a sure 2,500 on the curve; the gap is the risk premium.

Using Expected Utility to Choose

Compare the 60/40 investment above (expected utility about 88.28) with sure amounts:

ChoiceUtility
Sure 7,500
(√7,500)
≈ 86.60
60% of 10,000,
40% of 5,000
≈ 88.28
Sure 8,000
(√8,000)
≈ 89.44

The investment beats a sure 7,500 but loses to a sure 8,000, even though 8,000 is exactly its expected value. Any sure amount above the certainty equivalent of 7,794.11 is preferred. A riskier gamble has a bigger premium: 30% of 20,000 and 70% of 2,000 has an expected value of 7,400 but a certainty equivalent of only about 5,436.31.

Why Square Root Utility?

The square root is a simple concave utility function: it rises steeply at first and then flattens, matching the idea of diminishing marginal utility. Going from 0 to 4,000 adds about 63.25 units of utility, while going from 6,000 to 10,000 adds only about 22.54. Other common choices are the log utility Bernoulli used to resolve the St. Petersburg paradox, and power or exponential utility in finance. A straight line, u(x) = x, describes a risk-neutral person, for whom expected utility and expected value rank choices the same way.

Limitations and Common Mistakes

  • One utility function. The calculator always uses u(x) = √x. Real attitudes to risk vary from person to person.
  • Two outcomes only. For more outcomes, add one p × √x term for each.
  • Probabilities should total 100%. If they add up to less, the result treats the missing share as an outcome of 0, and the certainty equivalent is not shown.
  • Utility units have no meaning on their own. Compare expected utilities with each other, or convert them back to money with the certainty equivalent.
  • No losses. √x needs values of 0 or more. Measure outcomes as final wealth rather than gains and losses.

Key Terms

Utility
Satisfaction from an amount.
Expected value
Probability-weighted money.
Certainty eq.
Sure amount, same utility.
Risk premium
Expected value − certainty eq.
Risk averse
Prefers a sure amount.

How to Use the Expected Utility Calculator

  1. Enter the first outcome. Type its probability as a percent, such as 60, and its money value, such as 10,000.
  2. Enter the second outcome. Type its probability and value. The two probabilities should add up to 100%.
  3. Read and copy the result. The expected utility appears as you type, with the working, the expected value, the certainty equivalent and the risk premium. Press Copy to copy it, or Clear or Esc to start again.

Example: a 30% chance of 20,000 and a 70% chance of 2,000. The expected utility is about 73.7314, the expected value 7,400 and the certainty equivalent about 5,436.31.

Who Can Use This Calculator?

InvestorsWeigh risky against safe choices
Economics StudentsPractise expected utility problems
AnalystsMeasure the cost of risk
TeachersShow risk aversion with numbers
Decision MakersCompare uncertain options

Frequently Asked Questions (FAQs)

What is the expected utility formula?

EU = p1 × u(x1) + p2 × u(x2), where p1 and p2 are the probabilities and u is the utility function. This calculator uses u(x) = √x.

How do you calculate expected utility with square root utility?

Take the square root of each outcome, multiply each by its probability and add. For 60% of 10,000 and 40% of 5,000: 0.6 × 100 + 0.4 × 70.7107 ≈ 88.2843.

What is the difference between expected utility and expected value?

Expected value averages the money outcomes. Expected utility averages the utility of those outcomes, so it accounts for risk aversion. A coin flip for 10,000 or 0 has an expected value of 5,000 but an expected utility of 50.

What is the certainty equivalent?

The sure amount that gives the same utility as the gamble. With u(x) = √x it is the expected utility squared: 88.2843² ≈ 7,794.11.

What is the risk premium?

The expected value minus the certainty equivalent: the money a risk-averse person would give up to avoid the risk. In the 60/40 example it is about 205.89.

Why does the square root mean risk aversion?

The square root is concave: each extra unit of money adds less utility than the last, so a sure amount is worth more than a gamble with the same expected value.

What if my probabilities do not add up to 100%?

The calculator still gives the expected utility, treating the missing share as an outcome worth 0, but it hides the certainty equivalent and risk premium. Probabilities above 100% in total show an error.

Is the Expected Utility Calculator free?

Yes. It is completely free, needs no sign-up, and can be used as many times as you like.

Sources

Use our Expected Utility Calculator to see what a risky choice is really worth to a risk-averse person.