Profit Margin vs Markup: A Practical Guide

By Prince Yadav, Founder & Lead Developer.

Revenue, cost and profit

Profit is the amount left after subtracting the relevant cost from sales revenue. Before comparing percentages, decide whether the cost includes only product cost or also operating expenses.

Margin uses selling price as its base

Profit margin = profit ÷ selling price × 100. If an item sells for ₹500 and its cost is ₹350, profit is ₹150 and gross margin is 30%.

Markup uses cost as its base

Markup = profit ÷ cost × 100. In the same example, ₹150 ÷ ₹350 × 100 is about 42.9%. The margin and markup differ because their denominators differ.

Worked pricing example

If cost is ₹800 and the desired margin is 25%, price is not ₹800 × 1.25. Solve price = cost ÷ (1 − margin): ₹800 ÷ 0.75 = about ₹1,066.67, before other expenses and taxes.

Avoid mixing gross and net profit

A product-level margin may exclude rent, payroll, marketing, payment fees, returns, and tax. Net profit uses a broader set of costs, so label the metric clearly.

Use scenarios carefully

Test price and cost changes separately. A higher selling price may improve margin only if demand, discounts, returns, and other costs do not change in ways that offset it.

Worked example: margin and markup use different denominators

If an item sells for $100 and costs $70, gross profit is $30. Profit margin is $30 ÷ $100 = 30%, while markup on cost is $30 ÷ $70 ≈ 42.9%. Both describe the same $30 difference, but the percentages differ because one divides by selling price and the other by cost.

Define which costs are included

Gross, operating, and net margins answer different questions because they include different expense categories. Discounts, returns, taxes, shipping, payment fees, and overhead can affect the true economics of a sale. Label the cost basis clearly and avoid calling a gross margin net profit unless all relevant expenses have been accounted for.

Check the denominator in every report

Before comparing margin figures, confirm whether they use revenue, cost, or a defined profit level. A gross margin is not interchangeable with operating or net margin. Include consistent treatment of discounts, returns, shipping, taxes, and overhead, and label the measure so a reader can reproduce it.

Apply this guide to a practical case

This guide explains the mathematical difference between margin and markup and the denominator each uses. The paired article applies the distinction to practical pricing decisions.

How to Set a Price Using Profit Margin

Use the Calculator

Try the worked-example inputs in Profit Margin Calculator, then change one assumption at a time to see what drives the result.

Open Profit Margin Calculator