Gross Margin vs Markup: Formulas and Pricing Examples
Learn the difference between gross margin and markup, calculate a target selling price, and test how discounts and unit-cost increases change profit.
Gross margin divides gross profit by net revenue. Markup divides the same profit by cost. The denominators differ, so a 50% markup does not produce a 50% gross margin.
This matters when a business quotes work, discounts a product or responds to supplier price increases. A pricing spreadsheet can calculate accurately and still produce the wrong commercial outcome if the target has been entered as the wrong measure.
The Australian Trade and Investment Commission's pricing guidance distinguishes the markup calculation. The examples below are original illustrations using one currency and a consistently defined unit cost. They are not industry benchmarks or a recommendation for a particular price.
The formulas side by side
| Measure | Formula |
|---|---|
| Gross profit | Net selling price − Cost of goods sold |
| Gross margin | Gross profit ÷ Net selling price |
| Markup | Gross profit ÷ Cost of goods sold |
| Price for target margin | Cost ÷ (1 − Target margin) |
| Price for target markup | Cost × (1 + Target markup) |
Use percentages as decimals inside the price formulas: a 40% target margin is 0.40. Gross profit is a currency amount; gross margin and markup are percentages. None of them is net profit after all operating costs.
A 60-cost, 100-price example
Suppose a product costs an illustrative USD 60 and sells for a realized net price of USD 100. Gross profit is 40. Gross margin is 40 ÷ 100 = 40.00%. Markup is 40 ÷ 60 = 66.67%.
If you instead add a 50% markup to the 60 cost, the selling price becomes 90. Profit is 30, and gross margin is 30 ÷ 90 = 33.33%, not 50%.
| Pricing choice | Cost | Price | Gross profit | Gross margin |
|---|---|---|---|---|
| Original price | 60 | 100 | 40 | 40.00% |
| 50% markup on cost | 60 | 90 | 30 | 33.33% |
| 40% target margin | 60 | 100 | 40 | 40.00% |
The distinction is mathematical, not a judgment that one pricing method is always superior. A viable price also depends on customers, competition, delivery capacity and the full cost of serving the sale.
Target margin and cost increases
To retain a 40% gross margin on a cost of 60, calculate 60 ÷ (1 − 0.40) = 100. If unit cost rises to 66, the same target requires 66 ÷ 0.60 = 110.
At the unchanged 100 selling price, the new gross profit is 34 and gross margin is 34%. That is a six-percentage-point margin decline from 40%, not a six-percent revenue decline. Do not round a required price down and assume the target margin still holds.
Discounts can consume more profit than expected
Assume 100 units, unit cost of 60 and operating expenses of 1,500 that remain fixed for this comparison:
| Scenario | Net revenue | COGS | Gross profit | Operating profit |
|---|---|---|---|---|
| 100 units at 100 | 10,000 | 6,000 | 4,000 | 2,500 |
| 100 units at 90 | 9,000 | 6,000 | 3,000 | 1,500 |
A ten-percent price discount reduces gross profit by 25%, from 4,000 to 3,000, at unchanged volume and cost. Operating profit falls 40%, from 2,500 to 1,500. These are conditional results, not a claim that discounting is always harmful: extra volume or lower costs could change the outcome.
Use break-even analysis to calculate the volume response needed. Compare the assumptions with actual orders rather than assuming a promotion caused every concurrent sales change.
Calculate from net revenue and consistent costs
Discounts and refunds change realized revenue. Returned inventory may also change cost of goods sold depending on the actual accounting entries. Use the recorded net revenue and correctly adjusted cost base instead of subtracting a refund from sales while ignoring its associated cost treatment.
For a business total, calculate gross profit divided by total net revenue. Do not average product margin percentages without revenue weighting. A small high-margin product should not carry the same weight as the main revenue line merely because both occupy one spreadsheet row.
Checks before publishing a margin report
- Confirm the reporting period, currency and treatment of sales taxes.
- Identify which delivery costs are classified in cost of goods sold.
- Reconcile discounts, credits and returns to their source records.
- Separate gross margin, contribution margin, operating margin and net margin.
- Explain price, cost and mix changes independently where evidence supports them.
The P&L example shows the profit levels in one statement. The expense-variance guide helps investigate drivers. Raavue can assist with a reviewable report draft from supported financial exports; it does not determine a customer's willingness to pay. See the sample report before analyzing your own data.
Frequently asked questions
Can margin equal 100%?
With positive net revenue, a 100% gross margin implies zero recorded cost of goods sold. Check cost completeness before interpreting it as exceptional performance.
Can the formulas handle zero or negative values?
Zero price makes the margin denominator invalid; zero cost makes ordinary markup undefined. Refund-only or negative-revenue periods need explicit explanation, not a routine pricing percentage.
Put this guide into practice
Related articles
Review your financial data
Start with a supported, reconciled finance export. Review calculations, evidence and limitations before sharing the report.