Expected Utility Calculator

Expected Utility Calculator

Decide whether a risky choice is worth it to you, not just on average. Enter your wealth, the possible gains and losses, and how much you dislike risk to get the certainty equivalent and risk premium.

EU = Σ P(x) × u(W + x)

What you have before the gamble. The same loss hurts more when you have less.

Change in wealth for each outcome; negative for a loss.

Same order; decimals, percentages or fractions that add up to 1.

Enter your wealth, the outcomes, their probabilities and a risk aversion

What is Expected Utility?

Expected utility is the average of how much each outcome is worth to you, rather than its face value. It explains why people insure their homes and turn down favourable bets, even though both lose money on average.

The idea, from Daniel Bernoulli in 1738, is that each extra pound matters less the more you have. Losing £800 from £10,000 hurts more than winning £1,000 pleases, so a coin flip between the two can be a bad deal for you despite a positive expected value.

The most useful single number is the certainty equivalent: the guaranteed amount you'd accept instead of the gamble. If it's above zero, the gamble beats doing nothing; the gap between it and the expected value is the risk premium.

Expected Utility Formula

Constant relative risk aversion (CRRA) utility as used by Arrow and Pratt. See Sources.

1. A utility for each final wealth

u(w) = w^(1 − ρ) ÷ (1 − ρ) for ρ ≠ 1
u(w) = ln w for ρ = 1

ρ = 0 is risk neutral (utility equals money); the higher ρ, the more losses weigh against gains.

2. Average the utilities

EU = Σ P(x) × u(W + x)

3. Turn it back into money

Certainty equivalent CE = u⁻¹(EU) − W
Risk premium = E(X) − CE

Worked Example: A Favourable Coin Flip

Given:
Wealth £10,000. A coin flip wins £1,000 or loses £800. Risk aversion ρ = 2, so u(w) = −1 ÷ w.
Step 1:
Expected value:
0.5 × 1,000 + 0.5 × (−800) = +£100
Step 2:
Expected utility:
0.5 × (−1/11,000) + 0.5 × (−1/9,200) = −1/10,019.8
Step 3:
Back to money:
CE = 10,019.80 − 10,000 = £19.80 · premium = 100 − 19.80 = £80.20
Result:
Certainty equivalent £19.80

Still worth taking, but only just: a sure £20 would be as good as a gamble "worth" £100 on average. Someone more risk averse would turn it down.

How Risk Aversion Changes the Verdict

The worked example's coin flip (+£1,000 or −£800 from £10,000) at different levels of risk aversion.

Certainty equivalent and risk premium for different risk aversion
ρCertainty equivalentRisk premiumVerdict
0£100£0Take
1£59.82£40.18Take
2£19.8£80.2Take
5£-96.26£196.26Decline
10£-262.94£362.94Decline

Common Expected Utility Mistakes

  • Applying utility to the gain instead of final wealth. u(−800) is undefined for most utility functions. What matters is u(W − 800), how well off you end up.
  • Comparing utilities directly with money. An expected utility of −0.0000998 means nothing on its own. Convert it back to a certainty equivalent.
  • Leaving out wealth. The same gamble can be fine for a millionaire and reckless for a student. Wealth is part of the calculation, not a detail.
  • Treating ρ as a known fact. Risk aversion is a modelling choice. Check how the verdict changes across a sensible range before relying on it.

Expected Utility FAQs

What risk aversion should I use?

Economists commonly estimate ρ between about 1 and 4 for typical people. Use 0 to see the risk-neutral answer, which is just the expected value.

What does ρ = 0 mean?

Risk neutral: utility equals money, so the certainty equivalent equals the expected value and the risk premium is zero.

Why does wealth matter?

With CRRA utility, risk aversion is relative: the same proportional risk feels the same at any wealth. So a fixed £800 loss matters less the richer you are.

What is the certainty equivalent?

The guaranteed amount that leaves you exactly as happy as the gamble. You’d take any sure offer above it in preference to gambling.

Why can’t I lose everything?

For ρ of 1 or more, utility at zero wealth is minus infinity, so any chance of ruin makes the gamble infinitely bad. The calculator asks for some wealth left in every outcome.

How does this explain insurance?

Insurance has a negative expected value, but by removing a large possible loss it raises expected utility. The premium you’d happily pay over the expected loss is your risk premium.

Do people really follow expected utility?

Not always. Prospect theory (Kahneman and Tversky) documents systematic departures, such as weighing losses about twice as heavily as gains.

Can the outcomes be costs instead of gains?

Yes. Enter costs as negative numbers. For an insurance decision, compare the gamble of uninsured losses with the sure loss of the premium.

Sources

Related Tools