Comparative Advantage for a business cycle
Simulate a business cycle live in your browser. This runs the real Comparative Advantage solver — adjust the inputs, watch it respond instantly, and export the result. No install, no account.
Controls
Presets
David Ricardo's great insight: even if one country is worse at making everything, both still gain from trade. Each should specialize in the good it gives up the least to produce — its comparative advantage — measured by the slope of its production-possibility frontier. Trade then lets both consume beyond their own frontiers.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
About this simulation
The full Comparative Advantage tool models a business cycle with the same numerics engineers and scientists use — running entirely client-side. Change any parameter and the result updates in real time, so you can build intuition, check a design, or teach the concept without spreadsheets or installs.
More you can do with Comparative Advantage
Other ways to simulate a business cycle
Frequently asked questions
- How do I simulate a business cycle?
- Open this page and use the live Comparative Advantage tool below — set your inputs and the simulation runs instantly in your browser using real numerics. No install, no account needed.
- Is it free?
- Yes. The simulation runs free in your browser. A one-time unlock or a Pro plan adds advanced parameters, saved presets, data import, and clean exports.
- Can I use my own numbers?
- Absolutely — every input is adjustable, and with data import you can drive a business cycle from your own measurements.