Gross margin is the percentage of revenue that remains after subtracting the cost of goods sold. This Percentage Margin Calculator works in three modes: enter revenue and cost to find the margin; enter revenue and target margin to find the required cost; or enter cost and target margin to find the s...
Rent, salaries, marketing — costs not included in COGS
GROSS MARGIN
30%
GROSS PROFIT
$30.00
REVENUE
$100.00
MARKUP
42.8571%
NET MARGIN
—
QUICK EXAMPLES
GROSS MARGIN
30%
GROSS PROFIT
$30.00
MARKUP
42.8571%
REVENUE COMPOSITION
MARGIN vs MARKUP — ALWAYS DIFFERENT
Margin 30% on revenue · Markup 42.8571% on cost · Markup is always higher.
REVENUE
$100.00
COST
$70.00
GROSS PROFIT
$30.00
NET PROFIT
Enter opex →
Live diagram · updates as you type
| MARGIN % | MARKUP % | COST (at $100.00 rev) | GROSS PROFIT |
|---|---|---|---|
| 5% | 5.26% | $95.00 | $5.00 |
| 10% | 11.11% | $90.00 | $10.00 |
| 15% | 17.65% | $85.00 | $15.00 |
| 20% | 25% | $80.00 | $20.00 |
| 25% | 33.33% | $75.00 | $25.00 |
| 30% ← | 42.86% | $70.00 | $30.00 |
| 40% | 66.67% | $60.00 | $40.00 |
| 50% | 100% | $50.00 | $50.00 |
| 60% | 150% | $40.00 | $60.00 |
| 70% | 233.33% | $30.00 | $70.00 |
Margin % = profit ÷ revenue. Markup % = profit ÷ cost. Markup is always higher than margin for the same transaction.
Select your mode: Revenue + Cost (most common), Revenue + Margin % (to find the required cost), or Cost + Margin % (to find the selling price for a target margin).
Enter your two known values. Revenue is total sales. Cost is the direct cost of goods sold (COGS) — materials, direct labour, and manufacturing costs only.
Optionally enter operating expenses (rent, salaries, marketing) to see the net margin alongside gross margin.
The result box shows gross margin, gross profit, the equivalent markup percentage, and net margin if operating expenses are entered.
Review the Margin to Markup conversion table to see the correct markup for every common margin target. Your current margin is highlighted.
Example 1 (Revenue + Cost): Revenue $100, Cost $70. Gross profit = $30. Gross margin = $30/$100 = 30%. Markup = $30/$70 = 42.86%. With operating expenses $15: Net profit = $15, Net margin = 15%. Example 2 (Revenue + Margin): Revenue $200, target margin 40%. Cost = $200 x (1-0.40) = $120. Gross profit = $80. Example 3 (Cost + Margin): Cost $70, margin 30%. Revenue = $70 / (1-0.30) = $100. Gross profit = $30.
| NAME | FORMULA | DESCRIPTION |
|---|---|---|
| Gross Margin % | Margin% = (Revenue - Cost) / Revenue x 100 | Profit as % of revenue — the universal profitability metric |
| Gross Profit | Gross Profit = Revenue - Cost | Absolute profit after deducting COGS only |
| Net Margin % | Net Margin% = (Gross Profit - OpEx) / Revenue x 100 | Profit after COGS and operating expenses as % of revenue |
| Revenue (from cost+margin) | Revenue = Cost / (1 - Margin% / 100) | Find the selling price that achieves a target margin |
| Margin to Markup | Markup% = Margin% / (100 - Margin%) x 100 | Convert target margin to the required markup |
| Markup to Margin | Margin% = Markup% / (100 + Markup%) x 100 | Convert markup percentage to the equivalent margin |
Grade Calculator
Calculate instantly →
Percentage Increase Calculator
Calculate instantly →
X is What Percent of Y Calculator
Calculate instantly →
Percentage Markup Calculator
Calculate instantly →
Percentage Difference Calculator
Calculate instantly →
Percentage Off Calculator
Calculate instantly →
Percentage Decrease Calculator
Calculate instantly →
Discount Calculator
Calculate instantly →
Percentage Change Calculator
Calculate instantly →
Tip Calculator
Calculate instantly →
What is X% of Y Calculator
Calculate instantly →
What is 5% of 1000?
Calculate instantly →
What is 5% of 250?
Calculate instantly →
What is 5% of 25?
Calculate instantly →
What is 5% of 150?
Calculate instantly →
What is 5% of 500?
Calculate instantly →
What is 5% of 20?
Calculate instantly →
What is 5% of 200?
Calculate instantly →
What is 10% of 20?
Calculate instantly →
Last updated: April 25, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.