Supply & Demand Lab Interactive equilibrium simulator
Baseline
Per-Unit Tax
Subsidy
Price Floor
Price Ceiling
Demand Shock ↑
Supply Shock ↓
Elastic Demand
Inelastic Demand
Market Equilibrium
—
Equilibrium Price
—
Equilibrium Qty
—
Consumer Surplus
—
Producer Surplus
—
Total Welfare
—
Deadweight Loss
Curve Parameters
Demand intercept 100
Demand slope 1.0
Supply intercept 10
Supply slope 1.0
Policy Interventions
Per-unit tax
Subsidy
Price floor
Price ceiling
How to use
Drag the demand (blue) or supply (green) curves to shift them. Use the sliders to adjust slope and intercept. Apply policy interventions to see how taxes, subsidies, and price controls affect equilibrium, welfare, and deadweight loss.

The shaded areas show consumer surplus (purple), producer surplus (green), and any deadweight loss (red) created by interventions.
Demand curve
Supply curve
Equilibrium point
Consumer surplus
Producer surplus
Deadweight loss