PPolySim OS

Consumer Choice

How does a shopper spend a fixed budget to be happiest? At the sweet spot where the budget line just kisses the highest reachable indifference curve.

Consumer ChoiceLive

Controls

Presets

A consumer maximizes utility subject to a budget. Indifference curves connect equally-satisfying bundles; the budget line shows what income affords. The best choice is where the budget line just touches the highest reachable indifference curve — the tangency where the marginal rate of substitution equals the price ratio. Change a price and watch the optimal bundle move.

▶ Run in Python

Data Inspector

Optimal X12.5
Optimal Y16.7
Utility14.4

Governing equation

Reading this result: With Cobb-Douglas preferences the optimal bundle spends a fixed income share on each good — here 50% of income (50) buys X and 50% buys Y, no matter how prices move; a price only changes how many units that fixed budget buys.

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

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Indifference curves connect bundles of two goods that give equal satisfaction; higher curves mean more utility. The budget line shows every affordable bundle. The optimal choice is the tangency point, where the marginal rate of substitution equals the price ratio. Changing a price or income pivots the budget line and shifts the optimum — the core model of consumer demand.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Economics simulations

Frequently asked questions

Is this indifference curves consumer choice tool really free?
Yes. Consumer Choice runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.