Contact, if you are interested in this website / domain name / Sponsorship / Advertisement / Partnership →

Profit Margin & Markup Calculator

Margin vs markup, profit per unit, and the price needed to hit a target margin.

Results update as you type. Calculations run locally in your browser.

Margin and markup are not the same

Margin is profit as a share of the selling price; markup is profit as a share of cost. A product that costs $40 and sells for $60 has a 50% markup but only a 33% margin. Confusing the two is one of the most common pricing mistakes — and it quietly erodes profit.

Formulas

  • Margin = (Price − Cost) ÷ Price
  • Markup = (Price − Cost) ÷ Cost
  • Price for a target margin = Cost ÷ (1 − target margin)

Typical gross margins

Benchmarks vary widely: grocery retail often runs in the 20–30% range, restaurants frequently target food costs near 30% of menu price, and software can exceed 70%. Compare yourself to your own history and close competitors rather than a universal number.

Frequently asked questions

Why does the tool suggest a price ending in 8?

As an optional charm-price variant. See the Charm Pricing Lab to compare 9-endings, 8-endings and round prices for your audience.

Should I include shipping in cost?

If you pay it per unit, yes — it's a variable cost.

Educational tool — not financial, tax or legal advice. Reviewed 2026-11-26. See our editorial policy.