Calculator
Example Data Table
| Scenario | Demand | Supply | Policy | Expected Reading |
|---|---|---|---|---|
| Base | Qd = 1200 - 18P | Qs = -150 + 22P | No control | Balanced market estimate |
| Tax case | Qd = 1200 - 18P | Qs = -150 + 22Ps | Tax = 4 | Buyer price rises |
| Price ceiling | Qd = 1200 - 18P | Qs = -150 + 22Ps | Ceiling = 25 | Possible shortage |
| Price floor | Qd = 1200 - 18P | Qs = -150 + 22Ps | Floor = 40 | Possible surplus |
Formula Used
The calculator uses a linear demand curve and a linear supply curve.
Demand: Qd = a - bP
Supply: Qs = c + dPs
Tax or subsidy wedge: Ps = P - tax + subsidy
Equilibrium: a - bP = c + d(P - tax + subsidy)
Buyer price: P = (a - c + d(tax - subsidy)) / (b + d)
Quantity: Q = a - bP
Demand elasticity: Ed = -b × P / Q
Supply elasticity: Es = d × Ps / Q
How to Use This Calculator
- Enter the demand intercept and demand slope.
- Enter the supply intercept and supply slope.
- Add tax or subsidy values if needed.
- Choose a price floor or ceiling when testing controls.
- Enter a price to test for surplus or shortage.
- Press Calculate to view results above the form.
- Use CSV or PDF buttons to save the report.
Supply and Demand Curve Calculator Guide
A supply and demand curve calculator helps turn simple market assumptions into useful price signals. It models how buyers react when price rises. It also models how sellers react when price changes. The tool uses linear equations, so every input has a clear meaning. You can test a normal market, a taxed market, a subsidized market, or a controlled market.
Why equilibrium matters
Equilibrium is the point where quantity demanded equals quantity supplied. At that point, planned purchases match planned sales. No shortage exists. No unsold surplus remains. Managers use this point to study pricing, output, and policy effects. Students use it to understand graph intersections and market balance.
What the inputs represent
The demand intercept shows the quantity people would buy at a zero price. The demand slope shows how fast demand falls as price increases. The supply intercept shows the starting quantity sellers offer. The supply slope shows how fast supply rises as seller price improves. Tax and subsidy inputs shift the seller side of the market. They also create a wedge between buyer price and seller price.
How results are interpreted
The calculator reports buyer price, seller price, equilibrium quantity, market gap, surplus, shortage, and elasticities. Consumer surplus estimates buyer benefit above the paid price. Producer surplus estimates seller benefit above the supply reservation price. Government net revenue shows the value collected from taxes minus subsidy cost. These values make scenario comparison easier.
Practical uses
Use the tool before changing a product price. Compare the current price with the estimated equilibrium price. Check whether a floor causes surplus. Check whether a ceiling causes shortage. Review elasticity before discounts or price increases. A high absolute demand elasticity means buyers react strongly. A low value means demand is less sensitive. The downloadable reports help preserve assumptions, curve points, and final results for later review.
Reading the curve table
The curve table lists several prices, expected demand, expected supply, and the gap. A positive gap means surplus. A negative gap means shortage. The graph uses the same points. This makes the model transparent. You can adjust point count for smoother curves or smaller reports. Use careful inputs because weak assumptions produce weak market forecasts.
FAQs
What does this calculator solve?
It solves linear supply and demand equations. It finds equilibrium price, quantity, surplus, shortage, elasticities, and policy effects.
Can I include a tax?
Yes. Enter the per unit tax. The tool creates a wedge between the buyer price and seller price.
Can I include a subsidy?
Yes. Enter the per unit subsidy. It lowers the seller-side wedge and can raise traded quantity.
What is a price ceiling?
A price ceiling is a maximum legal price. When it is below equilibrium, it can create a shortage.
What is a price floor?
A price floor is a minimum legal price. When it is above equilibrium, it can create surplus supply.
What does elasticity show?
Elasticity shows how strongly quantity responds to price. Larger absolute values mean stronger price sensitivity.
Why is supply dashed in the chart?
The dashed line separates supply from demand without adding extra styling. It keeps the preview simple.
Can I export the results?
Yes. Use the CSV or PDF buttons. The report includes assumptions, results, and curve table values.