BlogPricing & quoting

How to calculate markup: percentage, price and the spreadsheet formula

How to calculate markup on cost, the markup percentage and the selling price, worked on trade lines, plus the Excel and Google Sheets formulas to do it.

9 min read

Part of the guideMarkup vs margin for contractors: formula, chart and worked examples

To calculate markup, divide your profit by your cost: markup % = (selling price − cost) ÷ cost × 100. To set a price from a markup, multiply the cost by one plus the markup: a box of tiles that costs you $42.00 with a 20% markup sells for $42.00 × 1.20 = $50.40. In a spreadsheet that is =B2*(1+C2).

How do you calculate markup percentage?

You need two numbers: what the item or job costs you, and what you charge for it.

Markup % = (selling price − cost) ÷ cost × 100

Worked on a subcontractor invoice:

  • Your plumber invoices you $2,400.
  • You bill the customer $2,760 for that work.
  • Profit: $2,760 − $2,400 = $360.
  • Markup: $360 ÷ $2,400 = 0.15, so 15%.

The cost goes underneath. That is what makes it a markup: it tells you how much you added on top of what you paid.

How do you calculate markup on cost?

Markup on cost is the normal way to mark up, and the one most contractors mean when they say "plus 20%". Multiply the cost by one plus the markup:

Selling price = cost × (1 + markup)

Three lines you price every week, with every input stated:

Line Your cost Markup Working Selling price Profit
One box of floor tiles $42.00 20% $42.00 × 1.20 $50.40 $8.40
One day of a tradesperson (8 hours at a cost of $36 an hour) $288.00 50% $288.00 × 1.50 $432.00 $144.00
A subcontractor's invoice $2,400.00 12% $2,400.00 × 1.12 $2,688.00 $288.00

The labour line uses $36 an hour as the example cost of employing someone once wages and the employer's costs are counted. Use your own figure. If you have not worked it out, the hourly rate calculator builds a rate from what you pay, your running costs and the hours you can bill.

Notice that each line can carry a different markup. Materials, labour and subcontractors carry different risks and different work, so many contractors price them differently. Why you mark up materials at all, and what that markup has to pay for, is covered in pricing materials: markup and waste.

How do you calculate the selling price from a markup?

It is the same formula, used the other way round when you need to check a price:

  • Price from cost: price = cost × (1 + markup). $42.00 × 1.20 = $50.40.
  • Cost from price: cost = price ÷ (1 + markup). $50.40 ÷ 1.20 = $42.00.
  • Markup in money: price − cost. $50.40 − $42.00 = $8.40.

The second line is the one people get wrong. If a price includes a 20% markup, taking 20% off it does not give you the cost back:

  • Wrong: $50.40 × 0.80 = $40.32.
  • Right: $50.40 ÷ 1.20 = $42.00.

The 20% was worked on $42.00, so you have to divide by 1.20 to undo it. Taking 20% off works on the bigger number, $50.40, and takes off too much.

What is markup on selling price?

"Markup on selling price" is another name for a margin: the profit as a percentage of the price, not the cost. Some trades and some suppliers use it, which is why two people can both say "20%" and mean different prices.

On the same $42.00 box of tiles:

Method Formula Price Profit Profit as % of cost Profit as % of price
20% markup on cost $42.00 × 1.20 $50.40 $8.40 20.0% 16.7%
20% on selling price (a 20% margin) $42.00 ÷ 0.80 $52.50 $10.50 25.0% 20.0%

To turn a percentage on selling price into a markup on cost, divide it by one minus itself: 0.20 ÷ 0.80 = 0.25, a 25% markup. The markup vs margin guide has the full conversion chart from 10% to 50%, every row worked.

If what you really want to know is what a job earns you after all its costs, that is a margin calculation, covered step by step in how to calculate profit margin on a job.

How do you calculate markup in Excel or Google Sheets?

Lay the sheet out with one line per row. Enter markups as percentages (20%), so the cell holds 0.2.

