Free tool

Markup & margin calculator

This free markup vs margin calculator prices a job the way you actually quote it: add up your materials, labor, and overhead, then set the margin or markup you want to hit. It returns the exact bid price, the profit in dollars, and — the part most calculators skip — the real resulting margin and markup so you never confuse a 30% margin with a 30% markup again.

Markup & margin calculator

Add up your materials, labor, and overhead, then set a target margin or markup — the bid price and the real resulting margin update as you drag.

FreeLive — no button to pressShareable result

1 · Your cost to do the job

$
$
$
Total cost$800.00

2 · How do you want to price it?

%
0%90%

Drag the slider or type an exact value — both stay in sync. Margin is capped at 99% (100% would mean an infinite price).

Bid this price

$1,142.86

Profit on the job$342.86

Resulting margin: 30.0%·Resulting markup: 42.9%

You set a 30.0% margin → that's a 42.9% markup.
margin = profit ÷ pricemarkup = profit ÷ costmargin = markup ÷ (1 + markup)price = cost ÷ (1 − margin)
Worked example: a job costs $1,000. To keep a 30% margin, you bid $1,000 ÷ (1 − 0.30) = $1,428.57 — a profit of $428.57. That same price is a 42.9% markup ($428.57 ÷ $1,000), which is why a “30% markup” and a “30% margin” are never the same bid.

Markup vs margin: the difference in one sentence

Markup is profit measured against your cost. Margin is that same profit measured against your price. The dollar profit is identical — you are just dividing it by a different number, so the two percentages never match, and margin is always the smaller of the two. Add $300 of profit to a $1,000 job and you have a 30% markup ($300 ÷ $1,000 of cost) but only a 23.1% margin ($300 ÷ $1,300 of price). That gap is exactly where quotes go wrong: someone means to keep 30% of every dollar they collect (margin) but sets a 30% markup instead, and quietly leaves money on the table on every single job.

The two are locked together by one conversion, and it's worth committing to memory: margin = markup ÷ (1 + markup), and going the other way, markup = margin ÷ (1 − margin). So a 50% markup is a 33.3% margin, a 100% markup is a 50% margin, and to hit a 50% margin you actually need a 100% markup. The calculator above does this translation live: set one, and it shows you the other in the callout box, so the number you have in your head and the number your customer effectively pays are never out of step.

How to price a job with this calculator

  1. Enter your three costs. Put your materials, labor, and overhead into the left card. They add up live to a bold Total cost line — the all-in amount it costs you to deliver the work before any profit.
  2. Choose how you think about pricing. Flip the toggle to Set margin % if you think in “I want to keep X% of the price,” or Set markup % if you think in “I add X% on top of my cost.” Both are valid; they just answer different questions.
  3. Dial in the percentage. Drag the slider or type an exact figure in the box — they stay synced. The margin slider runs to 90% (with a hard 99% cap in the input), and the markup slider runs to 500% for high-margin digital or creative work.
  4. Read the bid price. The right panel shows the price to quote in large type, the profit in dollars, and the resulting margin and markup. Hit Copy price to paste it into a quote, or Share calculation to send the whole scenario as a link.

Everything recalculates the instant you change an input — there is no calculate button to press, and nothing you type is uploaded anywhere. The full state of the calculation lives in the page URL, so a shared link reopens to the exact same numbers.

What markup do I need for a 30% margin?

This is the single most common question this tool answers, so here it is directly: a 30% margin requires a 42.9% markup. The math is markup = margin ÷ (1 − margin) = 0.30 ÷ 0.70 = 0.429. On a job that costs you $1,000, that means bidding $1,428.57 — which keeps exactly $428.57, or 30%, of the $1,428.57 you collect. If you had instead applied a 30% markup, you would have bid only $1,300, kept $300, and landed at a 23.1% margin — a full seven points of margin short of your target.

Because that particular conversion trips people up constantly, here is a quick reference for the margins contractors, agencies, and resellers target most often. Set the calculator to Set margin %, type the margin you want, and it will show you the exact markup to apply:

