Skip to content

How-to guide

How to Calculate Profit Margin: Formula, Steps & Examples

Learn how to calculate Profit Margin — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Priya Nair, MBA, Finance & Strategy · Updated Jun 2026 · 2 min read

Calculating your profit margin is straightforward once you know the Profit Margin formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the Profit Margin Calculator.

What is Profit Margin?

The Profit Margin calculation tells you your profit margin from a few simple inputs. The figure you are solving for here is the profit margin, expressed in percent.

The Profit Margin formula

This calculation combines several inputs through a multi-step method rather than a single one-line formula. Enter the values below and the calculator resolves each step in order. The inputs it needs are:

  • Cost price — a money amount. Example: ₹800.
  • Selling price — a money amount. Example: ₹1,000.

How to calculate it step by step

  • Write down the cost price (for example, ₹800).
  • Write down the selling price (for example, ₹1,000).
  • Apply the formula above to get your profit margin.
  • Double-check the result with the Profit Margin Calculator.

Worked examples

Example 1

Input / OutputValue
Cost price₹800
Selling price₹1,000
Profit margin20.00%
Profit₹200.00
Markup25.00%

With cost price of ₹800 and selling price of ₹1,000, the profit margin works out to 20.00%.

Example 2

With cost price of ₹1,600 and selling price of ₹1,000, the profit margin works out to -60.00%.

ResultValue
Profit margin-60.00%
Profit-₹600.00
Markup-37.50%

Example 3

With cost price of ₹400 and selling price of ₹1,000, the profit margin works out to 60.00%.

ResultValue
Profit margin60.00%
Profit₹600.00
Markup150.00%

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.

Prefer not to do the maths by hand? — the Profit Margin Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring business calculators with these tools: Discount Calculator, Price Elasticity of Demand Calculator, Gross Profit Calculator, ROI Calculator, Days Sales Outstanding (DSO) Calculator.

Calculators in this guide

Frequently asked questions

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the Profit Margin Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

The profit margin is expressed in percent. Make sure your inputs use matching units so the result is correct.

Priya Nair · MBA, Finance & Strategy

Priya Nair is a business analyst and MBA who advises small businesses and startups on pricing, unit economics and growth metrics.