Cross-Price Elasticity (XED) Calculator

Cross-price elasticity of demand: how responsive the demand for good X is when the price of good Y changes — substitutes, complements, or independent.

Economics education tool. This calculator is illustrative for learning microeconomics. Its results are not financial advice, business advice, or pricing recommendations.

What is cross-price elasticity?

Cross-price elasticity of demand (XED) measures the percentage change in the quantity demanded of good X divided by the percentage change in the price of good Y. The sign of the coefficient tells you the type of relationship between the two goods; its magnitude tells you how strong that relationship is.

Midpoint formula (arc elasticity):
XED = [ (Qx1 − Qx0) / ((Qx0+Qx1)/2) ] ÷ [ (Py1 − Py0) / ((Py0+Py1)/2) ]
Each percent change is computed against the average of the start and end values, so the result is symmetric: rising or falling gives the same number.
Anchor example: the price of good Y rises from Rp20,000 to Rp22,000, and the quantity of good X rises from 100 to 115 units. %ΔPy = 9.5238%, %ΔQx = 13.9535%, XED = 1.4651 → substitutes, elastic.
Model note. The midpoint formula is a two-point approximation assuming other factors stay constant (ceteris paribus). Real sales data contains noise, trends, seasonality, and many variables moving together, so empirical XED can differ from this simple two-point XED.

Calculator

Mode 1 — Compute XED from two data points (midpoint)

%Δ price of Y (midpoint)
%Δ quantity of X (midpoint)
XED
Relationship type
Response strength

Mode 2 — Classify an XED value

Relationship type
Response strength
Example goods

Interpretation table

XED valueRelationship typeStrength
XED > 1SubstitutesStrong (elastic)
0 < XED < 1SubstitutesWeak (inelastic)
XED = 1SubstitutesUnitary (boundary)
XED = 0IndependentUnrelated
−1 < XED < 0ComplementsWeak (inelastic)
XED = −1ComplementsUnitary (boundary)
XED < −1ComplementsStrong (elastic)

Mode 3 — Solver: predict demand changes

From a known XED, estimate %ΔQx resulting from %ΔPy (ΔQx = XED × ΔPy), or vice versa.

Predicted %Δ quantity of X
Implied %Δ price of Y
Anchor example: XED = 1.5 and the price of Y rises 10% → the quantity of X is predicted to rise 15% (1.5 × 10%). Conversely, a 15% rise in the quantity of X is consistent with a 10% rise in the price of Y.

Mode 4 — Two-pair comparator

Frequently asked questions

What is cross-price elasticity of demand (XED)?
Cross-price elasticity of demand (XED) measures how responsive the quantity demanded of one good (X) is to a change in the price of another good (Y). The formula is: XED = (% change in quantity of X) / (% change in price of Y). A positive value means the two goods are substitutes, a negative value means complements, and a value near zero means independent (unrelated).
Why does the example on this page give 1.4651 instead of 1.5?
This calculator uses the midpoint formula (arc elasticity): each percent change is computed against the average of the start and end values, not the start value alone. For the price of Y from Rp20,000 to Rp22,000: (2,000/21,000) x 100% = 9.5238%. For the quantity of X from 100 to 115: (15/107.5) x 100% = 13.9535%. XED = 13.9535 / 9.5238 = 1.4651. The simple start-value-based formula gives (15/100)/(2,000/20,000) = 15%/10% = 1.5. The midpoint advantage: the result is the same whether the price rises or falls.
How do I interpret an XED value?
XED above 0: substitute goods; the larger the value, the stronger the substitution. XED below 0: complementary goods; the more negative, the stronger the link. XED near 0: independent goods. An absolute value above 1 means elastic (responsive), below 1 means inelastic (less responsive), and equal to 1 means unitary.
When should I use the midpoint formula vs the point formula?
Use the midpoint formula when comparing two discrete data points (e.g. the price before and after), because the result is symmetric: up or down gives the same number. Use the point formula (percent change against the start value) when the change is very small or when your textbook explicitly asks for it.
Can XED be used to set selling prices?
XED is a descriptive analysis tool, not a forecasting or pricing advisor. An XED value computed from historical data describes a past relationship assuming other factors stay constant (ceteris paribus); real markets are influenced by many factors at once. Use this calculator’s results for learning and exploration, not as the sole basis for pricing decisions.

Free tool by NRTechStudio