The Ledger · Trades

How to calculate markup percentage — and which cost to apply it to

Markup percentage is (selling price − cost) ÷ cost × 100 — so a $753.49 landed cost sold at $1,054.88 carries a 40% markup and a 28.6% margin.

Markup percentage is the profit you add expressed as a share of what the item cost you: (selling price − cost) ÷ cost × 100. An item that costs you $753.49 and sells for $1,054.88 carries a 40% markup. The part that catches people out is that the same job is only a 28.6% margin, because margin is measured against the price and markup is measured against the cost.

Every figure below comes from one tested workbook — the Markup & Landed Cost workbook — and you can run your own numbers through the same arithmetic in the free markup and landed cost calculator.

What is the markup percentage formula?

Markup percentage equals selling price minus cost, divided by cost, multiplied by one hundred. Cost is the denominator — that single detail is what separates markup from margin.

Those five lines are the whole of it. The first two are the ones you use to price something; the last two are the ones you use when you have a margin you refuse to drop below.

Markup %  = (Price − Cost) ÷ Cost × 100
Price     = Cost × (1 + Markup %)
Margin %  = (Price − Cost) ÷ Price × 100
Markup needed for a target margin = Margin ÷ (1 − Margin)
Price at a margin floor           = Cost ÷ (1 − Margin)

How do you calculate markup percentage from a cost and a selling price?

Subtract the cost from the selling price to get gross profit, divide that gross profit by the cost, then multiply by one hundred. Three operations, in that order.

Worked through on the seed figures the workbook ships with, on its PRICE ONE ITEM sheet:

  1. Start with the cost. The ledger’s landed cost is $753.49 — that is material after waste of $684.95 and sales tax of $42.54, plus the rest of what it took to get the item to the job.
  2. Take the selling price. The ledger’s retail figure is $1,054.88.
  3. Subtract: $1,054.88 − $753.49 = $301.39, which is the ledger’s gross profit per unit.
  4. Divide by the cost: $301.39 ÷ $753.49 = 0.400.
  5. Multiply by 100: a 40% markup.

Run the margin formula on the same two numbers and you get $301.39 ÷ $1,054.88 = 28.6%. Same item, same dollars, two different percentages — and the workbook prints both so the gap cannot hide. If that gap is the thing you came here for, it has its own guide: why a 40% markup is only a 28.6% margin.

How do you work out the selling price from a cost and a markup?

Multiply the cost by one plus the markup expressed as a decimal. A 20% markup means multiplying by 1.20; a 40% markup means multiplying by 1.40.

This is also the answer to the question people actually type into Google — how do you figure out a 20% markup? Take the same $753.49 landed cost and the table shows what each markup returns. The 40% and 42.9% rows are values read straight out of the workbook’s test ledger; the 20% row is the same formula applied to the same cost, shown here for comparison.

Markup on landed costSelling priceGross profitMarginWhere the number comes from
20%$904.19$150.7016.7%formula applied to the ledger’s $753.49 cost
40%$1,054.88$301.3928.6%workbook test ledger, cells F11, F12, F13
42.9% (42.857% exact)$1,076.41$322.9230.0%workbook test ledger, cells F16, F17

Read down the margin column and the pattern is the one that costs trades money: markup always looks bigger than the margin it returns, and the gap widens as the markup grows.

Which cost do you apply the markup to?

The landed cost, not the invoice line. Landed cost is the invoice price plus everything that happened to the item before it reached the job.

This is the step most markup explainers skip, and it is the one that quietly eats the money. The Internal Revenue Service defines the cost of merchandise bought during the year as “the invoice price minus appropriate discounts plus transportation or other charges incurred in acquiring the goods” (Publication 538, Accounting Periods and Methods, read 26 October 2026). The freight, the handling and the sales tax you actually paid are part of what the goods cost you — so they belong inside the number you mark up, not outside it.

In the workbook’s seed figures the sales tax alone is $42.54 on one item. Mark up the invoice line and skip the tax and the freight, and you have handed back a slice of your gross profit on every single unit you sell — not once, but every time that item leaves the shelf.

What markup do you need to hit a target margin?

Divide the target margin by one minus the target margin. A 30% margin needs a 42.9% markup; the arithmetic is 0.30 ÷ 0.70 = 0.42857.

