Margin & Markup Calculator

Margin and markup sound alike and get mixed up all the time, which can quietly cost a small business real money. Enter your cost and price and see both side by side.

Margin & Markup Calculator – markup calculator

Margin & Markup Calculator tool

How to use the margin & markup calculator

Using this tool takes less than a minute. We have filled in example numbers so you can see how it behaves straight away. Replace them with your own:

  1. Enter Your cost ($).
  2. Enter Selling price ($).

The answer updates as you type, so feel free to play around. If something looks off, press Reset and start again.

Margin & Markup Calculator formula explained

Here is the exact math running behind the scenes, so nothing is a black box:

Formula: Margin = (price − cost) ÷ price × 100. Markup = (price − cost) ÷ cost × 100.

Worked example

Buying at $40 and selling at $60 leaves $20 profit: a 33.3% margin and a 50% markup.

What your result means

The big number at the top is the main answer. The lines below it give you the extra details people usually want next. Do not worry about small rounding differences. They come from rounding to two decimals and will not change the story.

Why this matters

Money decisions feel heavy because the numbers are big and the words are confusing. Here you can test a loan, a mortgage or an investment in seconds, and see exactly what it costs or earns before you commit.

Tips for better results

Common mistakes to avoid

Other names people use for the margin & markup calculator

Everyone searches a little differently. You might have arrived here by typing markup calculator, gross margin calculator. All of these point to the same kind of calculation, so this single page is built to answer them all.

Frequently asked questions

What is a margin & markup calculator?

Margin and markup sound alike and get mixed up all the time, which can quietly cost a small business real money. Enter your cost and price and see both side by side.

How does the margin & markup calculator work?

Margin = (price − cost) ÷ price × 100. Markup = (price − cost) ÷ cost × 100.

Is this margin & markup calculator free to use?

Yes. The margin & markup calculator is completely free, needs no sign-up and can be used as many times as you like.

How accurate is the margin & markup calculator?

The math is exact, but the answer is only as good as the numbers you enter. Treat the result as a well-informed estimate and double-check anything important.

Is “markup calculator” the same as “gross margin calculator”?

Yes, in practice they are the same idea written in two ways. Use this page for either one.

Do you save the numbers I type?

No. Every calculation happens inside your browser. Nothing you type is sent to our servers.

Does it work on my phone?

Yes. The page adapts to phones, tablets and desktops, and works in light and dark mode.

Disclaimer: This tool gives estimates for education only. It is not financial, tax or legal advice. Real offers depend on your lender, your credit and local rules, so check with a licensed professional. See our full disclaimer.

More Finance & Loans tools