🧮
🧮 Math & statistics

Expected Utility Calculator (risky choices: certainty equivalent & risk premium)

Results update as you type.

Your numbers

Understanding the expected utility calculator — concept and principle

This calculator compares two risky options by expected utility. You list each option's outcomes with their chances, add your current wealth and choose a utility function (linear, logarithmic, power or exponential). It reports the preferred option, the expected value, the certainty equivalent and the risk premium of each. Use it in economics, decision theory and finance courses.

Gamble A vs sure BGamble A vs sure BA 11.3691B 11.4076wealth after outcome, ln utilityExpected value50,000 vs 40,000CE of A36,602.54Risk premium A13,397.46PreferredOption B
A curved utility makes the sure 40,000 worth more than a 50/50 shot at 100,000.

How it is calculated

Expected value EV = Σ pᵢ × xᵢ

Expected utility EU = Σ pᵢ × u(W₀ + xᵢ)

Certainty equivalent CE: the sure amount with u(W₀ + CE) = EU

Risk premium = EV − CE

The principle

People often prefer a sure amount to a gamble with a higher average. Expected utility explains this with a concave utility function: each extra unit of money adds less satisfaction than the one before, so losses hurt more than equal gains help. Averaging utility instead of money therefore penalises spread. The certainty equivalent turns the abstract utility back into money, and the gap to the expected value measures how much the risk costs this decision-maker.

Worked example

Default inputs: A = 50 % of 100,000 and 50 % of 0; B = 100 % of 40,000; wealth 50,000; logarithmic utility.

  1. Expected values: A = 0.5 × 100,000 = 50,000; B = 40,000.
  2. EU(A) = 0.5 ln 150,000 + 0.5 ln 50,000 = 0.5 × 11.9184 + 0.5 × 10.8198 = 11.3691.
  3. EU(B) = ln 90,000 = 11.4076, higher, so Option B (higher expected utility) is preferred.
  4. CE of A: e^11.3691 − 50,000 = 86,602.54 − 50,000 = 36,602.54; CE of B = 40,000.
  5. Risk premiums: A = 50,000 − 36,602.54 = 13,397.46; B = 0.

How to read the result

With log utility and 50,000 of wealth, the coin flip for 100,000 is worth only about 36,600 for sure, less than the safe 40,000, even though its average is higher. With more wealth the gamble is a smaller share of what you have, so the risk premium shrinks; with linear utility it disappears and the higher EV wins.

Common mistakes

Keep in mind: This is a textbook model of choice, not financial advice. Real decisions also involve taxes, timing, and preferences the model does not capture.

Frequently asked questions

What is a certainty equivalent?

The guaranteed amount that gives the same expected utility as the risky option.

What is a risk premium?

Expected value minus certainty equivalent: what a risk-averse person would give up to avoid the risk.

Why use logarithmic utility?

It is a simple concave function in which the same percentage change in wealth always matters equally.

Sources: J. von Neumann & O. Morgenstern (1944), Theory of Games and Economic Behavior, Princeton University Press

Checked 9 Nov 2026. Princeton University, ECO 317 Economics of Uncertainty, lecture notes “3. Risk Aversion” (Fall 2009): expected utility EU = Σ pᵢ u(Cᵢ); certainty equivalent defined by u(C_CE) = EU; risk premium = expected value − certainty equivalent; CRRA family u(C) = C^(1−r)/(1−r), ln C for r = 1; CARA family u(C) = −exp(−aC).

🧮 All math & statistics tools →🌍 Calculators by country →