Marginal Rate of Substitution (MRS) Calculator
Method 1: Using Marginal Utility
Use this if you know the utility gained from the last unit of each good.
Method 2: Using Quantity Changes
Use this to find the rate of exchange between two points on an indifference curve.
How Do You Calculate Marginal Rate of Substitution?
The Marginal Rate of Substitution (MRS) is a core concept in microeconomics that measures the rate at which a consumer is willing to give up one good in exchange for another while maintaining the same level of utility (satisfaction). Geometrically, it represents the absolute value of the slope of the indifference curve at any given point.
The Formulas
There are two primary ways to calculate MRS, depending on the data available:
MRSxy = MUx / MUy
Where MUx is the marginal utility derived from the last unit of Good X, and MUy is the marginal utility derived from the last unit of Good Y. This formula assumes the consumer optimizes by equating the ratio of marginal utilities to the ratio of prices.
MRSxy = | ΔY / ΔX |
Where ΔY is the change in the quantity of Good Y (the amount given up) and ΔX is the change in the quantity of Good X (the amount gained). Technically, the slope is negative because you give up one good to get the other, but MRS is usually expressed as a positive number representing the exchange rate.
Example Calculation
Imagine a consumer choosing between Pizza (Good X) and Soda (Good Y).
- Scenario A (Utility): The consumer gets 20 "utils" of satisfaction from the last slice of pizza (MUx) and 4 "utils" from the last soda (MUy).
Calculation: 20 / 4 = 5. The consumer is willing to give up 5 sodas to get 1 more slice of pizza. - Scenario B (Quantities): To get 1 extra slice of pizza (ΔX = 1), the consumer is willing to give up 3 sodas (ΔY = 3) to stay equally happy.
Calculation: 3 / 1 = 3. The MRS is 3.
Why is MRS Important?
Understanding how to calculate the Marginal Rate of Substitution helps economists analyze consumer behavior. A diminishing MRS implies that indifference curves are convex to the origin—meaning consumers prefer balanced bundles of goods rather than extremes. As you acquire more of Good X, you are generally willing to give up less of Good Y to get even more X.