📈 IS-LM Model — Keynesian Macroeconomics
Interactive IS-LM macroeconomic model: explore goods market (IS curve) and money market (LM curve) equilibrium. Simulate fiscal and monetary policy shocks, multipliers, and comparative statics.
About this simulation
The diagram plots two schedules in interest-rate/output space: the IS curve, where planned spending equals output, and the LM curve, where money demand equals money supply. Wherever the curves cross gives the short-run equilibrium output Y* and interest rate r*, recalculated live as you adjust spending, taxes, the money supply, or the sensitivity parameters. Moving a slider redraws both curves and slides the equilibrium dot to its new position, whilst the previous curves briefly show dashed so the shift is visible.
🔬 What it shows
How goods-market equilibrium (the IS curve) and money-market equilibrium (the LM curve) combine to determine output and the interest rate together, alongside the fiscal multiplier and crowding-out readouts below the graph.
🎮 How to use
Drag the Gov. Spending G, Money Supply M, Tax T, Investment sensitivity b, Money demand h and Price level P sliders, or click Fiscal Expansion, Monetary Expansion or Tax Cut for a preset shock; Reset restores the baseline (G=200, M=800, T=150, b=30, h=40, P=1.0).
💡 Did you know?
John Hicks sketched the IS-LM apparatus in his 1937 paper "Mr. Keynes and the Classics", written months after Keynes's General Theory appeared; he later shared the 1972 Nobel Memorial Prize in Economic Sciences.
Frequently asked questions
Why does the IS curve slope downward here?
A lower interest rate cuts the cost of borrowing, raising investment and equilibrium output. The Investment sensitivity slider b sets the steepness: a larger b flattens the curve.
Why does the LM curve slope upward?
Higher output raises money demand; with supply and prices fixed, the rate must rise to keep demand equal to the fixed real money stock, so LM slopes upward.
What happens when I click Fiscal Expansion?
Gov. Spending jumps higher, shifting IS rightward. The new equilibrium shows higher output and a higher rate, and Crowding-out reports how much extra spending is offset by that rate rise.
What does the Crowding-out figure mean?
It estimates how much the equilibrium rate rises per unit of extra spending, after the fiscal multiplier. A larger rise means private investment is displaced more, partly cancelling the stimulus.
How would a liquidity trap show here?
Push Money demand h very high and LM turns flat, so raising Money Supply barely moves the rate or output — showing why monetary policy loses traction near zero rates.
Frequently Asked Questions
What does the IS curve represent?
The IS curve represents combinations of the real interest rate and GDP at which the goods market is in equilibrium (investment equals saving, or equivalently, aggregate expenditure equals output). It slopes downward because lower interest rates stimulate investment, raising equilibrium output.
What shifts the IS curve?
The IS curve shifts rightward with: increased government spending, tax cuts, higher consumer confidence (more consumption), increased investment optimism, or higher export demand. It shifts leftward with fiscal consolidation, lower confidence, or a fall in exports. Each shift changes the equilibrium output at every interest rate level.
What is the liquidity trap?
A liquidity trap occurs when interest rates are at or near zero and monetary policy loses its effectiveness. At very low rates, people prefer to hold money (liquidity) rather than bonds because they expect interest rates to rise (bond prices to fall). In this situation, increasing the money supply does not lower interest rates further, and monetary stimulus has no effect on output — a situation Keynes described and that reoccurred during the 2008 crisis and the COVID-19 recession.
What is the crowding-out effect?
When fiscal policy raises government spending (shifting IS right), equilibrium output and interest rates both rise. The higher interest rates reduce private investment and consumption, partially offsetting the fiscal stimulus. This is crowding out — government borrowing displaces private spending. In the extreme classical case (vertical LM), full crowding out occurs and fiscal policy has no net effect on output.
How does the IS-LM model apply to open economies?
The Mundell-Fleming model extends IS-LM to an open economy with international capital flows and a balance of payments constraint. Under fixed exchange rates and perfect capital mobility, fiscal policy is very effective (no crowding out because the exchange rate is fixed) while monetary policy is ineffective (money supply changes are offset by capital flows). Under floating rates, monetary policy is effective and fiscal policy is largely crowded out by exchange rate appreciation.
Interactive IS-LM diagram: goods market (IS curve) and money market (LM curve) equilibrium. Fiscal and monetary policy shocks, multiplier effects, crowding-out.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install