Margin Calculator
Calculate profit margin based on revenue and cost.
Enter your values and click Calculate
How It Works
Profit margin measures how much of each dollar of revenue you keep as profit. The formula is: Margin (%) = (Revenue − Cost) ÷ Revenue × 100. First, gross profit is calculated by subtracting the cost from revenue. That profit is then divided by revenue — not by cost — and multiplied by 100 to express it as a percentage. This is the critical distinction between margin and markup: margin uses revenue as the denominator while markup uses cost. The calculator also outputs the cost ratio, which is the percentage of each revenue dollar consumed by costs. A 40% margin means for every $1 earned, $0.40 is profit and $0.60 covers costs. Higher margins indicate more efficient pricing or lower production costs relative to selling price.
Examples
Frequently Asked Questions
What is a good profit margin?
What is the difference between margin and markup?
How do I use margin to set a selling price?
Recommended Resources
- ComparisonMarkup vs. Margin: Why They're Not the Same
- Related ToolMarkup Calculator
- Related ToolProfit Margin Calculator