Example 1, Coffee shop, Q1: $42,000 revenue, $29,400 cost
30.00%- Subtract cost from revenue 42,000 − 29,400 = $12,600 profit
- Divide by revenue 12,600 ÷ 42,000 = 0.30
- Multiply by 100 0.30 × 100 = 30.00%
12,600.00 of profit on 42,000.00 of revenue is a margin of 30.00%.
Profit margin is the share of revenue that remains as profit after cost is subtracted, expressed as a percentage of revenue. It answers "for every dollar that came in, how much was actually profit."
Margin is one of the most closely watched figures in any business, since it converts revenue and cost of any size into a single comparable percentage, a small shop and a large enterprise can be compared on margin even though their raw revenue figures are nowhere close.
Notice the denominator here is revenue, not cost. This is what separates margin from markup, which uses the same numerator arithmetic but divides by cost instead.
Margin erosion, a shrinking profit margin over time, is a direct application of percentage decrease, applied to the margin percentage itself rather than to revenue. In the example above, margin fell from 30% to 20%, which is itself a 33.33% decrease when the two margin figures are compared using the homepage's formula: (30 − 20) ÷ |30| × 100. A margin can erode even while revenue climbs, which is exactly what makes tracking margin separately from raw revenue worthwhile.
Owners track margin period over period to catch cost creep before it erodes profitability to an unsustainable level.
Retailers compare margin across product categories to decide which lines to expand, discount, or discontinue.
Investors examine a company's margin trend over several periods as a signal of pricing power and cost discipline, not just its current revenue size.
The questions that come up most often once the basic margin calculation is understood, especially around how it differs from markup and how margin erosion sneaks up on a growing business.