The frontier at 0%, 20%, 40%, 60%, 80% and 100% of the most X, with the Y given up for each step of X and per unit of X. Rising costs down the table are the law of increasing opportunity cost.
Point
Good X
Good Y
Y given up for this step
Per unit of X
A
0
100
—
—
B
20
97.9796
2.0204
0.101
C
40
91.6515
6.3281
0.3164
D
60
80
11.6515
0.5826
E
80
60
20
1
F
100
0
60
3
Enter the most of each good the economy could make with everything devoted to it, and choose a straight frontier (constant opportunity cost) or one that bows out (increasing opportunity cost). The default is OpenStax’s education and healthcare trade-off, drawn bowed out on a 100-unit scale.
Calculated in your browser — the numbers you enter are never sent to our servers.
What it calculates: Most Y you can make alongside this X, Y given up for the extra X, Per extra unit of X, Opportunity cost of one more X, here.
How to read a production possibilities frontier: on the curve is efficient, inside is waste, outside is out of reach
The frontier is every combination of two goods an economy can make when it uses all its resources and the best technology it has. OpenStax’s example is healthcare against education: all resources to healthcare at one end, all to education at the other, and every mix in between on the curve.
A point on the curve is productively efficient: more of one good means less of the other. A point inside, like OpenStax’s R, wastes resources, because a point on the curve has more of both. A point outside cannot be reached today; it takes more resources or better technology.
With the defaults, 60 units of education leave room for at most 80 of healthcare. The tested combination, 40 of education and 70 of healthcare, is inside the frontier: at 40 of education the frontier allows 91.65 of healthcare, so 21.65 is being left on the table.
The opportunity cost of one more unit is the slope of the frontier
Moving along the frontier toward more of X means giving up some Y, and the Y given up per unit of X is the opportunity cost. On a straight frontier it is the same everywhere: Alphonso’s $10 buys at most 20 bus tickets or 5 burgers, so a ticket costs 5 ÷ 20 = 0.25 burgers and a burger costs 4 tickets, as OpenStax’s answer key says.
Opportunity cost of x = −Δy ÷ Δx (a step), or −dy/dx (at a point)
On a bowed frontier the slope changes as you move, so the calculator reports it two ways. The marginal cost is the slope at the point itself: 0.75 units of healthcare per unit of education at 60 units, with the defaults. The cost of a step is the drop from one point to the next: going from 60 to 70 units of education gives up 8.59 units of healthcare, 0.8586 a unit, more than 0.75 because the curve keeps steepening along the step.
The opportunity cost of Y in units of X is the inverse: at 60 units of education, one more unit of healthcare costs 1.3333 units of education.
Alphonso, OpenStax 2.1
Ticket: 5 ÷ 20 = 0.25 burgers
Burger: 20 ÷ 5 = 4 tickets
Tickets at $1: 5 ÷ 10 = 0.50 burgers
Why the frontier bows out: the first units of a good are cheap and the last ones are dear
Resources are not equally good at everything. The first resources moved into education are the ones least useful in healthcare, so education gains a lot and healthcare loses little; the last are doctors becoming teachers, which costs healthcare a great deal for little extra education. OpenStax calls this the law of increasing opportunity cost.
The table under the calculator shows it on the default frontier. The first 20 units of education cost 2.02 units of healthcare; the next 20 cost 6.33, then 11.65, then 20, and the last 20 cost 60. Per unit of education that is 0.1010 rising to 3.0000.
Choose the straight shape and every row gives up the same amount, which is the case where resources are equally suited to both goods. A budget constraint is always straight, because prices do not change with how much one person buys.
FigureThe frontier gets steeper as education grows: each step of 20 costs more healthcare than the last, from 2.02 to 60, the law of increasing opportunity cost.
More resources shift the frontier out; better technology for one good rotates it
Growth in labor, capital or land lets the economy make more of both goods, and the whole frontier moves outward. A point that was out of reach can become attainable, which is the only way to get more of everything once production is already efficient.
A technology that helps only one good rotates the frontier. OpenStax’s answer key describes better healthcare technology: the healthcare end rises while the education end stays, so the frontier gets steeper and education’s opportunity cost goes up. Raise “Most of good Y” from 100 to 120 with the defaults and the marginal cost of education at 60 units rises from 0.75 to 0.9 units of healthcare.
One producer’s frontier gives opportunity cost; two producers’ frontiers give comparative advantage
This page is one producer’s whole set of possibilities. The Opportunity Cost Calculator compares two specific choices priced in dollars, which is the right tool when the goods have market prices. The Comparative Advantage Calculator takes two producers and asks which has the lower opportunity cost of each good, which is what decides who should specialize in what.
The link between them is the slope. A flatter frontier means a lower opportunity cost of the good on the horizontal axis, and the producer with the flatter frontier has the comparative advantage in that good, even if another producer can make more of both.
Frequently Asked Questions
What is a production possibilities frontier?
A curve showing every combination of two goods an economy can produce when it uses all its resources and technology efficiently. Points inside it waste resources; points outside it are not attainable.
How do you calculate opportunity cost from a PPF?
Divide the amount of the other good given up by the amount of this good gained: −Δy ÷ Δx between two points, or the slope of the frontier at a single point. On a straight frontier it is the Y intercept divided by the X intercept.
Why is the PPF curved?
Because resources are not equally suited to every good. Shifting resources into a good starts with the ones least useful elsewhere, so each extra unit costs more than the last: the law of increasing opportunity cost.
When is a PPF a straight line?
When resources are equally good at producing both goods, so the trade-off is constant. A budget constraint is the everyday example: its slope is fixed by the two prices.
What does a point inside the PPF mean?
The economy is productively inefficient: resources are idle or badly used, and it could have more of both goods. Unemployment in a recession is the usual example.
What shifts the PPF outward?
More resources (labor, capital, land) or better technology. Technology that helps only one good rotates the frontier outward at that good’s end instead of shifting it evenly.
Is this the PPF calculator for India’s Public Provident Fund?
No. This is the economics production possibilities frontier. India’s Public Provident Fund is a savings scheme, a different subject that happens to share the initials.
Sources & References
Figures on this page are checked against primary, authoritative sources. Links open in a new tab.
Two goods, a fixed stock of resources and fixed technology, all fully usable in either good.
The frontier’s shape comes from the curvature you choose; k is a modelling choice, not an observed quantity.
Quantities are continuous, so fractions of a unit are allowed.
Where it stops
A real economy produces many goods; two is the teaching simplification.
The frontier says which combinations are efficient, not which one society should choose (allocative efficiency needs preferences).
Growth, better technology or new resources move the frontier; the calculator draws one frontier at a time.
Related Calculators
Opportunity CostCompare two choices to see net value, opportunity cost, explicit vs implicit costs, and risk-adjusted scenarios.
Comparative AdvantageFind comparative and absolute advantage between two producers and two goods, plus the mutually beneficial trade range.
Diminishing ReturnsTurn input-output data into total, marginal, and average product and find the point of diminishing returns.
Marginal UtilityTurn a utility table into total and marginal utility and utility per dollar, and find the satiation point.
Market EquilibriumSolve equilibrium price and quantity from linear demand and supply, with surplus, a shift simulator, and tax incidence.
Nash EquilibriumEvery Nash equilibrium of a two-player, two-strategy game: the pure-strategy cells, each player’s dominant strategy and the mixed-strategy equilibrium, with best responses marked.
Price Ceiling and FloorA legal maximum or minimum price on any market: whether it binds, the shortage or surplus, what still trades, who gains and loses, and the deadweight loss.
Tax IncidenceHow a per-unit tax splits between buyers and sellers, the prices each faces, the revenue and the deadweight loss, with the elasticity route to the same split.
Sudha, J. (2026, September 27). Production Possibilities Frontier Calculator. Calculator Matters. https://calculatormatters.com/economics/production-possibilities-frontier-calculator/
Published the production possibilities frontier calculator: a straight or bowed-out frontier for two goods, the opportunity cost of one more unit as the slope at any point and over a step, points A to F, and whether a combination is efficient, inside or out of reach.
Checked against OpenStax’s published straight-frontier figures (a burger costs four bus tickets; a ticket 0.25 burgers, then 0.50) and against the frontier’s own geometry on eight shapes.
Add this calculator to your site
Responsive embed — and private: nothing your visitors type leaves their browser.