Cross Price Elasticity of Demand Calculator
This calculator measures cross price elasticity of demand, the responsiveness of demand for one product when the price of another product changes. It is built for substitute and complement analysis: coffee versus tea, streaming services versus cable, printers versus ink, gas cars versus gasoline, or any pair where a related price may shift demand. Enter the initial and final quantity demanded for the product you are studying, then enter the initial and final price of the related good. The result is the midpoint elasticity, quantity change, related-price change, and likely relationship.
Use this page only when the changed price belongs to another product. If the product’s own price changed, use the price elasticity of demand calculator. If consumer income changed, use the income elasticity of demand calculator. If you are measuring sellers’ response to their own price, use the price elasticity of supply calculator.
What cross price elasticity means
Cross price elasticity divides the percentage change in quantity demanded for one good by the percentage change in the price of another good:
The sign is the most important part. A positive coefficient usually indicates substitutes. When good Y becomes more expensive, buyers shift toward good X, so demand for X rises. A negative coefficient usually indicates complements. When good Y becomes more expensive, buyers buy less of X because the goods are used together. A coefficient near zero suggests the relationship is weak, absent, or masked by other forces.
The absolute size describes strength. A cross elasticity of 1.00 is a stronger substitute signal than 0.10. A value of -1.20 is a stronger complement signal than -0.15. Real-world values depend on how narrowly goods are defined. One brand of cola versus another may show a larger positive relationship than cola versus all beverages. Left shoes and right shoes would be complements in theory, but most market data bundles them together, so the relevant product definition matters.
Formula used by the calculator
The calculator uses the midpoint method:
Here, quantity is the quantity demanded of the studied good, while price is the price of the related good. This distinction is essential. If you accidentally enter the studied good’s own price, you are calculating own-price demand elasticity instead of cross price elasticity.
Midpoint percentage changes are useful because they treat the two observations symmetrically. A price move from 10 to 12 and the same two prices described from 12 to 10 should not produce different magnitudes just because the direction is reversed. The midpoint method is especially helpful when comparing two market observations rather than evaluating a small change at one exact point.
Worked example matching the default calculator
The default inputs study a product whose quantity demanded rises from 1,000 to 1,200 while a related good’s price rises from 10 to 12. The midpoint quantity base is the average of 1,000 and 1,200, or 1,100. Quantity demanded rises by 200, so the quantity change is 200 divided by 1,100, or 18.18 percent.
The related good’s price rises by 2. The midpoint price base is the average of 10 and 12, or 11. The related-price change is 2 divided by 11, or 18.18 percent. Dividing 18.18 percent by 18.18 percent gives a cross price elasticity of 1.00. The calculator labels the likely relationship as substitutes because the result is positive.
In plain language, the product you are studying gained demand when the related good became more expensive. That is the pattern you would expect if some buyers switched from the related good to the studied good. If the quantity had fallen from 1,000 to 900 while the related price rose from 10 to 12, the quantity change would be -10.53 percent and the cross elasticity would be about -0.58, suggesting complements instead.
Real applications
Cross price elasticity helps with competitive strategy. A retailer can estimate whether a competitor’s price increase will shift customers toward its own product. A streaming service can study whether cable price hikes increase subscriptions. Grocery brands can test whether a private-label price change affects national-brand demand. The result can guide promotions, inventory, and market positioning.
It also helps avoid accidental cannibalization. If two products in the same company have a high positive cross elasticity, discounting one may pull demand away from the other rather than expand total category sales. If two products are complements, raising the price of one can reduce demand for the other. For example, a higher device price may lower accessory sales even if accessory prices do not change.
Cross elasticity connects to welfare and policy analysis. If a tax on one good pushes demand toward substitutes, the welfare effect depends on the size of that substitution and the surplus lost or gained. Use the deadweight loss calculator for triangular welfare loss from a wedge, and the consumer surplus calculator to estimate the value buyers keep when market price is below willingness to pay.
Tips for reliable inputs
- Keep the studied good and related good clearly separate.
- Use the same time window for quantity and price observations.
- Adjust for promotions, seasonality, advertising, stockouts, and product launches when possible.
- Segment narrowly when relationships differ by customer group or geography.
- Do not overread a value near zero; it can mean no relationship, noisy data, or offsetting effects.
Sources
- OpenStax, Principles of Economics 3e: Elasticity in Areas Other Than Price — cross price elasticity and substitute or complement interpretation.
- OpenStax, Principles of Economics 3e: Introduction to Elasticity — elasticity as responsiveness measured with percentage changes.
- Khan Academy, Elasticity tutorial — introductory elasticity concepts and examples.