Calculate maximum utility: find the utility-maximizing bundle for a budget and prices from a Cobb-Douglas function or marginal utility tables.

Continuous quantities for U = A^α B^β. Exponents are nonnegative and cannot both be zero.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Utility-maximizing bundle (Cobb–Douglas)Finds the quantities of two divisible goods that maximize U = Aα × Bβ within a budgetRequires the budget, both prices and both exponents
Best whole-unit bundle from MU listsFinds the affordable whole-unit combination of two goods with the highest total utilityRequires the budget, both prices and a list of marginal utilities for each good
Missing price or MU (equal MU per dollar)Finds the one price or marginal utility that makes marginal utility per dollar equal for both goodsRequires the other three of the two prices and two marginal utilities

Prices and the budget share one currency, and all utilities share one scale. Each function has illustrative presets that fill in its inputs.

Maximum Utility Formulas

MUA ÷ PA = MUB ÷ PB [1]
MUAMarginal utility of good A (utils per unit)
PAPrice of good A
MUBMarginal utility of good B (utils per unit)
PBPrice of good B

This condition holds at an interior optimum, where some of each good is bought and the indifference curve is tangent to the budget line. When one good gives more utility per dollar at every quantity, the best choice is a corner where only that good is bought and the two ratios stay unequal [1].

Utility-maximizing bundle (Cobb–Douglas)

A = α ÷ (α + β) × M ÷ PA
B = β ÷ (α + β) × M ÷ PB

M is the budget. Applying the equal-ratio condition to U = Aα × Bβ gives these quantities: the share α ÷ (α + β) of the budget goes to good A whatever the prices are. With a budget of 100, prices of 10 and 5 and both exponents at 0.5, the bundle is 5 units of A and 10 units of B, and U = 50.5 × 100.5 = 7.0711. Quantities can be fractional.

Best whole-unit bundle from MU lists

Each list gives the marginal utility of the first, second and later units of a good. The calculator totals the lists for every combination that fits the budget and keeps the highest total. With a budget of 40, prices of 10 and 5, list A of 50, 40, 30, 20 and list B of 45, 30, 20, 15, the best bundle is 2 units of A and 4 units of B: 90 + 110 = 200 utils for exactly 40. Ties go to the cheaper bundle, then to fewer units of A. Buying in order of marginal utility per dollar is not always best when units cannot be split, which is why every affordable bundle is compared.

Missing price or MU (equal MU per dollar)

PB = MUB × PA ÷ MUA

This is the main formula solved for the price of B. The other three unknowns come from the same rearrangement. With a marginal utility of 60 and a price of 12 for A, and a marginal utility of 30 for B, the price of B is 30 × 12 ÷ 60 = 6. The result balances the two ratios. It does not give the quantities to buy.

Limits of This Estimate

  • The equal-ratio rule describes an interior optimum only. Corner choices and whole-unit purchases can be optimal with unequal ratios [1].
  • The Cobb–Douglas function assumes divisible goods and fixed exponents. The whole-unit function counts only the utility in the two lists and adds it across goods.
  • Utility is a subjective index. The totals rank bundles for one person and cannot be compared between people.

Sources

  1. MIT OpenCourseWare, 14.01 Principles of Microeconomics, Fall 2023, lecture notes, section 1.3.2: the condition for the best bundle, interior solutions and corner solutions