DoraPDF / Blog

Margin vs Markup: Use a Profit Margin Calculator to Price Products Correctly

By the DoraPDF team · 4 min read · Updated 2026-11-22
Margin vs Markup: Use a Profit Margin Calculator to Price Products Correctly

A supplier charges you 700 for a product and you sell it for 1,000. Is that a 30% profit or a 43% profit? Both, depending on whether you mean margin or markup. Mixing the two up is one of the most common pricing mistakes small businesses make, and it can quietly eat into profit.

DoraPDF's Profit Margin Calculator shows both at once. Enter your cost and selling price, and it returns your profit, your margin % and your markup %, side by side, so there is no confusion about which number you are looking at.

Margin vs markup in plain words

Both start from the same profit: selling price − cost. The difference is what you divide by.

Margin % = (Price − Cost) ÷ Price × 100

Markup % = (Price − Cost) ÷ Cost × 100

Because cost is smaller than price when you make a profit, markup is always the bigger percentage.

How to use the Profit Margin Calculator

  1. Open the Profit Margin Calculator.
  2. Enter your Cost: what one unit costs you, including the parts you can attribute to it, such as purchase price, packaging and shipping in.
  3. Enter your Selling price.
  4. Choose a currency symbol (PKR, USD, EUR, GBP, INR or AED).
  5. Read Profit, Margin and Markup. They update as you type.

Worked examples

Cost Price Profit Margin Markup
700 1,000 300 30% 42.86%
400 500 100 20% 25%
60 100 40 40% 66.67%
1,200 2,000 800 40% 66.67%

Notice that a 40% margin always means a 66.67% markup, whatever the actual prices. The relationship is fixed:

Markup = Margin ÷ (1 − Margin) Margin = Markup ÷ (1 + Markup)

The costly mistake: adding a "margin" as a markup

Say you want a 30% margin on an item that costs 700. Many people add 30% to the cost: 700 × 1.30 = 910. The calculator then shows a margin of only about 23%, not 30%.

To hit a target margin, divide instead:

Price = Cost ÷ (1 − target margin)

700 ÷ 0.70 = 1,000. Enter 700 and 1,000 in the calculator and you will see the 30% margin you wanted. A quick way to find the right price is to try a few selling prices until the Margin field shows your target.

Which one should you use?

Neither is wrong. The important thing is to say which one you mean, especially when you agree prices with a partner, a reseller or a sales team.

Practical pricing tips

Common problems and fixes

Margin is negative. Your selling price is below your cost, so every sale loses money.

Markup shows a dash or a huge number. Cost is 0 or very small. Markup divides by cost, so it cannot be calculated when cost is zero.

Margin and markup look the same. They only match when profit is zero. If your numbers look identical, check that cost and price are not swapped.

Privacy

Cost and pricing data is sensitive for any business. This calculator runs entirely in your browser: nothing is uploaded, nothing is stored on a server and there is no account.

FAQ

What is a good profit margin? It depends heavily on the industry and business model. Compare with businesses like yours and make sure the margin covers overheads.

Is a 50% markup the same as a 50% margin? No. A 50% markup is a 33.33% margin. A 50% margin needs a 100% markup.

How do I calculate selling price from cost and margin? Price = cost ÷ (1 − margin). For a 25% margin on 600: 600 ÷ 0.75 = 800.

Does the calculator include tax? No. Enter net figures, without GST or VAT, for an accurate margin.

Try the tools from this guide — free

Keep reading

Guide

Reverse Sales Tax Calculator: Add or Remove GST and VAT From Any Price

Add tax to a price or remove GST/VAT from a tax-inclusive total. Free sales tax calculator with the correct reverse formula and worked examples.

Guide

ROI Calculator: Total Return on Investment vs Annualized ROI Explained

Calculate total ROI, gain and annualized ROI (CAGR) for any investment. Learn why two investments with the same ROI can be very different.

Guide

How to Make a Simple Receipt for a Small Business Sale (Phone or PC)

A customer asks for a receipt and you have no receipt book? Make a clean PDF receipt in a minute, send it on WhatsApp or email, and keep your records tidy.