CalcNator Guide

Profit Margin vs Markup: The Difference and the Formulas

Learn why profit margin and markup are different, how each is calculated and how to avoid mixing the two percentages.

Margin and markup use different bases

Profit margin and markup can describe the same sale from different perspectives, but their percentages are not the same because they divide by different values. Margin compares profit with selling price. Markup compares profit with cost.

Mixing them can lead to incorrect pricing decisions even when the underlying cost and selling price are correct.

Profit margin formula

If revenue is 150 and cost is 100, gross profit is 50. Margin is Profit ÷ Revenue × 100, so the margin is 50 ÷ 150 × 100 = 33.33%.

This simple calculation does not automatically include every operating expense. The meaning of 'cost' must match what you are trying to measure.

Markup formula

Using the same numbers, markup is Profit ÷ Cost × 100, so 50 ÷ 100 × 100 = 50%. The same transaction therefore has a 33.33% margin and a 50% markup.

That difference is why a target margin cannot be achieved simply by applying the same percentage as a markup.

Pricing from a target margin

If cost is C and the desired margin as a decimal is m, the selling price before other adjustments can be calculated as C ÷ (1 − m), provided m is less than 1. A 20% target margin on a cost of 100 therefore implies 100 ÷ 0.80 = 125.

Taxes, discounts, transaction fees and overheads may need separate treatment depending on the business question.

Try the related tool

Use the calculator to apply the ideas in this guide to your own values.

Open Profit Margin Calculator

Editorial note

This guide is written for general education. CalcNator explains the formulas and important limitations so readers can understand what a result represents. Financial and health calculations are estimates and should be independently verified when used for important decisions.