Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Free tool

Margin & Markup Calculator: Price It Right, Both Ways

Calculate markup, calculate margin, or convert one to the other instantly. Free, no signup, with the formulas shown.

Home / Tools / Margin & Markup Calculator

Markup calculator

Selling price
$75.00
Profit per unit
$25.00
Gross margin
33.33%

A 50% markup on cost gives you a 33.33% gross margin on the selling price.

Margin calculator

Required selling price
$83.33
Profit per unit
$33.33
Equivalent markup
66.67%

To earn a 40% margin you need to mark cost up by 66.67%.

Margin to markup converter

Converted percentage
33.33%
Direction
Markup

Markup = margin / (100 - margin) x 100. A 25% margin equals a 33.33% markup.

Built by Rankite, the SEO team behind Swordfish AI's +400% revenue and Zluri's +45% organic growth. See the case studies

Markup and margin describe the same profit from two different angles. Markup is profit as a percentage of cost: markup = (price - cost) / cost x 100. Margin is profit as a percentage of selling price: margin = (price - cost) / price x 100. Buy an item for $50 and sell it for $75, and your markup is 50% but your margin is only 33.33%. Same $25 of profit, two different denominators. Mixing them up is one of the most common pricing mistakes in retail and services, and it always errs in the same direction: pricing with the margin number as if it were a markup leaves money on the table.

Margin vs markup: the conversion table

Because margin uses the bigger denominator, a given margin always requires a larger markup. These pairs come up constantly in retail pricing:

Markup (on cost)Margin (on price)
25%20%
33.3%25%
50%33.3%
100% (keystone)50%

The conversion formulas are simple. Margin to markup: markup = margin / (100 - margin) x 100. Markup to margin: margin = markup / (100 + markup) x 100. The converter above runs both directions instantly, so you never have to do the algebra at the register.

Which one should you use?

Use markup when you are setting prices, because you start from a known cost and work up. Use margin when you are judging financial health, because your P&L, your accountant and every industry benchmark report gross profit as a percentage of revenue, not cost. A few practical rules:

  • Price with markup, report with margin. Set the shelf price by marking up your landed cost, then sanity-check the resulting margin against your category's norms.
  • Never feed a margin target into a markup formula. If your goal is a 40% margin and you apply a 40% markup, you actually earn a 28.6% margin and undershoot every sale.
  • Convert before you compare. A supplier quoting "50% markup potential" and a competitor reporting "40% margin" are not directly comparable until you put both on the same basis.
  • Recheck after discounts. A 20% off promotion on a 33% margin product wipes out most of the profit, so run the numbers before the sale goes live.

Healthy margins are also what fund growth: the spread between cost and price is the budget you have for rent, payroll and the marketing that brings in the next customer. If you want to see what that marketing budget could return, run your numbers through our SEO ROI calculator. And if you would like an expert read on whether your site is earning the traffic your margins deserve, request a free SEO audit and we will take a look.

Related articles

FAQ

Margin & Markup Calculator: questions, answered

What is the difference between margin and markup?
Markup measures profit against cost; margin measures the same profit against selling price. Sell a $50 item for $75 and the $25 profit is a 50% markup but a 33.33% margin. Margin is always the smaller number because the selling price is always larger than the cost.
How do I calculate markup?
Subtract cost from selling price, divide by cost, and multiply by 100: markup = (price - cost) / cost x 100. To go the other way and set a price from a markup target, multiply cost by (1 + markup / 100). A $40 cost with a 60% markup gives a $64 selling price.
How do I convert margin to markup?
Divide the margin by 100 minus the margin, then multiply by 100: markup = margin / (100 - margin) x 100. A 25% margin converts to a 33.33% markup, and a 50% margin converts to a 100% markup. The converter in the tool above handles both directions automatically.
What is a good profit margin?
It varies widely by industry. Grocery and general retail often net just 2% to 5% after all expenses, while service businesses, software and consulting commonly net 10% to 20% or more. Gross margins run much higher, often 30% to 50% in retail, because overhead has not been deducted yet. Compare against your own industry, not a universal number.
Why is 50% markup not 50% margin?
Because the two percentages use different denominators. A 50% markup on a $50 cost adds $25, giving a $75 price; that $25 is 50% of cost but only 33.33% of the $75 price. To actually earn a 50% margin you would need a 100% markup, doubling cost to a $100 price.

More free tools

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com