Target marginMarkup you must applyPrice on a $1,000 cost
10%11.1%$1,111.11
20%25.0%$1,250.00
25%33.3%$1,333.33
30%42.9%$1,428.57
40%66.7%$1,666.67
50%100.0%$2,000.00
60%150.0%$2,500.00

Notice how the required markup climbs far faster than the margin. Getting from a 50% to a 60% margin — just ten points — nearly doubles the price on the same cost, because you are squeezing a fixed cost into an ever-smaller slice of the total. That non-linearity is exactly why eyeballing a markup to “feel like” a margin is so unreliable, and why a calculator earns its keep.

A contractor markup calculator that includes overhead

For a contractor markup calculator, the number that gets forgotten is almost always overhead. It is easy to price a job off materials plus a labor rate and call it done, but the truck, fuel, insurance, tools, software, the phone that rings, and the hours spent quoting jobs you don't win are all real costs of doing the work — and if they aren't inside your cost figure before you apply a markup, your “profit” is really just reimbursement for expenses you forgot to count. That is why this calculator gives overhead its own input line: fold a fair share of your monthly operating costs into each job so the margin you set is a margin on the whole cost of delivering it.

A common approach is to estimate your total annual overhead, divide it across the number of billable jobs or hours you expect in a year, and add that per-job slice into the overhead box. Once it's in there, the markup you apply is doing its actual job — generating profit on top of a fully-loaded cost — instead of silently subsidizing the business. Contractors who skip this step often discover at year-end that a book full of “profitable” jobs somehow didn't leave much profit; almost always, uncounted overhead is where it went.

When to think in margin, and when to think in markup

Both numbers are correct; they just suit different jobs. Markup is the more natural tool at the moment of quoting, especially for trades and resellers, because you start from a known cost and add a percentage on top — it maps cleanly onto “this part cost me $80, I'll charge $120.” It is fast, it is intuitive at the counter, and a consistent markup rule is easy to apply across hundreds of line items without a spreadsheet.

Margin is the language of the business as a whole. When you look at a profit-and-loss statement, compare yourself to competitors, model whether you can afford to drop a price to win a bid, or talk to a lender or investor, margin is the number everyone uses, because it answers “of every dollar that comes in, how much do we keep?” The trap is using markup thinking to hit a margin goal. If leadership says “we need to protect a 35% gross margin” and the field applies a 35% markup, the business quietly runs at a ~26% margin and the target is missed on every invoice. Set the goal in margin, convert it to the markup your team applies at the point of sale, and the two finally agree — which is precisely the translation this calculator automates.

The formulas, spelled out

Every number this tool shows comes from four small equations. Here they are with nothing hidden:

  • Total cost = materials + labor + overhead.
  • Price from a target margin = total cost ÷ (1 − margin). Dividing by (1 − margin) is what “grosses up” the cost so that the margin is measured against the final price. This is why margin can never reach 100% — you would be dividing by zero, implying an infinite price — and why the tool caps the margin input at 99%.
  • Price from a target markup = total cost × (1 + markup). Here you simply add the markup percentage on top of the cost, so there is no upper limit and the slider comfortably reaches 500% for high-margin work.
  • Converting between them: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin). Profit in dollars is the same either way: price − total cost.

There is no rounding sleight-of-hand and no hidden fee assumption — it is pure arithmetic, which is why you can trust the resulting-margin readout even when you have typed an unusual number. If you want to sanity- check a figure by hand, the worked example under the calculator walks a $1,000 job through the full margin path step by step.

Who uses a markup and margin calculator?

  • Contractors and tradespeople pricing a bid so that materials, labor, and overhead are all covered and a real profit margin remains.
  • Freelancers and agencies marking up subcontractor costs, software, or ad spend they pass through to a client, and quoting project fees against a target margin.
  • Retailers and resellers setting shelf prices from wholesale cost while protecting a category margin.
  • Restaurants and makers pricing a menu item or product from its ingredient or unit cost.
  • Sales teams and founders checking that a discount they want to offer still clears the minimum margin the business needs to stay healthy.

If you price by the hour rather than by the job, the freelance rate calculator works out the hourly rate you need after tax and expenses, and once you have a quote ready the invoice generator turns it into a clean PDF to send.

Common mistakes when setting a markup or margin

