XungleeXungleePercentage

SMALL CALCULATIONS. CLEAR ANSWERS.

Profit margin calculator

Calculate profit and profit margin from cost and selling price. Understand the difference between margin and markup.

Profit margin calculator

Live result

Use a dot for decimals. Scientific notation (1e6) is welcome. Do not use thousands separators.

Calculated instantly, right in your browser

Try an example
◈   Free, always◎   No sign-up⌁   Your numbers stay here

A LITTLE CONTEXT

How it works

Calculate gross profit on a sale and express it as a percentage of the selling price. Include the costs relevant to your calculation; this tool does not add tax or overhead.

THE FORMULAProfit = selling price − cost; margin = profit ÷ selling price × 100

For example Cost 80, selling price 100: profit 20, margin 20%.

Results display up to 12 significant digits. JavaScript floating-point arithmetic approximates some decimals and large integers. Round monetary results to your currency’s precision.

Good questions. Simple answers.

Can profit margin be negative?

Yes. If cost is 120 and selling price is 100, profit is −20 and margin is −20%.

Why is margin undefined at a selling price of zero?

Margin divides profit by selling price. Division by zero is undefined, even if the cost is also zero.

FIND THE RIGHT TOOL

A percentage for every situation.

From a quick discount to a bigger picture.

Using this tool with confidence

How to use it

Identify the base amount before choosing a percentage tool. A percentage of an amount, a percentage change and a profit margin use different denominators. Match the question to the formula shown on this page.

Worked example

A price rising from 80 to 100 increases by 25% because (100 - 80) / 80 × 100 = 25. Falling from 100 to 80 is a 20% decrease. The same absolute change does not mean the same percentage.

Interpretation and limits

A rate rising from 5% to 6% gains one percentage point, which is a 20% relative increase. A zero starting value makes the usual relative-change formula undefined. Display rounding should not be mistaken for exact financial settlement.