Profit Margin vs. Markup: What’s the Difference?
Profit margin and markup both compare profit with another amount, but they use different denominators. Learn how to calculate each percentage, convert between them, and use the right figure when setting or reviewing prices.
Profit margin and markup measure different things
Profit margin and markup both start with the same gross profit amount, but they answer different questions. Gross profit is the selling price minus the direct cost entered for an item or service. The difference appears when that profit is converted to a percentage.Profit margin expresses gross profit as a share of the selling price. It answers: “What portion of this sale remains after the direct cost?” Markup expresses the same gross profit as a share of cost. It answers: “How much was added to cost when the price was set?”This distinction matters because identical percentage labels can represent very different prices. A business that adds a 50% markup to cost does not earn a 50% margin. If cost is $100, a 50% markup produces a selling price of $150 and gross profit of $50. That $50 is one-third of the $150 selling price, so the gross margin is 33.33%.This guide uses “profit” to mean gross profit from the two entered values only. It does not calculate net profit. Rent, salaries, marketing, insurance, income taxes, refunds, financing costs, payment-processing charges, and other operating expenses may still reduce the amount a business ultimately keeps.
The denominator is the key difference
For cost C and selling price S, calculate gross profit first:Gross profit = S − CThen calculate each percentage using its own denominator:Profit margin (%) = ((S − C) ÷ S) × 100Markup (%) = ((S − C) ÷ C) × 100Margin uses selling price in the denominator, while markup uses cost. Because selling price is normally larger than cost when there is a profit, a positive markup percentage will normally be larger than the corresponding margin percentage.Margin is defined only when selling price is not zero. Markup is defined only when cost is not zero. For example, an item with zero entered cost and a $25 selling price has $25 of gross profit and a 100% margin, but its markup is undefined because markup would require division by zero. Likewise, a positive cost with a zero selling price cannot produce a defined margin percentage.Use the same currency and the same unit for both inputs. A per-unit cost should be compared with a per-unit selling price; a monthly service cost should be compared with the monthly service price. Mixing a wholesale carton cost with a single-item retail price produces a percentage that may be mathematically valid but commercially misleading.
How to use a margin and markup calculator
Enter the direct cost you want the calculation to model and the amount charged to the customer before separately modeled taxes, discounts, or fees. The calculator should show gross profit, profit margin, and markup side by side, making the denominator for each percentage visible.Choose the cost basis. It may include materials, production labor, a supplier invoice, shipping paid to obtain the item, or another direct cost relevant to your decision.Enter the selling price for the same item, package, job, or billing period.Read gross profit in currency first. It is the amount available before unmodeled business expenses.Use margin when comparing the share of customer revenue retained after the entered cost.Use markup when applying a pricing policy to cost.Keep the calculation consistent with your accounting and pricing practice. Sales tax collected for a government authority is often not revenue retained by the seller, so including it in the selling-price input can overstate the apparent margin. Discounts, coupons, returns, marketplace commissions, card fees, and delivery costs can also change the effective profit on a sale. If those amounts matter to the decision, either incorporate them deliberately into cost or model them separately.Round displayed percentages and currency for readability, but keep more precision while calculating a target price. Rounding early can create a noticeable difference when prices are low, quantities are high, or a pricing rule is applied repeatedly.
Worked example: one profit amount, two percentages
Imagine a retailer pays $60 for an item and sells it for $100. The gross profit is:$100 − $60 = $40MeasureCalculationResultGross profit$100 − $60$40.00Profit margin$40 ÷ $100 × 10040.00%Markup$40 ÷ $60 × 10066.67%The $40 profit is unchanged. Only the comparison base changes. It is 40% of the selling price and 66.67% of the cost.Fractional prices work the same way. If cost is $12.50 and selling price is $19.99, gross profit is $7.49. The margin is approximately 37.47%, and the markup is approximately 59.92%, calculated before display rounding. A calculator should not round $7.49 or either percentage during intermediate steps.At break-even, cost and selling price are equal. With a $100 cost and a $100 selling price, gross profit is $0, margin is 0%, and markup is 0%. A selling price below cost creates a loss. The formulas can describe that loss as negative margin and negative markup when a page explicitly supports loss analysis, but a pricing workflow should make that condition clear rather than presenting it as an ordinary profitable result.
Set a selling price from a target margin
When a business has a margin target, start with cost and divide by the portion of selling price that is intended to cover cost. If the target margin is written as a decimal m, where 40% becomes 0.40, use:Selling price = C ÷ (1 − m)Suppose direct cost is $60 and the target gross margin is 40%. The calculation is:$60 ÷ (1 − 0.40) = $100That result matches the worked example: a $100 price leaves $40 of gross profit, which is 40% of the price.A target margin must be less than 100% when cost is positive. At a 100% margin, the formula would divide by zero. Also remember that a target gross margin does not automatically cover every expense. A business might set a higher gross-margin target to help fund payroll, rent, warranty claims, marketing, or variable fees. The appropriate target depends on the costs included in the input and the operating model, not on a universal percentage.
Set a selling price from a target markup
Markup is often convenient when a pricing policy begins with cost. If target markup is written as a decimal u, where 50% becomes 0.50, use:Selling price = C × (1 + u)For a $60 cost and a 66.67% markup, the unrounded calculation is approximately:$60 × (1 + 0.6667) ≈ $100.00Conversion is useful when a supplier, department, or pricing spreadsheet uses one measure while a manager reports the other. To convert a markup decimal to a margin decimal, use:Margin = Markup ÷ (1 + Markup)To convert a margin decimal to a markup decimal, use:Markup = Margin ÷ (1 − Margin)For example, a 50% markup is 0.50 ÷ 1.50 = 0.3333, or a 33.33% margin. A 50% margin requires 0.50 ÷ 0.50 = 1.00, or a 100% markup. This is why saying “add 50%” is not enough unless everyone agrees whether the percentage refers to cost or selling price.
Avoid common pricing and reporting mistakes
The most common error is treating markup and margin as interchangeable. Label the denominator in reports, spreadsheets, and conversations. “40% of price” communicates margin; “40% added to cost” communicates markup.Another mistake is treating gross margin as net profit. A product may show a healthy gross margin while the business still loses money after overhead and other expenses. Financial reporting commonly separates revenue, direct costs, operating expenses, and other items precisely because each stage answers a different question. For a general introduction to annual reports and financial statements, see the U.S. Securities and Exchange Commission’s Investor.gov annual reports guide.Be careful with discounts. A list price based on a desired margin may no longer meet that target after a promotion. For instance, an item priced at $100 with a $60 cost has a 40% margin, but a 20% discount lowers the sale price to $80 and reduces gross profit to $20. The realized margin becomes 25%, not 40%.Finally, define cost deliberately. There is no single cost figure that fits every business decision. A short-term promotion might use incremental cost, while a long-term product decision may need fulfillment, returns, support, and other direct costs. State what is included, use consistent units, and treat this calculator as a transparent gross-profit comparison rather than a complete profitability forecast.
Enable JavaScript to use interactive calculators.