Ameti Capitalameti.capital · Margin & markup worksheets

The best margin calculator is the one that cannot swap your denominators

Every margin tool divides the same two numbers; they differ in whether they protect you from the classic margin/markup swap and whether they can solve backwards from a target. This page sets the five capabilities that matter and compares the three real approaches honestly — including this site's own calculators.

What "best" means for a margin calculator

Margin arithmetic is simple; margin confusion is not. A calculator earns its keep by preventing the standard errors, so judge it on five capabilities: (1) it computes margin and markup side by side, so the two denominators can never be silently swapped; (2) it solves backwards — price from a target margin, not only margin from a price; (3) it shows the formula with your numbers in it, not just an answer; (4) it handles a discount — what a percentage off does to the margin you started with; (5) it needs no account and keeps no data, because cost figures are among the most sensitive numbers a business has.

ApproachStrengthsLimitsBest for
A dedicated online calculator (this site's two)Margin and markup together on one screen; a second tool solves price from target margin; formulas printed with the worked example; nothing storedOne product at a time; it cannot see your ledger, so the cost you type is the cost it trustsQuoting, repricing and checking a number someone just gave you
A spreadsheet you buildA whole price list at once; scenario columns side by side; your own cost build-upsEvery formula is yours to get wrong — the classic failure is a markup formula sitting in a column labelled margin
Accounting software reportsRuns on booked figures; margins by product or department without re-typingReports gross margin only, on the ledger's cost definition; no markup view, no price-from-margin solving

The honest verdict

For a single price or a single quote, a dedicated calculator is the best tool — the answer is instant and the printed formula lets you audit it. For a catalogue reprice, graduate to a spreadsheet, and validate it against the calculator on three known cases before trusting the batch. Accounting software is the best source of the cost figure and the weakest calculator: export its numbers, then do the margin arithmetic somewhere the denominator is labelled.

Verify any calculator by hand, once

Cost $60, price $100. By hand: margin is ($100 − $60) ÷ $100 = 40%; markup is ($100 − $60) ÷ $60 = 66.7%. Working backwards, a 40% target margin on a $60 cost requires $60 ÷ (1 − 0.40) = $100. And a 10% discount off $100 leaves a $90 price and a ($90 − $60) ÷ $90 = 33.3% margin. If the tool in front of you returns those four numbers from those inputs, its engine is sound; the rest is features.

The blended case is where tools separate

Single-product arithmetic is easy everywhere. The honest test of a calculator is a mix: product A at a 40% margin taking 70% of revenue, product B at a 25% margin taking 30%. The blended margin is 0.70 × 40% + 0.30 × 25% = 35.5% — and a tool that only accepts one product forces you to do that weighting by hand, in your head, at exactly the moment a quote is waiting. If your business sells more than one thing, weight the margins by revenue share (not by units, unless prices are similar) and check the blended figure quarterly: a mix drifting toward the low-margin product thins the blend even when every individual margin holds.

Keep working through the question

Last reviewed November 28, 2026. Worked numbers on this page are illustrative arithmetic, not data about any real business.