Profit Margin Calculator
Profit margin % = (Revenue − Cost) ÷ Revenue × 100(200 − 120) ÷ 200 × 100 = 40%
Free online tool
See how much revenue remains as profit after subtracting cost.
Instant calculation
Compare profit with total revenue.
Instant calculation
Find the selling price needed to achieve a target profit margin.
Your numbers stay in this browser. Nothing is uploaded or saved.
Three clear steps
Type the total revenue before costs are deducted.
Type the total cost associated with that revenue.
See profit and profit margin percentage.
The formula
Subtract cost from revenue to find profit, then divide profit by revenue and multiply by 100.
Profit margin % = (Revenue − Cost) ÷ Revenue × 100(200 − 120) ÷ 200 × 100 = 40%
Check the method
Each example follows the same formula used by the calculator.
(200 − 120) ÷ 200 × 100 = 40%40% margin; profit 80(500 − 350) ÷ 500 × 100 = 30%30% margin; profit 150Common questions
Subtract cost from revenue, divide the profit by revenue, and multiply by 100.
Profit is 80 and the profit margin is 40%.
Yes. A negative margin means cost is greater than revenue, producing a loss.
Revenue is the divisor in the margin formula, so zero revenue makes the percentage undefined.
Margin divides profit by revenue, while markup divides profit by cost. They answer different business questions.
Continue calculating