A B C D E
1 Item Cost Markup Selling price Profit
2 Floor tiles, 12 boxes 504.00 20% =ROUND(B2*(1+C2),2) → 604.80 =D2-B2 → 100.80
3 Adhesive and grout 160.00 20% =ROUND(B3*(1+C3),2) → 192.00 =D3-B3 → 32.00
4 Labour, 3 days 864.00 50% =ROUND(B4*(1+C4),2) → 1,296.00 =D4-B4 → 432.00
5 Plumber (subcontractor) 2,400.00 12% =ROUND(B5*(1+C5),2) → 2,688.00 =D5-B5 → 288.00
6 Whole job =SUM(B2:B5) → 3,928.00 =E6/B6 → 21.7% =SUM(D2:D5) → 4,780.80 =SUM(E2:E5) → 852.80

The formulas you will use most:

  • Selling price from cost and markup: =B2*(1+C2), wrapped in ROUND(…,2) so the price is in whole cents.
  • Markup percentage from cost and price: =(D2-B2)/B2, formatted as a percentage.
  • Cost from price and markup: =D2/(1+C2).
  • Price for a target margin: =B2/(1-F2), with the margin in F2.

Two details make the sheet trustworthy. The whole-job markup in C6 is the total profit over the total cost, not an average of the markups above it: the four lines average (20% + 20% + 50% + 12%) ÷ 4 = 25.5%, but the job's real markup is $852.80 ÷ $3,928.00 = 21.7%, because the biggest cost carries the smallest markup. And as a margin, the same job earns $852.80 ÷ $4,780.80 = 17.8%.

If you would rather skip the sheet, the margin calculator does the same sums for one line: put in the cost and your markup, the margin you want or the selling price, and it gives you the other two and the profit in money.

What are the common markup mistakes?

Marking up twice. Adding 10% for handling and then 15% for profit is not 25%. It is 1.10 × 1.15 = 1.265, a 26.5% markup. If you mean 25% in total, multiply once by 1.25.

Marking up the price instead of the cost. If a supplier's price already includes tax, work from the price before tax, add your markup, and add the tax to your selling price at the end. Tax is not your cost and not your profit.

Marking up a cost that already carries a markup. A subcontractor's quote often includes their own materials with their own markup. That is fine: your markup goes on their total, which is your cost. Just do not then add the same materials again as a separate line.

Undoing a markup by subtracting it. As above: divide by (1 + markup), never take the percentage off the price.

Judging the business on markup. Markup builds a price. Whether the price pays for your overheads and leaves a profit is a margin question. The markup vs margin guide works out the markup a business needs from a year of overheads and the profit you want.

Frequently asked questions

How do I calculate a 20% markup?

Multiply the cost by 1.20. A box of tiles that costs you $42.00 sells for $42.00 × 1.20 = $50.40, and the markup is $8.40.

How do I work out the markup percentage from cost and selling price?

Take the selling price minus the cost, divide by the cost and multiply by 100. A subcontractor invoice of $2,400 billed to the customer at $2,760 carries ($2,760 − $2,400) ÷ $2,400 = 15% markup.

Is markup calculated on cost or on selling price?

Markup is calculated on cost. A percentage of the selling price is a margin, sometimes called markup on selling price. A 20% markup on cost and a 20% margin give different prices.

How do I take the markup off a price?

Divide the price by one plus the markup. $50.40 with a 20% markup was $50.40 ÷ 1.20 = $42.00 before markup. Taking 20% off $50.40 gives $40.32, which is wrong.

What is the Excel formula for markup?

With the cost in B2 and the markup in C2 as a percentage, the selling price is =B2*(1+C2) and the markup percentage from a cost and a price is =(D2-B2)/B2. The same formulas work in Google Sheets.

What markup gives a 25% margin?

A 33.3% markup. Divide the margin by one minus the margin: 0.25 ÷ 0.75 = 0.333.

Markup in Byggers

In Byggers every quote line carries its cost, its markup and its sale price, so the sums in this article happen on the line as you write it, and your margins stay on your screen while the customer sees a clean quote.

Start for free and price your next quote line by line.

Run your business in Byggers

Quotes, projects, time and invoices in one place. Try it free for 7 days.

Start for free