Skip to content

Business · Guide

Margin Calculator Guide: Profit Margin vs Markup Explained

A margin calculator answers a question every seller faces: given my cost and my target profit, what should I charge? The answer depends on two deceptively similar numbers — margin and markup. They describe the same profit from different sides, and confusing them is one of the most common and expensive pricing errors in small business.

In this guide

Margin vs markup

Margin (gross profit margin) is profit divided by selling price, expressed as a percentage — the share of every sales dollar that is profit. Markup is profit divided by cost. For the same item, markup is always a larger percentage than margin, and adding your desired margin as a markup by mistake underprices the product.

Setting prices from cost

To hit a target margin, divide your cost by (1 − margin). For a 40% margin, divide cost by 0.60. The calculator does this for you, so you can quickly see the price required for any margin — and what each candidate price leaves you as profit.

Why margin pricing matters

Margin is how profitability is reported, so pricing decisions made in markup terms need translating. If your costs rise, recalculating the price to preserve the same margin — not the same markup — keeps your business profitable. Regular margin checks also expose products that only look profitable.

Key takeaways

  • Margin = profit ÷ price; markup = profit ÷ cost.
  • Markup is always a bigger percentage than margin.
  • To hit a margin, divide cost by (1 − margin).
  • Recalculate prices on cost changes to protect margin.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of cost. They measure the same profit from different bases.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 50% markup equals a 33.3% margin — the margin calculator converts both directions instantly.

What is a good profit margin?

It varies by industry — 10% is healthy in grocery while software can target 80%+. Compare against your own industry and trend rather than a universal number.

Put these numbers to work

ROI, profit margins, markup, CPM, CPC and breakeven analysis.

Read next