🧮
🧮 Math & statistics

Corner Point Calculator (linear programming: vertices of the feasible region and optimum)

Results update as you type.

Your numbers

Understanding the corner point calculator — concept and principle

This calculator solves two-variable linear programming problems by the corner-point method. Enter an objective z = c₁x + c₂y to maximize or minimize and a list of linear constraints; it finds every corner of the feasible region, evaluates z at each and picks the best. Use it for finite-math and business-math problems about production, scheduling or diets.

max 40x + 30ymax 40x + 30y(4, 8) → 400360320Constraints4Corners4z0 · 360 · 400 · 320Optimum(4, 8) · 400
A linear objective peaks at a corner of the feasible region, so only corners are checked.

How it is calculated

  1. Each constraint a·x + b·y ≤ c (or ≥, =) has a boundary line a·x + b·y = c; x ≥ 0 and y ≥ 0 can be added.
  2. Intersect every pair of boundary lines.
  3. Keep only the intersection points that satisfy all constraints: these are the corners.
  4. Evaluate z = c₁x + c₂y at each corner and choose the largest (maximize) or smallest (minimize).

The principle

Linear constraints cut out a convex region, a polygon with straight edges. The objective z is a plane over that region, or, seen from above, a family of parallel lines c₁x + c₂y = constant. Sliding such a line in the improving direction, the last point it touches before leaving the region is always a corner (or a whole edge). That is why only the corners need to be checked, which turns an infinite search into a finite one.

Worked example

Default inputs: maximize 40x + 30y subject to x + y ≤ 12, 2x + y ≤ 16, x ≥ 0, y ≥ 0.

  1. Constraints used, including x, y ≥ 0: 4.
  2. Corners: (0, 0), (0, 12), (4, 8) where x + y = 12 meets 2x + y = 16, and (8, 0): 4 corners.
  3. z values: (0, 0) → 0; (0, 12) → 360; (4, 8) → 160 + 240 = 400; (8, 0) → 320.
  4. Optimal corner (4, 8) with optimal value 400.
How Optimal value of the objective changes with Objective: coefficient of yHow Optimal value of the objective chang…3004005006007008007.51522.53037.54560Example: 400Objective: coefficient of y
Each point is the calculator re-run with only “Objective: coefficient of y” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Objective: coefficient of yOptimal value of the objective
7.5320
15320
22.5340
30400
37.5460
45540
60720

How to read the result

In the default story, x and y are hours at two jobs paying 40 and 30 per hour, with at most 12 hours of work and 16 hours of preparation. The best plan is 4 hours at the first job and 8 at the second. Constraints that pass through the optimal corner are the binding ones; relaxing them would improve the result, while the others have slack.

Common mistakes

Keep in mind: Real planning problems often need whole-number answers or more variables; this method finds continuous optima for two variables only.

Frequently asked questions

What is the corner point theorem?

If a linear program has an optimum, it is reached at a corner of the feasible region.

What if two corners give the same best value?

Then every point on the edge between them is also optimal.

Can I minimize instead of maximize?

Yes, choose "Minimize"; the smallest corner value is then reported.

Sources: R. Sekhon & R. Bloom, Applied Finite Mathematics (LibreTexts), §3.1 Maximization Applications

Checked 9 Nov 2026. R. Sekhon & R. Bloom, Applied Finite Mathematics (LibreTexts), §3.1 Maximization Applications — “The maximum (or minimum) value of the objective function always takes place at the vertices of the feasibility region”, solution procedure and Example 3.1.1 (maximize 40x + 30y with x + y ≤ 12, 2x + y ≤ 16: corners (0, 0), (0, 12), (4, 8), (8, 0); maximum 400 at (4, 8)).

🧮 All math & statistics tools →🌍 Calculators by country →