One sale, two percentages, two different answers
A shop buys an item for $60 and sells it for $100. The gross profit is $40 before any other costs. Markup compares that $40 with the cost; gross margin compares the same $40 with the selling price. The numbers describe different things, and swapping the terms can quietly break a pricing sheet.
The formulas
Gross profit = selling price − cost of goods sold.
Markup percentage = gross profit ÷ cost of goods sold × 100.
Gross margin percentage = gross profit ÷ selling price × 100.
In the $60-to-$100 example, markup is $40 ÷ $60 = 66.7%, while gross margin is $40 ÷ $100 = 40%. Both are mathematically correct. They answer different questions: markup tells you how much was added relative to cost, while margin tells you what share of the selling price remains after the cost included in the calculation.
| Measure | Formula | Example |
|---|---|---|
| Cost | Input | $60 |
| Selling price | Input | $100 |
| Gross profit | $100 − $60 | $40 |
| Markup | $40 ÷ $60 | 66.7% |
| Gross margin | $40 ÷ $100 | 40% |
How to set a price from a target margin
If the cost is $60 and the desired gross margin is 40%, divide cost by one minus the target margin: $60 ÷ (1 − 0.40) = $100. A common mistake is to add 40% to cost and expect a 40% margin. Adding 40% produces a $84 selling price, with $24 gross profit and a margin of about 28.6%, not 40%.
For a target markup, use cost × (1 + markup rate). A 40% markup on $60 gives $84. This is why price-setting formulas should label the input clearly. “Add 40%” and “target 40% margin” are not equivalent instructions.
Decide which costs belong in the calculation
Gross margin often uses direct product or delivery costs, while operating profit includes additional expenses such as rent, administration, marketing, and sometimes owner compensation depending on the accounting approach. Payment processing fees, shipping, returns, discounts, and subcontractor costs can materially change the economics of a sale. Define the costs being included before comparing margins across products or months.
Sales tax collected on behalf of a tax authority generally should not be mistaken for revenue retained by the business. Tax treatment and accounting presentation depend on jurisdiction and how the transaction is recorded, so keep tax collected separate from the price that actually belongs to the business.
Use margin to compare offers, not to ignore cash flow
A 60% margin on a slow-moving product may generate less total profit than a 30% margin on a reliable high-volume product. Margin also does not tell you when a customer will pay. For service businesses, estimate realistic billable hours, include time spent selling and administering projects, and track late payments separately from gross profit.
Useful pricing checks
- Percentage Calculator to compare markup, margin, and discount percentages.
- Freelance Rate and Project Quote Calculator to account for billable time and target earnings.
- Invoice Maker to keep quoted prices and billed amounts consistent.
A short pricing review checklist
- Record the full direct cost per sale or project.
- Choose whether the target is a markup or gross margin.
- Include payment fees, fulfillment costs, discounts, and expected returns where relevant.
- Check customer demand and competitor alternatives before changing the price.
- Review realized margin using actual transactions, not just the price list.
Frequently asked questions
Can markup be higher than margin?
Yes. When the same positive gross profit is divided by cost for markup and by the larger selling price for margin, markup will be larger.
Is a higher margin always better?
Not on its own. Sales volume, operating costs, cash collection, inventory risk, and customer demand also determine business performance.
Should I use gross margin or net profit margin?
Use gross margin to understand what remains after the costs included in cost of goods sold. Use net profit margin when evaluating profit after the wider set of expenses in the income statement. They are not interchangeable.
Note: This article is general educational information, not individualized tax, investment, legal, or financial advice. Verify current rules and your own numbers before making a decision.
