Calculate the marginal rate of substitution (MRS = MUx/MUy) from two marginal utilities, or from a Cobb-Douglas utility function, bundle changes or prices.
- All Business Calculators
- Marginal Utility Calculator
- Marginal Product Calculator
- Marginal Benefit Calculator
- Expected Utility Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| MRS from marginal utilities | Finds the marginal rate of substitution between two goods | Requires the marginal utility of X and the marginal utility of Y |
| Marginal utility of X | Finds the marginal utility of X that fits a known MRS | Requires the MRS and the marginal utility of Y |
| Marginal utility of Y | Finds the marginal utility of Y that fits a known MRS | Requires the marginal utility of X and the MRS |
| Cobb-Douglas preferences | Finds the MRS at one bundle for a utility function of the form xα × yβ | Requires the two exponents and the quantities of X and Y |
| Absolute slope from quantity changes | Estimates the MRS from two bundles on the same indifference curve | Requires the change in X and the change in Y |
| Price ratio and optional MRS comparison | Finds the price ratio of the two goods and compares it with an MRS | Requires the price of X and the price of Y, with an MRS as an optional entry |
Every MRS is in units of Y per unit of X. The Cobb-Douglas function offers preset exponent pairs, such as 0.5 and 0.5 or 0.7 and 0.3, or custom exponents. Both marginal utilities must be in the same utility units, and both prices in the same currency.
Marginal Rate of Substitution Formula
| MRS | Marginal rate of substitution (units of Y per unit of X) |
| MUx | Marginal utility of good X, the extra utility from one more unit of X |
| MUy | Marginal utility of good Y, in the same utility units |
The MRS is the rate at which a consumer is willing to trade the good on the Y axis for the good on the X axis, and it is the ratio of the two marginal utilities [1]. The slope of the indifference curve is the negative of this ratio [1]. The calculator reports the positive value, so 2 means giving up 2 units of Y for one more unit of X.
MRS from marginal utilities
The main formula applies directly. With MUx = 0.56 and MUy = 0.45, MRS = 0.56 ÷ 0.45 = 1.244 units of Y per unit of X. MUy cannot be zero.
Marginal utility of X
An MRS of 2 with MUy = 3 means MUx = 2 × 3 = 6.
Marginal utility of Y
With MUx = 6 and an MRS of 2, MUy = 6 ÷ 2 = 3. An MRS of zero has no answer.
Cobb-Douglas preferences
For U = xα × yβ, the marginal utilities are the derivatives of U with respect to x and y [1]: MUx = α × xα−1 × yβ and MUy = β × xα × yβ−1. Their ratio simplifies to the formula above. With equal exponents, x = 4 and y = 8, MRS = 1 × 8 ÷ 4 = 2. With α = 0.7, β = 0.3, x = 10 and y = 5, MRS = (0.7 ÷ 0.3) × (5 ÷ 10) = 1.167. The exponents do not have to add up to 1.
Absolute slope from quantity changes
ΔX and ΔY are the changes in each good between two bundles that leave the consumer equally well off. Gaining 2 units of X while giving up 3 units of Y gives |−3 ÷ 2| = 1.5. The signed slope, −1.5 here, is shown as well. The smaller the change, the closer this is to the MRS at a point, because the MRS falls along an indifference curve as X increases [1].
Price ratio and optional MRS comparison
The best bundle a consumer can afford is where the indifference curve is tangent to the budget line, and there the ratio of marginal utilities equals the ratio of prices [2]. With Px = $4 and Py = $2 the price ratio is 2. An entered MRS of 2.5 is reported as above the price ratio, which means the consumer values X more than the market charges for it and gains by buying more X and less Y.
Limits of This Estimate
- An MRS holds at one bundle only. It changes as the amounts of X and Y change.
- The price-ratio rule describes an interior solution, where some of each good is bought. A consumer may instead end up at a corner, buying only one good [2], and a price ratio alone does not show that a bundle is the best one.
- The slope function assumes both bundles give the same utility. A positive signed slope means they do not show the usual trade-off between two desirable goods.
Sources
- MIT OpenCourseWare, 14.01 Principles of Microeconomics (Fall 2023), Lecture 2 notes: marginal utility as a derivative, the MRS as the ratio of marginal utilities, its link to the indifference curve slope and why it diminishes
- MIT OpenCourseWare, 14.01 Principles of Microeconomics (Fall 2023), Lecture 3 notes: the budget line slope, the tangency condition MRS = Px ÷ Py, and interior and corner solutions

