Certainty Equivalent Calculation

    1 Utility function

    2 Risk attitude

    Larger R means less risk-averse. A very large R approaches the risk-neutral (linear) case.

    3 The gamble

    4 Results

    This finds the certainty equivalent of one gamble under one utility function. To model a full decision tree, fit a utility function to your own risk profile, run sensitivity analysis and export a report, use the full software. See Rational Will.

    5 Behind the numbers

    See the full calculation, step by step

    Imagine you just finished university. You have a great idea for a startup, and you wrote a business plan around it. The plan says you need to put in $50,000. If it works out, you can expect a profit of $400,000 within a year. But it is a coin flip. There is a 50/50 chance the whole thing fails and you lose every dollar you put in.

    Now a friend looks at your plan and makes you an offer. He will pay you $5,000 for it right now. The deal is simple. You walk away and never run the plan yourself. He puts up his own money, he takes the risk, and you keep a sure $5,000 for handing over the chance.

    So what would you do? Would you give up the shot at a big payoff for a guaranteed $5,000? If your answer is yes, then in plain economic terms that $5,000 is your Certainty Equivalent for this risky chance. The decision tree below shows the same situation.

    Decision tree contrasting 'Execute the Business Plan' (fifty-fifty best 400,000 dollars or worst minus 50,000 dollars) with 'Sell the Business Plan' for a Certainty Equivalent of 5,000 dollars.
    Decision tree contrasting 'Execute the Business Plan' (fifty-fifty best 400,000 dollars or worst minus 50,000 dollars) with 'Sell the Business Plan' for a Certainty Equivalent of 5,000 dollars.

    Here is the short definition. The Certainty Equivalent is the sure amount of money that feels equal, in your own mind, to a situation that carries risk. It is the guaranteed payout you would happily take instead of gambling on a bigger but uncertain reward.

    You run into this idea more often than you might think. Insurance and extended warranties are good examples. Say you buy a used car and you worry that the engine or transmission could fail in the next five years, which would cost you $10,000 to fix. The dealer offers you an extended warranty. Pay $2,000 now and they cover that repair if it happens. You have no idea whether the car will actually break down. If it never does, your $2,000 is simply gone. But if something does fail and the repair would have cost $10,000, you come out $8,000 ahead. It is a gamble either way. If you decide the $2,000 is worth the peace of mind of being covered for the worst case, then $2,000 is your certainty equivalent for that gamble.

    Calculate Certainty Equivalent

    Back to your own business plan. Suppose the $5,000 your friend offered does not sit right with you, but you also do not know what a fair price would be. Maybe you should ask for more than $5,000. How would you work that out? Is there a way to find the right number with math?

    Large green 'YES!' text graphic emphasizing the affirmative decision a person would make when offered their certainty equivalent instead of a risky payoff.
    Large green 'YES!' text graphic emphasizing the affirmative decision a person would make when offered their certainty equivalent instead of a risky payoff.

    We saw earlier that a utility function turns a real-world value into a level of satisfaction. If you can describe your own utility function for the money you might gain from a risky investment like this one, then you can use it to find your certainty equivalent.

    Let's call your utility function U(X), where X is the real-world money you gain from a risky investment.

    With that utility function, you can work out the Expected Utility of the investment. The expected utility of a random variable is just the weighted sum of the utility values, where each weight is the probability of that outcome. The expression below shows it.

    Expected utility formula combining probability-weighted utility values of each payoff outcome, used to map a risky investment to a single utility number.
    Expected utility formula combining probability-weighted utility values of each payoff outcome, used to map a risky investment to a single utility number.

    So whatever your utility function looks like, you feed it the two real-world values, 400,000 and -50,000. Doing that gives you a single number for the Expected Utility, E[U(X)], shown here.

    Expected utility formula applied to the startup example with payoffs of 400,000 dollars gain and minus 50,000 dollars loss, producing the expected utility E[U(X)].
    Expected utility formula applied to the startup example with payoffs of 400,000 dollars gain and minus 50,000 dollars loss, producing the expected utility E[U(X)].

    Once you have the Expected Utility, the next step is to find the Inverse Function of your utility function.

    If inverse functions are new to you, here is the plainest way to think about it. Suppose you have a function f(x) = y. You put in different values of x and get different values of y back. The inverse function runs that backwards. Give it a value of y, and it tells you which input x produced it.

    For example, if a function is

    Example function y equals x squared, used as a simple illustration of a function before introducing its inverse.
    Example function y equals x squared, used as a simple illustration of a function before introducing its inverse.

    then its inverse function is

    Square root of x, the inverse function of y equals x squared, used to explain how the certainty equivalent is obtained by inverting a utility function.
    Square root of x, the inverse function of y equals x squared, used to explain how the certainty equivalent is obtained by inverting a utility function.

    So if we want to know which value of x gives f(x), or y, equal to 9, this inverse function answers it. Plug 9 into the inverse function and you get 3. Now we know that an input of 3 produces f(x) = 9.

    Now back to our Expected Utility. The certainty equivalent is what you get when you run the inverse of the utility function on the Expected Utility value. If we write the Certainty Equivalent as CE, then,

    Certainty equivalent formula: CE equals the inverse utility function applied to the expected utility E[U(X)] of the risky payoff.
    Certainty equivalent formula: CE equals the inverse utility function applied to the expected utility E[U(X)] of the risky payoff.

    A Visual Demonstration

    Let's say you have shaped your utility function so that it looks like this:

    Custom Utility Map plotted in Decision Tree Analyzer for the startup example, with multiple dragged points across the -50000 to 400000 dollar range used to compute the certainty equivalent.
    Custom Utility Map plotted in Decision Tree Analyzer for the startup example, with multiple dragged points across the -50000 to 400000 dollar range used to compute the certainty equivalent.

    If you have used SpiceLogic Rational Will or the Decision Tree Software, you can build a utility function like this in a few minutes. The screenshot above comes from the SpiceLogic Decision Tree software.

    Reading that utility function plot, we find:

    U(400,000) = 1.
    U(-50,000) = 0.
    Expected Utility, or EU = 1 * 0.5 + 0 * 0.5 = 0.5

    Certainty Equivalent, or CE = U-1 (EU) = U-1 (0.5)

    Now look back at the chart. You can see that an input of around $60,000 gives a utility value of 0.5. So we have,

    U-1 (0.5) ≈ $60,000

    So your certainty equivalent for this risky investment is about $60,000, not $5,000. Based on this utility function, you should be asking your friend for around $60,000 to hand over the business plan, not $5,000.

    If your utility function is a clean math formula whose inverse is also a clean formula, then you can write out a direct formula for the certainty equivalent. For example, if your utility function is an Exponential Utility Function like this:

    Exponential utility function equation in terms of risk tolerance R, used in the closed-form derivation of certainty equivalent for a fifty-fifty lottery.
    Exponential utility function equation in terms of risk tolerance R, used in the closed-form derivation of certainty equivalent for a fifty-fifty lottery.

    Here R is the Risk Tolerance and x is the random variable for the payoff. Now suppose that in a given investment or lottery you win 'W' with probability 0.5 and lose 'L' with probability 0.5.

    Then, using the inverse function, the certainty equivalent works out to

    Closed-form certainty equivalent equation for an exponential utility function applied to a fifty-fifty win-W lose-L lottery.
    Closed-form certainty equivalent equation for an exponential utility function applied to a fifty-fifty win-W lose-L lottery.

    The good news is you do not have to do any of this math by hand. When you use our decision analysis software (Decision Tree Software or Rational Will), it runs every one of these calculations for you, using the inputs you provide. The next sections walk through exactly how.

    Using the Decision Tree Software for Certainty Equivalent Calculation

    Open the "Decision Tree Software", then click "Set up Criteria".

    Decision Tree Analyzer start screen opened to begin the worked example for computing the certainty equivalent of a startup investment decision.
    Decision Tree Analyzer start screen opened to begin the worked example for computing the certainty equivalent of a startup investment decision.

    After you click that button, the software asks whether you want a regular single or multiple criteria analysis, or a Cost-Effectiveness analysis. Choose the first option.

    Payoff type selection dialog with regular single or multiple criteria analysis chosen for the certainty equivalent worked example.
    Payoff type selection dialog with regular single or multiple criteria analysis chosen for the certainty equivalent worked example.

    After you click that button, the software asks whether you want a regular single or multiple criteria analysis, or a Cost-Effectiveness analysis. Choose the first option.

    Criterion setup screen with Maximize selected and 'Money in the bank' entered as the objective name for the certainty equivalent example.
    Criterion setup screen with Maximize selected and 'Money in the bank' entered as the objective name for the certainty equivalent example.

    Now click the "Proceed" button. You will be asked what type of criterion you want. Select "Numerical Type". Keep in mind that to use a utility function, the criterion has to be the Numerical type.

    Criterion type dialog for 'Money in the bank' offering Subjective Type and Numerical Type cards; the Numerical Type is needed because utility functions require numerical criteria.
    Criterion type dialog for 'Money in the bank' offering Subjective Type and Numerical Type cards; the Numerical Type is needed because utility functions require numerical criteria.

    Next you enter the minimum and maximum possible value of the "Money in the bank" for this decision. Set Minimum = -50,000 and Maximum = 400,000. Set Unit = $ (or any currency you like; the unit has no effect on the calculation, it is only for display).

    Numerical criterion details for 'Maximize Money in the bank' with Minimum minus 50,000 dollars, Maximum 400,000 dollars, and the 'I want to use a utility function' checkbox ticked.
    Numerical criterion details for 'Maximize Money in the bank' with Minimum minus 50,000 dollars, Maximum 400,000 dollars, and the 'I want to use a utility function' checkbox ticked.

    When you proceed, the utility function editor opens. It lets you define a utility function in several ways. The easiest is the visual drag-and-move builder shown below.

    Define a Utility function panel for 'Money in the bank' showing a default linear utility map from -50000 to 400000 dollars with Aspiration Level and Satisficing options at the top.
    Define a Utility function panel for 'Money in the bank' showing a default linear utility map from -50000 to 400000 dollars with Aspiration Level and Satisficing options at the top.

    Double-click anywhere on the chart panel to add a utility point. Drag any point with the mouse to move it in any direction. Go ahead and add a few utility points and move them around until the shape matches the screenshot below.

    Custom-built utility function in the visual editor after several drag-and-move adjustments, ready to be used in the certainty equivalent decision tree.
    Custom-built utility function in the visual editor after several drag-and-move adjustments, ready to be used in the certainty equivalent decision tree.

    Now click Proceed. The software asks if you want to add another criterion. Answer "No", and it takes you to the Decision Tree start page.

    Decision tree start page after the objective was configured, with the 'Decision Node' button highlighted to begin the root of the tree.
    Decision tree start page after the objective was configured, with the 'Decision Node' button highlighted to begin the root of the tree.

    Click the "Decision Node" button to go to the Decision Tree diagram page. This page shows you how to use the Decision Tree tool. Build a decision tree like the one in the screenshot below.

    Built decision tree for the startup example with branches for 'Execute Business Plan' (best vs worst case) and 'Sell out the plan' (friend's offer).
    Built decision tree for the startup example with branches for 'Execute Business Plan' (best vs worst case) and 'Sell out the plan' (friend's offer).

    As we covered earlier, you can change how the diagram looks. Here is a quick tip.

    Tip on adjusting decision tree node width to improve diagram aesthetics inside Decision Tree Analyzer.
    Tip on adjusting decision tree node width to improve diagram aesthetics inside Decision Tree Analyzer.

    Now select the "Best Case" node and attach a reward of $400,000.

    'Rewards at Best Case' popup attaching a 400,000 dollar value (equal to 1 Utiles) to the Best Case node of the Execute Business Plan branch.
    'Rewards at Best Case' popup attaching a 400,000 dollar value (equal to 1 Utiles) to the Best Case node of the Execute Business Plan branch.

    In the same way, attach a reward of -50,000 to the Worst Case. Then select the "Sell out the plan" node and attach a reward of $5,000, the amount your friend offered. Next, expand the "Options Analyzer" tab. Inside it you will find a section called "Metric Selection". Expand that, and check the "Certainty Equivalent" checkbox.

    Options Analyzer panel showing the Certainty Equivalent chart for the 'Execute Business Plan' option at 60,037 dollars, compared with the friend's 5,000 dollar offer.
    Options Analyzer panel showing the Certainty Equivalent chart for the 'Execute Business Plan' option at 60,037 dollars, compared with the friend's 5,000 dollar offer.

    Looking at the Certainty Equivalent chart, you can see that the certainty equivalent for the "Execute Business Plan" option is $60,037, which lines up closely with the $60,000 we read off the utility chart.

    The chart also shows that the certainty equivalent for executing the business plan is far higher than the $5,000 offered for selling it. So if you stand by this utility function, you should not sell the plan for $5,000. It only makes sense to sell if you can get close to $60,000 for it.

    Last updated on Jun 16, 2026