Profit margin & markup calculator
Find gross profit, margin and markup or price for a target margin.
Showing the previous result. Check the highlighted inputs.
$30.00 gross profit on $100.00 in sales.
Breakdown & share
- Gross profit
- $30.00
- Gross margin
- 30%
- Markup
- 42.86%
- Sale price
- $100.00
Your inputs
What-if compare
Change a second scenario and see the results side by side.
Edit what-if inputs
What it’s made of
How it’s worked out
See how we got 30%
Gross profit = revenue − cost. Margin % = profit ÷ revenue × 100. Markup % = profit ÷ cost × 100. Target sale price = cost ÷ (1 − target margin).
- $100.00 − $70.00 = $30.00 gross profit.
- Divide that profit by revenue for margin (30%) and by cost for markup (42.86%).
About this calculator
Gross margin uses direct cost of goods. General overhead, interest and tax belong in separate profitability measures.
Gross profit margin · 30%
Gross profit = revenue − cost. Margin % = profit ÷ revenue × 100. Markup % = profit ÷ cost × 100. Target sale price = cost ÷ (1 − target margin).
- $100.00 − $70.00 = $30.00 gross profit.
- Divide that profit by revenue for margin (30%) and by cost for markup (42.86%).
Common questions
Why do margin and markup differ?
Margin uses the sale price as the denominator. Markup uses the cost.
Can margin be negative?
Yes. A sale below cost produces negative gross profit and margin.
What target margin should I use?
Use your own cost, market pricing and business goals. This tool shows the price implied by the target.
Formula sources
Reference checked November 22, 2026. Credentialed review pending.
Copy a report template with the calculator name. Add the numbers and expected result before sharing it.