PPolySim OS
For Educators · Market Equilibrium Lab

Market Equilibrium Lab for a housing market

Built for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs. Simulate a housing market live below — adjust the inputs and watch it respond, right in your browser.

1

Supply Demand

open full solver →
Supply & DemandLive

Controls

Presets

Where the downward demand curve crosses the upward supply curve, the market clears: that price and quantity are the equilibrium. Shifting either curve moves it. The shaded triangles are consumer and producer surplus — the total gains from trade. A per-unit tax lifts the supply curve, raising price, cutting quantity, and creating deadweight loss.

▶ Run in Python

Data Inspector

Equilibrium price$60.0
Equilibrium qty40.0
Consumer surplus800
Producer surplus800

Governing equation

Reading this result: At the free-market equilibrium of $60.0, 40.0 units clear and the combined surplus (1600) is maximized.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

Price Elasticity of DemandLive

Controls

Presets

Elasticity measures how much quantity demanded responds to price. Where demand is elastic (|E| > 1), a price cut raises total revenue; where it is inelastic, a price cut lowers revenue. On a straight-line demand curve the top half is elastic, the bottom half inelastic, and revenue peaks exactly at the midpoint where elasticity equals one.

▶ Run in Python

Data Inspector

Quantity50.0
Elasticity-1.00
Typeunit
Revenue$2500

Governing equation

Reading this result: You are at the unit-elastic midpoint: revenue is at its maximum, and small price moves in either direction leave it roughly unchanged.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

Laffer CurveLive

Controls

Presets

At a 0% tax rate the government collects nothing; at 100% no one bothers to earn taxable income, so it also collects nothing. Somewhere between lies a revenue-maximizing rate — the peak of the Laffer curve. How responsive people are to taxes (the elasticity) sets where that peak falls. It is descriptive, not a policy prescription.

▶ Run in Python

Data Inspector

Revenue at rate0.278
Revenue-max rate55%
Zonebelow peak

Governing equation

Reading this result: Below the revenue-maximizing rate (≈55%) — the base is still large, so a modest rate increase collects more.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Market Equilibrium Lab

Frequently asked questions

Is this good for educators?
Yes — this version of "Market Equilibrium Lab for a housing market" is framed for educators teaching it to a class. Drop a live demo into a lecture or assign it as a shareable link — no lab installs.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.