Expected Utility Calculator
Calculate expected utility to assess outcomes and make rational decisions under uncertainty
About the Expected Utility Calculator
The Expected Utility Calculator is a fundamental tool for decision-makers, economists, and behavioral scientists seeking to evaluate choices under conditions of uncertainty. Unlike simple expected value, which only considers the average monetary outcome, expected utility accounts for an individual's risk preferences and the psychological value of wealth. This allows users to quantify why a person might choose a guaranteed $500 over a 50% chance to win $1,000, even though the mathematical average is the same. By converting objective payoffs into subjective utility units (utils), this calculator helps bridge the gap between cold mathematics and human behavior.
Financial planners use expected utility to recommend investment portfolios that align with a client's risk tolerance, while insurance underwriters use it to price policies that consumers find valuable. The tool requires inputs for the potential outcomes, their associated probabilities, and a chosen utility function. Whether you are analyzing a corporate merger, a gamble, or a personal career change, understanding the expected utility provides a rational framework for choosing the path that maximizes personal satisfaction rather than just raw numbers.
Formula
EU = Σ [P(i) × U(Xi)]Expected Utility (EU) is calculated by taking the sum of the probabilities of each possible outcome multiplied by the utility of that outcome. P(i) represents the probability of outcome i (a value between 0 and 1), and U(Xi) represents the utility value assigned to the objective payoff Xi through a specific utility function.
The utility function U(X) is subjective and varies by individual. Common functions include the natural log of wealth or the square root of wealth, reflecting that as wealth increases, the satisfaction derived from each additional dollar tends to decrease. All probabilities in the calculation must sum to exactly 1.0.
Worked examples
Example 1: A risk-averse person with a utility function U = √Wealth is offered a 50/50 bet to either win $200 or win $0.
1. Determine Probability 1: 0.50, Outcome 1: $200. Utility 1 = √200 = 14.14.\n2. Determine Probability 2: 0.50, Outcome 2: $0. Utility 2 = √0 = 0.\n3. Multiply P1 * U1: 0.50 * 14.14 = 7.07.\n4. Multiply P2 * U2: 0.50 * 0 = 0.\n5. Sum results: 7.07 + 0 = 7.07.
Result: 7.07 utils. This is lower than the utility of a certain $100 (which would be 10 utils), showing that for this individual, the gamble is less attractive than the mathematical average.
Example 2: An investor uses the natural log function ln(W) to evaluate an investment that has a 20% chance of returning $1,000 and an 80% chance of returning $50.
1. Utility of $1,000: ln(1000) = 6.91.\n2. Utility of $50: ln(50) = 3.91.\n3. Weighted Utility 1: 0.20 * 6.91 = 1.382.\n4. Weighted Utility 2: 0.80 * 3.91 = 3.128.\n5. Total Expected Utility: 1.382 + 3.128 = 4.51.
Result: 4.24 utils. This represents the average 'satisfaction' expected from this specific investment portfolio.
Common use cases
- A consumer deciding whether to buy extended warranty coverage for a new electronic device based on the probability of it breaking.
- An investor choosing between a high-risk tech stock and a low-risk government bond using a logarithmic utility function.
- A business owner determining whether to settle a lawsuit for a fixed amount or proceed to a trial with uncertain outcomes.
- A farmer deciding whether to purchase crop insurance to protect against the low-probability, high-impact event of a total crop failure.
Pitfalls and limitations
- The results are highly sensitive to the chosen utility function, which is often difficult to quantify precisely for real-world individuals.
- Expected utility theory assumes perfect rationality, failing to account for cognitive biases like the framing effect or loss aversion.
- The calculator assumes that all possible outcomes and their exact probabilities are known, which is rarely the case in complex markets.
- It does not account for the 'utility of gambling,' where some individuals derive pleasure simply from the act of taking a risk.
Frequently asked questions
expected utility vs expected value difference
The expected utility theory assumes individuals are risk-averse, meaning they prefer a certain outcome over a gamble with equal expected value. Traditional expected value calculations only look at the math of the prize, whereas expected utility accounts for the diminishing marginal utility of wealth.
how to choose a utility function for expected utility
In economics, we often use the square root function (U = √W) or the natural log function (U = ln(W)) to model risk aversion, as these functions show that each additional dollar provides less utility than the last.
what is expected utility for risk neutral person
A risk-neutral person has a linear utility function, meaning their expected utility is always equal to the expected monetary value. For them, a 50/50 chance at $100 is worth exactly $50.
how does utility function show risk aversion
A concave utility function indicates risk aversion, while a convex function indicates risk-seeking behavior. If the curve gets flatter as wealth increases, the person is risk-averse.
is expected utility used in insurance math
Insurance companies use expected utility to determine premiums by calculating the maximum amount a consumer is willing to pay to avoid a potential loss, known as the certainty equivalent.