Skip to main content
Abacvia

Budget

Budget Allocator Calculator

Tell this calculator your monthly income, each category’s minimum and maximum, and how much you care about it (1–5). It then computes the mathematically best split — the allocation that pushes every dollar toward your highest priorities without breaking a single rule you set. It solves a linear program, the same optimization technique used to schedule airlines and route freight.

Customize client report

Budget Allocator Calculator

The geometry: every feasible plan, and the one that wins

With exactly two flexible categories (Housing and Groceries — every other category is pinned at its floor), every legal budget is a point inside the shaded polygon. The dashed line holds the best priority score the rules allow; sliding it as far as it can go lands on the highlighted corner — the optimal plan. Hover any corner to compare.

Every corner of the feasible region ranked by priority score
CornerHousingGroceriesPair priority score
★ Optimal corner$1,520.00$900.0010,580
Corner 2$1,800.00$620.0010,300
Corner 3$1,800.00$500.009,700
Corner 4$1,200.00$900.009,300
Corner 5$1,200.00$500.007,300

Corners are ranked best-to-worst by the two flexible categories’ combined priority score (pinned categories add a fixed constant to every corner); the simplex method walks from corner to corner along the polygon’s edges until nothing improves — the starred corner is its proof that it checked every direction.

Advisor or educator?

Embed this calculator on your own website — no signup.

Embed this calculator

How to use this calculator

  1. Enter your monthly after-tax income.

  2. List your budget categories with a minimum (floor) and a maximum (cap) for each. Leave a cap blank for "no cap".

  3. Give each category a priority from 1 (nice to have) to 5 (essential). The optimizer funds higher priorities first.

  4. Read the optimal plan, then check the "next dollar" card — it names the category your marginal money should fund.

  5. When exactly two categories are flexible, scroll to the geometry chart to see every feasible plan as a polygon and why the chosen corner wins.

The standard formula

budget-allocator
maximize   c·x
subject to  A·x ≤ b,   x ≥ 0

The standard form of a linear program: choose the plan x that maximizes a linear objective c·x subject to linear constraints A·x ≤ b. Every quantity involved — the objective, each constraint, the boundaries — is a straight line in the decision variables.

How the calculation works

budget-allocator
maximize   Σ wᵢ·xᵢ
subject to  Σ xᵢ ≤ income
           minᵢ ≤ xᵢ ≤ capᵢ    (one pair per category)

This tool’s model. Each xᵢ is the dollars assigned to category i, wᵢ is your 1–5 priority for it, and every rule you entered becomes one straight-line constraint. The solution method is the two-phase simplex algorithm with Bland’s anti-cycling rule, running entirely in your browser.

Site-wide conventions and all calculator formulas — rounding policy, period conventions, and how every formula is verified.

Worked example

Input

Monthly income $2,800. Housing: $1,200–$1,800, priority 4. Groceries: $500–$900, priority 5. Utilities, phone, and subscriptions pinned at $260, $80, and $40 (priority 3, 2, 1).

Result

Optimal plan: Groceries at its $900 cap, Housing $1,520, pinned categories at their exact amounts. Priority score 11,560 — no other legal split scores higher. The next dollar should go to Housing (the income constraint’s shadow price is 4).

Assumptions and important notes

  • Priorities are ordinal rankings for funding order, not dollar values — the optimizer funds weight-5 categories first, but does not claim they are "worth 5×" a weight-1 category.
  • A blank or $0 cap means "no cap beyond income"; caps above income are treated as income.
  • The model assumes one month, fully divisible dollars, and no carry-over between months.
  • The optimizer always places every dollar when caps allow it; money left over means every category hit a cap.

Common mistakes

  • Reading the priority score as dollars — it is a weighted sum (Σ priority × dollars) used only to rank plans.
  • Setting a minimum equal to income for one category, then expecting others to receive funding — the floors consume the whole budget by construction.
  • Expecting the tool to decide the priorities for you: the math finds the best plan for the weights you give; choosing the weights is the judgment call.

Frequently asked questions

What is the "priority score" the tool maximizes?

It is the sum of priority × dollars across categories. Maximizing it sends money to high-weight categories first, exactly like an expert would triage a budget — but with a mathematical guarantee that no other allocation of your rules does better.

Why does the tool say a plan is "provably optimal"?

The feasible plans form a flat-sided polygon (or polyhedron), and a linear objective always peaks at a corner. The simplex method walks the corners and stops only when no neighbor is better — a certificate of optimality, not a guess.

What is the "income shadow price"?

The shadow price of a constraint is how much the objective would improve if the constraint relaxed by one unit. For your income it equals the priority weight of the marginal category — literally which category your next dollar should fund.

When do I see the polygon chart?

When exactly two categories have room between floor and cap (all others pinned), the whole problem is two-dimensional, so the page draws the exact feasible polygon, its corners, and the priority line sliding to the winning corner. With three or more flexible categories the plan lives in higher dimensions — you get the bar chart and table instead.

Is this the same as the 50/30/20 rule?

No — 50/30/20 is one fixed starting point. This tool generalizes it: you set the floors, caps, and priorities, and the optimizer derives the best split for your numbers. You can even reproduce 50/30/20 by setting matching floors and caps.

Does the calculator upload my budget anywhere?

No. The linear program is solved locally in your browser, and nothing you type leaves your device.

Sources

The claims on this page are backed by these official sources:

  1. Nobel Prize 1975 — Kantorovich & Koopmans — the theory of optimum resource allocation formalized by linear programming.
  2. CFPB — Budgeting: how to create a budget and stick with it — the income-first category budgeting framework this allocator operationalizes.