Markup vs Margin Calculator

Set selling prices with confidence. Convert between cost, sale price, gross profit, markup and margin for ecommerce, wholesale, retail and service businesses.

Ecommerce pricing Retail math Global business

Pricing calculator

Quick explanation

Markup
Profit divided by cost. Example: buy for 40, sell for 60. Profit is 20, markup is 50%.
Margin
Profit divided by selling price. On the same example, 20 profit on 60 sale price gives 33.33% margin.

Related tools: Percentage Calculator, VAT Calculator, US Sales Tax Calculator.

FAQ

What is the difference between markup and margin?

Markup is based on cost. Margin is based on sale price. Margin is always lower than markup for the same product.

How do I find the sale price from a target margin?

Use the target margin result below the calculator. It shows the minimum selling price needed to hit your chosen margin.

✅ Do's and ❌ Don'ts

✅ Do's

  • Do use this tool to save time on manual calculations.
  • Do double-check your inputs for accuracy.
  • Do share results with teammates using the Share feature.
  • Do bookmark this tool for quick access.

❌ Don'ts

  • Don't enter sensitive personal data — this tool doesn't store anything.
  • Don't use results as professional financial/legal/medical advice.
  • Don't forget to verify critical calculations with official tools.
  • Don't assume results are guarantees — they are estimates.

Frequently Asked Questions

Is this tool free to use?

Yes. All UpTools calculators are completely free, with no sign-ups required.

Is my data private?

Yes. All calculations run locally in your browser. Nothing is uploaded to any server.

Does it work on mobile?

Yes. All tools are mobile-responsive and work on any device — phone, tablet, or desktop.

Can I use this offline?

Most tools work offline after the initial page load. No internet needed for calculations.

📐 How This Tool Works

This tool computes results entirely in your browser using JavaScript. No data is sent to any server, ensuring your privacy.

Results update instantly as you type — no waiting for server responses.

Also try: Calculator · Converter · Generator