Pricing should be simple. Yet margin and markup trip people up, which can kill profit. This guide shows you the difference, the exact formulas, and step by step ways to set prices that protect profit. You will also get quick converters, checklists and real examples you can paste into your model.
What each term means
Gross margin tells you profit as a percent of selling price.
Markup tells you profit as a percent of cost.
- Margin formula:
Margin % = (Price − Cost) ÷ Price - Markup formula:
Markup % = (Price − Cost) ÷ Cost
Margin answers “what percent of the price is profit.” Markup answers “how much above cost did we price.” Using the wrong one leads to underpricing or overpricing.
The two formulas in action
- If Cost = 70 and Price = 100
Profit = 30
Margin = 30 ÷ 100 = 30%
Markup = 30 ÷ 70 ≈ 42.9% - If you want a 40% margin on a product that costs 120
Price = Cost ÷ (1 − Margin) = 120 ÷ 0.60 = 200 - If you want a 40% markup on cost 120
Price = Cost × (1 + Markup) = 120 × 1.40 = 168
Same cost, very different price. Set your policy first, then apply it the same way every time.
Quick converters you can memorize
- Margin to Markup: Markup % = Margin % ÷ (1 − Margin %)
Example: 30% margin → 0.30 ÷ 0.70 = 42.86% markup - Markup to Margin: Margin % = Markup % ÷ (1 + Markup %)
Example: 50% markup → 0.50 ÷ 1.50 = 33.33% margin
These shortcuts keep quotes consistent when teams mix the terms.
When to use margin vs markup
Use margin for reporting, targets and portfolio health
- Easy to see profit per dollar of sales
- Lets you compare to industry margins and trend lines for gross, operating and net margins
Use markup for fast pricing from cost
- Quick to calculate a selling price from a known cost
- Works well in cost plus pricing environments like custom jobs and parts catalogs
Costs that belong in COGS for margin math
Include direct materials, direct labor and other direct production costs. Exclude office overhead and G&A from COGS so your margin is apples to apples. Service firms may use cost of revenue instead of COGS.
Price setting playbook you can copy
- Pick one policy by category
- Example: 45% target gross margin on hardware, 60% on accessories, 70% on software and services
- Lock the formula in your price sheet
- Use Price = Cost ÷ (1 − Margin) or Price = Cost × (1 + Markup)
- Add a rounding rule
- End at .99 for retail or at clean numbers for B2B quotes
- Set guardrails
- Minimum margin floor, discount approvals and who can override
- Review quarterly
- Update costs for inflation or supplier changes
- Reprice lagging SKUs that lost margin
Common mistakes that drain profit
- Quoting a 30% markup when you meant a 30% margin
Result: price is too low and margin falls to 23% - Using average cost that hides recent increases
Fix: use current standard cost with a monthly true up - Mixing freight in selling expense instead of COGS
Fix: decide once and apply the same way so margin signals are clean - Letting discounts bypass the margin floor
Fix: add an automated price check at quote approval - Ignoring mix
Fix: track margin by SKU, channel and customer tier not just in total
Fast templates
1) Cost to price (target margin)
- Cost in cell B2
- Target margin in cell C2
- Price formula: =B2/(1-C2)
2) Cost to price (target markup)
- Cost in B2
- Target markup in C2
- Price formula: =B2*(1+C2)
3) Price to margin
- Price in B2
- Cost in C2
- Margin formula: =(B2-C2)/B2
4) Price to markup
- Price in B2
- Cost in C2
- Markup formula: =(B2-C2)/C2
Paste these into Google Sheets or Excel and lock the cells you do not want reps to edit.
Service business twist
You do not buy inventory, yet the math still applies. Define cost as delivery cost per hour or per project. Include direct labor, payroll taxes and delivery software. Then set price to hit a gross margin that covers SG&A and still leaves net profit. Track utilization, write offs and scope changes so margin stays real, not theoretical
Retail and ecommerce tips
- Track GMROI to make sure higher margin items also move volume
- Bundle low margin goods with high margin accessories
- Use laddered markdowns that protect margin over the full life of the SKU
Worked examples
Example A: protect margin after a cost increase
- Current: Cost 50, Price 100, Margin 50%
- New cost: 60
- To keep 50% margin, new price = 60 ÷ 0.50 = 120
- If you keep price at 100, margin drops to 40%
Example B: set price for a 35% margin service job
- Cost to deliver: 4,000
- Price = 4,000 ÷ 0.65 = 6,153.85
- Round to 6,150 and add a scope cap in the SOW
Example C: convert a legacy markup list to margin
- Legacy policy: 25% markup
- Equivalent margin = 0.25 ÷ 1.25 = 20%
- Decide if 20% margin meets your profit target or raise markup
FP&A checklist to keep prices honest
- Build a margin waterfall that shows list price to net price after discounts, freight and rebates
- Reconcile standard cost to actual cost each month
- Flag SKUs under the margin floor and send to pricing for action
- Compare margins by channel and region so mix effects are visible
- Tie sales comp to margin dollars, not just revenue
Quick answers
Which is better for targets
Margin, since it aligns with financial statements and lets you compare to peers.
Which is easier for pricing
Markup, since it starts from cost and gives a fast quote. Use it only if your team understands the gap to margin.
What belongs in COGS for margin math
Direct production costs and other costs required to get goods ready for sale. Exclude general overhead.





