Useful Hacks

Profit Margin Calculator

Calculate profit margin and markup from cost and selling price.

Calculated locally in your browser. Nothing you enter is uploaded or stored.
  • Free — no signup, no account, no watermark
  • Runs entirely in your browser — nothing is uploaded to a server
  • Works on mobile, tablet and desktop
  • Instant — results appear as soon as you enter your input

Why this is private

  • Calculated locally in your browser. Nothing you enter is uploaded or stored.
  • Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
  • Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.

Overview

Calculates profit margin (profit as a percentage of selling price) and markup (profit as a percentage of cost) from a cost and selling price — two related but different numbers that are easy to mix up.

How to use it

  1. 1Enter the cost price.
  2. 2Enter the selling price.
  3. 3View profit, margin and markup.

Formula

Margin

Margin % = (Profit / Selling price) × 100

Markup

Markup % = (Profit / Cost price) × 100

Tips

  • Margin and markup on the same sale are always different numbers — a 50% markup on cost is only a 33.3% margin on the selling price.

Frequently asked questions

What people use it for

Price a product from its costTry selling prices to hit a target margin, and see the equivalent markup.
Translate a supplier's markup into your marginA '40% markup' quote is a 28.6% margin — know which one a number refers to.
Check whether a deal is profitableEnter negotiated cost and price to see the resulting margin before agreeing.
Set a category-wide pricing ruleDecide on a margin, then compute the price for each item's cost.

Related guides

Related tools

All finance tools

Ready to use Profit Margin Calculator?

Profit Margin Calculator

Search tools

Search for any tool by name, category or keyword