Margin calculator

Profit margin is profit divided by the selling price; markup is profit divided by the cost. Something that costs $60 and sells for $100 makes $40 profit: a 40% margin and a 66.67% markup.

  • 🔒 Runs on your device
  • ⤒ 0 bytes uploaded
  • ✓ Free, no sign-up, no watermark
Loading the tool…

How to use Margin Calculator

  1. Choose which two values you know: cost and price, or one of them and a margin or markup.
  2. Enter the two values.
  3. Read the missing value, the profit, the margin and the markup.

About Margin Calculator

This is gross margin on a single item: it counts only the cost you enter. Overheads, shipping, payment fees and taxes reduce the real profit, so add them to the cost if you want them included.

Is it private?

Yes. Margin Calculator runs entirely in your web browser: what you type into it is never sent to Nolo or anyone else, and the page's security policy only allows it to talk to nolotools.com. The site sends only two small things: the words typed in the optional search box, to find a tool, and, the first time you use a tool on a page, that tool's name for an anonymous daily count of tool use (nothing about you, your files or what you typed). Nothing is stored either: close the page and it is gone. How Nolo works.

Questions and answers

What is the difference between margin and markup?

Both use the same profit, but margin compares it to the selling price and markup to the cost. A $60 item sold for $100 has a 40% margin and a 66.67% markup. Margin is always smaller than markup for a profitable sale.

How do I find the price for a target margin?

Divide the cost by 1 minus the margin as a decimal. For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100. Adding 40% to the cost ($84) would only give a 28.6% margin.

Can a margin be 100% or more?

No. A 100% margin would mean the cost is zero. Markup has no upper limit: a 200% markup triples the cost.

How do I convert markup to margin?

margin = markup ÷ (1 + markup). A 50% markup is 0.5 ÷ 1.5 = 33.33% margin. Going back: markup = margin ÷ (1 − margin).

Are my numbers sent anywhere?

No. Everything is calculated in your browser with JavaScript. Nothing you type is uploaded, stored on a server or tracked, and the calculator works offline once the page has loaded.