HisabCalc

Markup vs Margin Calculator

Shows the markup percentage and the margin percentage for the same sale, so you can see why one price has two very different percentages.

Enter your numbers

Example: 100

Example: 125

Example: 0

Result
Share on WhatsApp

Figures are computed on your device; nothing is sent anywhere.

Formula

grossProfit = sellPrice - costPrice - otherCost; markupPercent = grossProfit / costPrice * 100; marginPercent = grossProfit / sellPrice * 100

How the calculation works

The tool first subtracts the cost price and any other cost from the selling price to get the gross profit per sale.

It divides that gross profit by the cost price and multiplies by one hundred to return the markup percentage.

It then divides the same gross profit by the selling price and multiplies by one hundred to return the margin percentage.

Common mistakes

When to use it

Worked example

A cost price of 100 and a selling price of 125 with no other cost give a gross profit of 25, a markup of 25 percent and a margin of 20 percent.

Markup 25.00%
Margin 20.00%
Gross profit 25.00

Common questions

Why is margin always lower than markup?

Margin divides profit by the larger selling price while markup divides it by the smaller cost price, so margin is always the lower figure.

Last updated: 2026-10-03