Can the business absorb a supplier price rise? The break-even math in integer cents
A supplier email says "prices go up 8% next month". Turning that into a decision needs three numbers: the new monthly profit, the price rise that wins the old profit back, and the largest cost rise the business can take
A supplier email says "prices go up 8% next month". Turning that into a decision needs three numbers: the new monthly profit, the price rise that wins the old profit back, and the largest cost rise the business can take and still break even. Here is the arithmetic, in integer cents and basis points so nothing drifts.
Inputs
// all money in cents, all percentages in basis points (1% = 100 bp)
const sales = 8_500_000; // $85,000 monthly sales
const marginBp = 4200; // 42% gross margin
const otherOut = 3_100_000; // $31,000 rent, payroll, software, loans...
const directRiseBp = 800; // +8% on materials, stock, shipping
const otherRiseBp = 500; // +5% on the other outflows
Where the rise lands
Direct costs and the other outflows react differently, so split them first:
const pct = (amount, bp) => Math.round(amount * bp / 10_000);
const direct = sales - pct(sales, marginBp); // 4,930,000 = $49,300
const profitNow = sales - direct - otherOut; // 470,000 = $4,700
const added = pct(direct, directRiseBp) + pct(otherOut, otherRiseBp); // 549,400 = $5,494
const profitAfter = profitNow - added; // -79,400 = -$794 a month
A $4,700 monthly profit becomes a $794 monthly loss. Nothing else changed.
The price rise that wins it back
Raising prices does not change what you pay per unit, so new sales must cover the new direct costs, the new other outflows and the old profit:
const needed = direct + otherOut + added + profitNow; // 9,049,400 = $90,494
// rise in basis points, rounded UP so it is never too small
const priceRiseBp = Math.ceil((needed - sales) * 10_000 / sales); // 647 bp = 6.47%
This holds volume constant. If a price rise will cost you customers, the real number is higher, which is a reason to know the base case first.
The largest rise you can survive
If every cost rises by the same x, break-even is sales = (direct + otherOut) * (1 + x):
const maxRiseBp = Math.floor((sales - direct - otherOut) * 10_000 / (direct + otherOut)); // 585 bp
Round this one DOWN: a limit that is slightly too generous is worse than one that is slightly too strict.
Why integer cents
0.1 + 0.2 problems are rare in one multiplication, but this chain has several percentages and a division; in floats the last digit of a cent-level result depends on the order of operations. With integers you round in exactly two places, on purpose, in the safe direction.
If you want the same numbers without writing code, the free Cost Increase Calculator (FREE, no sign-up) shows them and how long the cash above your reserve lasts.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.