About the Markup Calculator
This markup calculator works out the selling price, profit per unit, markup and margin from any two numbers you know: a cost and a markup, a cost and a target margin, a cost and a price, or a price and either percentage, which works back to the cost.
It is built for the most common pricing mistake: treating markup and margin as the same number.
How the calculation works
Markup and margin describe the same profit measured against different numbers. Markup compares the profit with the cost. Margin compares the profit with the selling price. When you make a profit the price is bigger than the cost, so the margin is always the smaller of the two percentages.
Percentages go into these formulas as fractions, so 25% is 0.25:
- Price from a markup = cost × (1 + markup).
- Price from a target margin = cost ÷ (1 − margin).
- Markup from a cost and price = (price − cost) ÷ cost.
- Margin from a cost and price = (price − cost) ÷ price.
- Cost from a price and markup = price ÷ (1 + markup).
- Cost from a price and margin = price × (1 − margin).
- Margin from a markup = markup ÷ (1 + markup). Markup from a margin = margin ÷ (1 − margin).
Markup to margin at a glance
A 10% markup gives a 9.09% margin, 20% gives 16.67%, 25% gives 20%, 50% gives 33.33% and 100% gives 50%. Going the other way, a 25% margin needs a 33.33% markup and a 50% margin needs a 100% markup.
What you enter
- Pick what you know, then type the two values.
- Cost per unit is what one unit costs you to buy or make. Add up materials, labour, packaging and fees first and enter the total.
- Selling price is the price before any sales tax, GST, HST or VAT, because tax you collect is passed on rather than kept.
- You can type thousands separators (1,250.50), a leading currency symbol or a trailing % sign. Negative numbers are refused, a margin must be below 100%, and amounts above one trillion are refused.
- Any currency works as long as cost and price are in the same one. Results are shown without a currency symbol.
- Results are worked out from the exact numbers you type, then amounts and percentages are rounded to 2 decimal places.
- With a cost of 0, markup cannot be calculated. With a price of 0, margin cannot be calculated. A price below cost is flagged as a loss.
Worked example: the same 25%, two different prices
An item costs 80 to make. You want to add 25%. These are the calculator's starting values.
- What do you know?
- Cost and markup %
- Cost per unit
- 80
- Markup
- 25%
- Selling price: 80 × 1.25 = 100.00.
- Profit per unit: 100.00 − 80.00 = 20.00.
- Margin: 20 ÷ 100 = 20.00%.
- Now switch to "Cost and target margin %" and keep 80 and 25%. The price becomes 80 ÷ 0.75 = 106.67, the profit 26.67 and the markup 33.33%.
What the calculator shows:
- Selling price
- 100.00
- Profit per unit
- 20.00
- Markup (on cost)
- 25.00%
- Margin (on price)
- 20.00%
Same cost, same 25%, but pricing on margin gives 6.67 more profit per unit than pricing on markup. If you set prices with a markup and then report a 25% margin, your books will not match.
What this tool does not do
- It works on one item at a time, not a whole price list.
- It does not add up a product's cost for you. Work out materials, labour, packaging, shipping and fees first.
- Sales tax, discounts and payment processing fees are not included unless you build them into the cost or price yourself.
- It does not tell you what price your market will accept or which margin is right for your business.
Want a downloadable version?
Handmade Product Cost Calculator is a spreadsheet (XLSX) that builds the cost first, from materials, your time, overhead, packaging and marketplace fees, then gives wholesale and retail prices and profit per sale.
Service Pricing Calculator is a spreadsheet (XLSX) for service businesses: it works out the hourly rate that covers your pay, overhead and profit, then prices projects from estimated hours.