A calculator removes the arithmetic errors, but a few judgment mistakes still catch people out — and they all come down to what you feed into the tool. The first, already covered, is treating a markup percentage as though it were a margin percentage; the second is subtler and more expensive over time. It is anchoring your markup to a competitor's price without knowing their costs. If a rival charges $1,200 for a job that costs you $1,000, you might feel pressure to match them and assume you are making “20%.” But their cost base may be nothing like yours — they might buy materials at volume, carry lower overhead, or simply be losing money to win market share. Price from your cost and your target margin first; only then look at the market to decide whether your number is competitive.

A third mistake is applying a single blanket markup to everything. Fast-moving, low-value items and slow, high-effort, high-risk work rarely deserve the same margin. A blanket rule overprices the easy, competitive stuff (costing you jobs) and underprices the hard, differentiated work (costing you profit). Because this tool recalculates instantly, it is cheap to run each job or product category through it with its own target margin rather than defaulting to one number for the whole book. Finally, watch for discounts quietly eating your margin: a 10% discount off the price is not a 10% haircut to your profit — on a 30% margin job, a 10% price cut can wipe out a third of your profit or more, because the discount comes entirely out of the thin profit slice, not the cost. Model the discounted price in the calculator before you offer it, and you will never be surprised by where the money went.

Frequently confused: margin, markup, and gross profit

Three terms get used interchangeably in casual conversation even though they mean different things, and straightening them out makes every pricing discussion clearer. Gross profit is the raw dollar figure — price minus cost — with no percentage attached; it is what this calculator labels “profit on the job.” Gross margin (usually just “margin”) expresses that gross profit as a percentage of the selling price, and it is the figure that appears on financial statements and in board decks. Markup expresses the very same gross profit as a percentage of cost instead, and it is the figure most useful at the moment of quoting. One dollar amount, two percentages, three names — the confusion is entirely about which base you divide by.

There is also net margin, which people sometimes conflate with gross margin. Net margin subtracts all costs — not just the direct materials, labor, and overhead of a job, but also company-wide fixed costs like rent, salaries, and software — to show what the business actually keeps at the bottom line. This calculator works at the gross level, which is the right altitude for pricing an individual job or product: you set a gross margin that, across enough jobs, generates the total gross profit needed to cover your fixed costs and still leave a net profit. Keeping gross and net straight is what stops a business full of “healthy margin” jobs from mysteriously running at a loss once the overhead of simply existing is paid.

Frequently asked questions

What is the difference between markup and margin?
Markup measures profit against your cost; margin measures the same profit against your selling price. Because the denominators differ, the percentages never match, and margin is always lower. A $300 profit on a $1,000 cost is a 30% markup but a 23.1% margin ($300 of the $1,300 price).
What markup do I need for a 30% margin?
A 42.9% markup. The formula is markup = margin ÷ (1 − margin) = 0.30 ÷ 0.70 = 0.429. On a $1,000 cost that means bidding $1,428.57, which keeps exactly 30% of the price. Applying a 30% markup instead would only give you a 23.1% margin.
How do I convert markup to margin?
Use margin = markup ÷ (1 + markup). So a 50% markup is a 33.3% margin, and a 100% markup is a 50% margin. This calculator does the conversion live — set either one and it shows you the other.
Why can't the margin be 100%?
Price = cost ÷ (1 − margin). At a 100% margin you'd be dividing by zero, which implies an infinite price, so it's mathematically impossible for a real product with any cost. The tool caps the margin input at 99% to keep the result finite.
Should overhead be included in the cost?
Yes — for an accurate margin, fold a fair share of overhead (insurance, tools, fuel, software, admin time) into your cost before applying a markup. Otherwise the 'profit' you calculate is really just covering expenses you didn't count, which is how 'profitable' jobs end the year with little profit.
Is this markup and margin calculator free and private?
Completely free, with no account and no limits. Every calculation runs in your browser using plain arithmetic — nothing you type is uploaded. The full scenario is encoded in the page URL, so a shared link reopens to the exact same numbers.

Price the job, then brand the link you send

fewly turns any URL into a short, branded, trackable link — free to start, no credit card.