This is the inversion that turns markup from a habit into a decision. The workbook ships with a 30% margin floor typed into its floor-input cell, and the sheet reports back that the markup needed to clear it is 42.9% and the price at that floor is $1,076.41. Against the ledger’s actual retail of $1,054.88 that leaves a floor gap of $21.53 on the item — the amount the price is short of the margin the business said it needed.

Twenty-one dollars is easy to wave off on one item. It is not easy to wave off across a price book, which is the next question.

Can a markup be more than 100%?

Yes. Markup has no ceiling because it is measured against cost — a $10 cost sold at $30 is a 200% markup. Margin can never reach 100%.

That asymmetry is the whole reason the two numbers get confused. Margin is a share of the price, so it is trapped below 100% forever; no matter how high the markup climbs, the margin only creeps toward it. Run the inversion backwards and you can see the ceiling: a 50% margin needs a 100% markup, a 75% margin needs a 300% markup, and a 90% margin needs a 900% markup.

How do you check the markup across a whole price book?

You price every row at its own markup, then read the blended result at the bottom. One row clearing the floor tells you nothing about the book.

The workbook’s dashboard does exactly that over its eight seeded items. Landed, one of everything, is $2,424.29; retail, one of everything, is $3,394.01; 8 items sit under the floor; the money left on the table across the book is $69.27, and the worst single-item gap is $23.00. That is a book running a uniform markup that every row’s own margin floor rejects — visible in one cell instead of eight separate arguments.

How do you calculate markup in dollars on a whole job, not just one item?

Markup in dollars is retail minus landed cost: $1,054.88 − $753.49 = $301.39 on that item. Across a whole job, labour and the house fee move the answer.

Pricing one line is arithmetic you can do on a phone. A job is a mix: some of the revenue carries a material markup, some of it is labour that does not, and a house fee comes off the top of all of it. The workbook’s job view keeps those three things in separate rows so the blended result is visible rather than inferred. These are the seed figures it ships with.

RowCellValue
Material revenueF21$3,164.65
Labour revenueF22$500.00
Job revenueF23$3,664.65
House feeF24$366.46
Job costsF25$2,440.46
Net profitF26$857.72
Job marginF2723.4%
Seed figures from the Markup & Landed Cost workbook, job view.

The formulas behind those rows:

Job revenue  = Material revenue + Labour revenue
House fee    = Job revenue x 0.10
Net profit   = Job revenue - House fee - Job costs
Job margin   = Net profit / Job revenue

Read the last two rows together with the item figures earlier on this page. The same price book runs a 0.40 average markup and a 28.6% blended item margin, and this job still finishes at 23.4%. Nothing went wrong in the pricing: $500 of the revenue is labour that carries no material markup, and the $366.46 house fee comes out of the whole $3,664.65, not just the material half. A markup number answers one line. The margin on the job answers whether the day paid.

Put your own costs into the free markup and landed cost calculator to get the single-item version of this, and the workbook if you want the price-book and job views alongside it. Every formula in it was rebuilt in code and checked against 40 independently worked figures before release.

Common questions

Is a 50% markup the same as a 50% margin?

No. A 50% markup returns a 33.3% margin, because the markup is measured against cost and the margin against price. To actually earn a 50% margin you need a 100% markup — divide 0.50 by 1 − 0.50.

How do you get the markup percentage when you only know the selling price and the margin?

Convert the margin first: markup equals margin divided by one minus the margin. A 28.6% margin works back to a 40% markup, which is exactly the pair the workbook’s seed figures show — $753.49 landed, $1,054.88 retail.

Should every category carry the same markup?

Usually not. Fast-moving small-ticket items will carry more markup than a big-ticket item a customer can price online in thirty seconds. What matters is the blended margin across the whole book, not any single row — which is why the price-book view and the dashboard sit on the same workbook as the single-item calculation.

Markup & Landed Cost Calculator

Run the numbers from this guide yourself — free, in the browser, no sign-up. Keep the full workbook if it earns its place.

Educational estimates only. These calculators and workbooks do the arithmetic on the figures you enter; they are general-purpose tools, not financial, investment, tax, legal, lending, insurance or construction advice, and no result is a quote, an offer, or a guarantee of any outcome. Results depend entirely on your inputs and assumptions. Verify anything you intend to rely on with a licensed professional — a CPA, attorney, lender, licensed contractor, or your own agent. WorkbookBarn and Marcos Gil accept no liability for decisions made using these tools. Marcos Gil is a licensed Kentucky real estate agent (License No. 296259) and is not a lender, CPA or attorney.