Trade-offs

Production Possibilities Frontier Calculator

Draw a two-good frontier, read the opportunity cost at any point, and test whether a combination is efficient, wasteful or out of reach.

Who this is for: Reading opportunity cost and efficiency off a PPF.

Your frontier

Shape

How strongly the frontier bows: 2 is a quarter circle on equal axes. A shape setting, not a measured figure.

Most of each good

With every resource devoted to X. The default is education.

With every resource devoted to Y. The default is healthcare.

Where you are

The step whose cost in Y you want to know.

Test a combination

Most Y you can make alongside this X

80.00

The point on the frontier at the X you entered.

Formula verified 27 September 2026

Y given up for the extra X

8.59

The frontier’s Y now, minus its Y after the step: the opportunity cost of the step.

Per extra unit of X

0.8586

The step’s cost divided by its size: the average slope over the step.

Opportunity cost of one more X, here

0.7500

Units of Y per unit of X at this point: the slope of the frontier.

Opportunity cost of one more Y, here

1.3333

Units of X per unit of Y: the inverse of the cost above.

The combination you tested

Inside: inefficient, more of both is possible

On the frontier is productively efficient; inside wastes resources; outside is out of reach today.

Extra Y possible at the tested X

21.65

The frontier’s Y at the tested X, minus the Y tested. Negative means the point is out of reach.

Report an issue

The frontier: most Y at each X

Add your numbers to see the visual breakdown.

Points A to F along the frontier

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.

PointGood XGood YY given up for this stepPer unit of X
A0100——
B2097.97962.02040.101
C4091.65156.32810.3164
D608011.65150.5826
E8060201
F1000603

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.

Updated 27 September 2026 · 70 automated cases pass

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.

A quarter-circle frontier from 100 of healthcare to 100 of education with points A to F every 20 units, a dashed tangent of slope 0.75 at 60 units, and the point 40 education, 70 healthcare sitting inside the curve.
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.

What the calculation assumes

  • 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.

More in Economics, or browse all calculators.

Note

This calculator is provided for general informational and educational use. Double-check important results before relying on them.

How we calculate · Found an error? email us

Cite this calculator

APA

Sudha, J. (2026, September 27). Production Possibilities Frontier Calculator. Calculator Matters. https://calculatormatters.com/economics/production-possibilities-frontier-calculator/

MLA

Sudha, Jay. "Production Possibilities Frontier Calculator." Calculator Matters, 27 Sept. 2026, https://calculatormatters.com/economics/production-possibilities-frontier-calculator/.

Authorship & verification

Built and maintained by .

How this calculator is tested

70 automated cases pass; last run 30 September 2026.

Test cases by kind
Independent cross-check7expected values published elsewhere, or reached by a second method
Golden11worked by hand, the arithmetic written into the test
Boundary12zero, negative, extreme and invalid inputs
Property6rules that must hold for any input
Structural34every output present and finite

Cases from this calculator’s own test file, as written there:

  • Alphonso: $10 ÷ $2 = 5 burgers, $10 ÷ $0.50 = 20 bus tickets (independent cross-check)
  • a bus ticket costs 0.25 burgers (the answer key’s 0.50/2 = .25) (independent cross-check)
  • … wherever he starts on the line (independent cross-check)
  • a burger costs four bus tickets (the inverse) (independent cross-check)
  • with tickets at $1 (at most 10), a ticket costs 0.50 burgers (independent cross-check)
  • the price rise leaves the burger end where it was (independent cross-check)

Full verification report for this calculator

What's changed (2 updates)

Published 27 September 2026

  1. 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.
  2. 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.