Photo by Christian Naccarato on Pexels

Utility Maximization: The Math Behind Consumer Choice

Erajah
ErajahFounder, Scypion Finance
Updated June 10, 20263 min read
On this page

You're at a food court with $20 to spend. A bowl of ramen costs $10; a burrito costs $5. Your first ramen gets you very full and deeply satisfied — call it 60 utils of satisfaction. Your first burrito would get you pleasantly satisfied — say 35 utils. The ramen is delivering 6 utils per dollar; the burrito is delivering 7 utils per dollar. You should buy the burrito first. After the burrito: a second burrito might give 25 utils (5 per dollar); the ramen is now your best option at 6 per dollar. Buy the ramen. After the ramen ($5 left): another burrito gives 18 utils (3.6 per dollar). You buy it. Total spent: $20, total satisfaction maximized given the options. That step-by-step equalization process is utility maximization.

The formula

The utility-maximizing condition for a consumer choosing between two goods A and B is:

MU_A / P_A = MU_B / P_B

The marginal utility per dollar must be equal across all goods purchased. If it isn't equal, the consumer can improve their total utility by reallocating spending — shifting money from the lower MU/P good to the higher one until equality is restored.

For any good where MU/P is below the equilibrium level, spend less. For any good where MU/P is above the equilibrium level, spend more. When all MU/P ratios are equal, no reallocation can increase total utility — you have reached the consumer optimum.

Reading the result

The utility-maximizing condition holds only when the consumer is spending exactly at their budget constraint. It generates several key predictions:

Demand slopes downward: as the quantity of a good rises, its marginal utility falls. To keep MU/P equal across goods, the price must fall to restore the ratio — confirming that consumers demand more at lower prices.

Response to income changes: a higher income shifts the budget constraint outward. The consumer buys more of every normal good until MU/P equality is re-established at the new, larger spending level.

Substitution after price changes: if P_A rises, the MU_A/P_A ratio falls below MU_B/P_B. The consumer shifts spending from A to B until equality is restored — the substitution effect.

The Bureau of Labor Statistics Consumer Expenditure Survey tracks revealed consumption allocations across major categories. The survey's income-spending cross-tabs show how the equilibrium allocation shifts as income rises — higher-income households spend proportionally more on services and recreation (goods with high MU at lower consumption levels that become reachable with more income) and proportionally less on basics.

Worked example

A commuter allocates $300/month between gym membership ($60) and dining out ($30 per meal). Currently buying 2 gym sessions per month and 6 meals:

  • MU of 2nd gym session: 180 utils → MU/P = 180/60 = 3.0
  • MU of 6th meal: 75 utils → MU/P = 75/30 = 2.5

Gym delivers more satisfaction per dollar. Shift one meal ($30) toward gym. With $330 allocated after dropping one meal and adding half a gym session, MU ratios converge. The commuter keeps adjusting until the MU/P condition holds.

Why it matters

Utility maximization is the engine behind every consumer demand theory. It explains why consumers respond to price changes (by rebalancing MU/P ratios), why they diversify purchases (because diminishing MU makes any single good less valuable as consumption rises), and why welfare analysis can measure the impact of policy in terms of what happens to consumer ability to reach their utility-maximizing bundle.

◆ Sources

  1. Consumer Expenditure Survey — Bureau of Labor Statistics
  2. Consumer Theory — Library of Economics and Liberty
  3. Utility Maximization — Investopedia
  4. Personal Income — Bureau of Economic Analysis
  5. Survey of Consumer Finances — Federal Reserve
Microeconomics GlossaryPart 26 of 129
Erajah
Erajah
Founder, Scypion Finance

Founded Scypion Finance because the gap between financial news and real understanding is too wide — and nobody should have to navigate economics alone. Every article starts from zero because that's where most people actually are.

◆ WEEKLY ANALYSIS

Never Miss a Drop

New economic analysis and data breakdowns every week. No spam. Unsubscribe anytime.