Margin vs. Markup: Price Products Without Swapping the Math

See why a 50% markup is not a 50% margin, convert between the two correctly, and build a price from the costs your business actually carries.

By utilkit 4 min read Business
A calculator beside a laptop for working through prices
Photo by Jakub Żerdzicki on Unsplash

Margin and markup both compare price with cost, but they use different denominators. Markup measures profit relative to cost. Margin measures gross profit relative to selling price. Swapping them can leave a product much less profitable than intended, especially when someone says “add 40%” without naming the measure.

Use the utilkit Profit Margin and Markup Calculator to move among cost, price, gross profit, margin, and markup. Keep the definitions beside the result when sharing it; the arithmetic cannot protect a team that uses the words interchangeably.

See the difference with one example

A product costs $60 and sells for $100. Gross profit is $40. The markup is $40 ÷ $60, or 66.7%. The margin is $40 ÷ $100, or 40%. AccountingTools’ comparison uses the same distinction: markup is based on cost, while margin is based on sales.

If you add a 40% markup to a $60 cost, the price becomes $84 and the margin is only 28.6%. To achieve a 40% margin, divide cost by one minus the target margin: $60 ÷ 0.60 = $100.

Define the cost before choosing the percentage

Unit cost may include materials, inbound freight, packaging, transaction fees, fulfillment, sales commissions, and expected returns. A service cost may include delivery labor, subcontractors, travel, and software used specifically for the engagement. Omitting a variable cost inflates the apparent margin.

Gross margin still is not net profit. Rent, core payroll, insurance, marketing, taxes, and other overhead must be covered by gross profit. Start with a target contribution that supports those costs and the desired operating profit, then test whether customers will accept the resulting price.

Account for discounts and channel fees

A list-price margin disappears quickly when most units sell on promotion. Calculate margin at the expected realized price, not only at the sticker price. Marketplace commissions and reseller discounts can make the same product carry a different margin in each channel.

Run scenarios for normal price, common discount, and clearance or negotiated price. Set a floor that requires approval and state what costs the floor covers. This makes discount decisions deliberate instead of discovering after the sale that revenue did not cover delivery.

Use the terms consistently

  • Gross profit: selling price minus included unit cost.
  • Markup: gross profit divided by cost.
  • Margin: gross profit divided by selling price.
  • Price for target margin: cost divided by one minus target margin.
  • Realized margin: calculate from the price customers actually pay.

Work backward from the price the customer sees

Suppose an item costs $48 and you want a 40% gross margin. The required pre-discount price is $48 ÷ (1 − 0.40), or $80. If a marketplace takes 12% of the selling price, treating that fee as an additional variable cost changes the equation: price must cover $48 plus the fee while leaving the desired margin. The required price becomes $48 ÷ (1 − 0.40 − 0.12), or $100.

Now test a 20% promotion. A $100 list price becomes $80, the marketplace fee is $9.60, and the amount left after product cost and fee is $22.40. That is a 28% margin on discounted revenue, not 40%. The promotion may still be worthwhile, but its economics should be visible before it is advertised.

Create one row per channel because fees, fulfillment, returns, and discount behavior differ. Include a minimum acceptable contribution in dollars as well as a percentage; low-priced items can meet a target rate while producing too little cash to cover support and overhead. After a sales period, compare modeled and realized prices, fees, returns, and product costs. Pricing becomes more reliable when the calculator is connected to transactions instead of a static estimate.

A pricing model should make every input visible: cost scope, channel, discounts, and target measure. Once those definitions are stable, margin and markup become simple translations rather than competing answers. The decision then moves to the questions that matter—whether the price covers the business and whether the market will pay it.