Glossary term

Utility Function

A utility function is a model that assigns numerical values to choices so preferences, tradeoffs, or risk attitudes can be analyzed.

Updated

May 20, 2026

Read time

3 min read

What Is a Utility Function?

A utility function is a model that assigns numerical values to choices so preferences, tradeoffs, or risk attitudes can be analyzed. It turns the idea of satisfaction, value, or preference into a structured expression that economists and finance models can compare.

The number itself is not the same thing as happiness. A utility function is a modeling tool. It helps explain why someone might prefer one bundle of goods, investment payoff, insurance choice, or uncertain outcome over another.

Key Takeaways

  • A utility function represents preferences using numbers.
  • It can model tradeoffs between goods, money, risk, time, or outcomes.
  • Ordinal utility ranks choices, while cardinal utility gives more structure to differences.
  • In finance, utility functions help describe risk aversion and expected utility.
  • The model is useful, but real choices can include emotion, framing, habits, and social context.

How a Utility Function Works

A simple utility function might say that utility depends on consumption, wealth, income, or some combination of goods. If a choice produces a higher utility value than another choice, the model says the decision maker prefers it.

For example, a consumer might choose between spending on food and entertainment. A household might choose between current spending and saving. An investor might choose between a safer portfolio and a riskier one. The utility function gives a way to compare these tradeoffs without assuming that dollars alone capture the whole decision.

Basic Notation

A simple utility function can be written as:

U=f(x,y)U = f(x, y)

In this expression, U represents utility, while x and y represent the inputs being evaluated, such as quantities of two goods. The function f describes how those inputs translate into modeled preference.

Utility Function Types

Type

What it captures

Financial use

Ordinal utility

Ranks choices from more to less preferred.

Comparing preferences without measuring intensity.

Cardinal utility

Gives meaning to utility differences.

Expected utility and risk analysis.

Concave utility

Each added dollar has less extra utility.

Risk aversion and insurance demand.

Linear utility

Each added dollar has constant utility.

Risk-neutral modeling assumptions.

Risk and Investment Context

Utility functions are important in finance because investors do not always evaluate choices by expected return alone. A risky payoff may have a high average outcome but still be unattractive if the downside creates too much pain. A safer payoff may be preferred even when its expected dollar value is lower.

This is how utility connects to risk aversion. If the utility of wealth rises at a decreasing rate, losing money hurts more than an equal gain helps. That shape can help explain insurance purchases, diversification, and preference for smoother outcomes.

The Bottom Line

A utility function is a formal way to represent preferences and tradeoffs. It is useful for economics and finance because it helps separate dollar outcomes from the value a decision maker assigns to those outcomes.

Related Terms