How Do You Calculate Margin and Markup? Free Margin vs Markup Calculator

Margin is profit as a share of the selling price; markup is profit as a share of the cost. A $75 cost sold at $100 earns $25 of profit: a 25% margin and a 33.33% markup. Enter a cost plus a price, a target margin or a markup, and the calculator shows all four numbers.

Free, no sign-up, runs in your browser
What do you know?
Selling price
$100.00
Profit
$25.00
Margin
25.00%
Markup
33.33%

Margin formula

Margin % = (Price - Cost) / Price x 100

Markup formula

Markup % = (Price - Cost) / Cost x 100

How do you use the margin vs markup calculator?

Pick what you already know. With a cost and a selling price, the calculator works out the profit, the margin and the markup. With a cost and a target margin, it works out the price that earns that margin. With a cost and a markup, it works out the price and tells you the margin that markup really gives you.

The example loaded on the page is a product that costs $75 and sells for $100. It earns $25 of profit, which is a 25% margin and a 33.33% markup. The cost has to be above zero, because markup is a percentage of cost.

What is the difference between margin and markup?

Both start from the same profit: price minus cost. Margin divides that profit by the price, so it tells you how much of each dollar the client pays you keep. Markup divides it by the cost, so it tells you how much you added on top of what you paid.

Because the price is always larger than the profit, margin is always the smaller number. A 20% margin is a 25% markup, a 25% margin is a 33.33% markup, a 40% margin is a 66.67% markup and a 50% margin is a 100% markup. Mixing them up is an easy pricing slip to make on a quote: adding a 30% markup when you meant a 30% margin leaves you at a 23.08% margin.

How do you keep margin visible on every quote?

A calculator answers the question for one line. On a real quote with a dozen lines, the cost has to sit next to the price on every product, or margin is guessed after the deal is signed. TurboQuote stores an optional cost on each product next to its list price for margin tracking, so a cost change is made once and every new quote uses it.

Pricing recurring services? The MSP pricing calculator applies a target margin to a per-user and a per-device cost, and the guide on how to price managed services walks through the pricing models.

Turn the numbers into a quote

Export as a draft quote in TurboQuote

Create a free TurboDocx account, add your products with their cost and price, and TurboQuote builds the quote and its PDF. The calculator does not send anything, so enter your numbers once in TurboQuote.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit divided by the selling price. Markup is profit divided by the cost. They describe the same deal from two directions: buying at $75 and selling at $100 is a 25% margin and a 33.33% markup. Margin can never reach 100%, while markup has no ceiling.

How do I convert margin to markup?

Markup = Margin / (1 - Margin). A 20% margin is a 25% markup, a 25% margin is a 33.33% markup, and a 50% margin is a 100% markup. To go the other way, Margin = Markup / (1 + Markup), so a 25% markup is a 20% margin.

How do I work out a selling price from a target margin?

Divide the cost by one minus the margin. A product that costs $80, priced for a 20% margin, sells for $80 / 0.80 = $100. Multiplying the cost by 1.20 instead gives $96, which is a 20% markup but only a 16.67% margin.

Why can a margin not be 100%?

Margin is profit divided by price, so a 100% margin would mean the item cost nothing. Any real cost keeps the margin below 100%, which is why the calculator stops there. Markup is measured against cost, so it can go past 100%: a 150% markup is a 60% margin.

Should I quote with margin or markup?

Either works, as long as everyone who quotes uses the same one. Markup starts from cost, so it is quick to apply to a price list. Margin compares profit to revenue, so it lines up with your income statement. Saying "30%" without saying which one is how quotes drift.

Does the calculator save or send my numbers?

No. The math runs in your browser and nothing you type is sent to TurboDocx or stored. To keep cost and price together on real quotes, add your products to TurboQuote, which stores an optional cost next to each list price for margin tracking.