Profit Margin Calculator
(Revenue − cost) / revenue × 100
Formula
(Revenue − cost) / revenue × 100
Worked example
- Revenue: 1000
- Cost: 700
Result: 30 %
Assumptions
Excludes taxes and any costs not entered. Values are hypothetical.
How to interpret this calculation
(Revenue − cost) / revenue × 100 The output is expressed in %.
Margin measures profit relative to revenue, not relative to cost. Compare businesses using the same definition of profit.
Input definitions and permitted ranges
- Revenue: example 1000; accepted numerical range 0.01 to 1000000000000. Input limits are software bounds, not recommended trading values.
- Cost: example 700; accepted numerical range 0 to 1000000000000. Input limits are software bounds, not recommended trading values.
Before using the result
Excludes taxes and any costs not entered. Values are hypothetical. Scenario charts vary one input at a time and hold other inputs constant. They do not model probabilities or market forecasts.
Read our calculation methodology and report an errorRelated tools
Margin versus markup
If sales revenue is 250 and the cost is 150, profit is 100 and profit margin is 100 ÷ 250 × 100 = 40%. Markup uses cost as its denominator instead, giving 100 ÷ 150 × 100 ≈ 66.67%. The distinction matters when comparing prices or business results. Include only the costs appropriate to the type of margin you want; gross margin is not necessarily net business profit.