Skip to content

Cookie settings

Optional analytics help us understand which pages and tools are useful. If you allow them, we use Google Analytics. Your files are never included, and every tool works the same if you decline. Cookie policy

Margin Calculator

Work out gross margin and markup from cost and revenue, and solve in either direction. The two are easy to confuse and the page shows both.

Browser tool

Margin 40% · markup 66.67%

Profit40.00
Margin40%profit ÷ revenue
Markup66.67%profit ÷ cost
Cost
60.00
Revenue
100.00
Profit
40.00

How this is calculated

margin = (100 − 60) / 100 × 100 = 40%; markup = (100 − 60) / 60 × 100 = 66.6667%
.txt

About Margin Calculator

Margin and markup are calculated from the same two numbers and answer different questions, and mixing them up is one of the more expensive arithmetic mistakes in small business. This gives both from cost and revenue, and solves in either direction. A free calculator that opens online with nothing to register. Your figures are handled in the browser alone.

How to use Margin Calculator

  1. Enter cost and revenueMargin, markup and profit all follow from those two figures.
  2. Or set the margin you needGive a cost and a target margin and the calculator returns the price to charge, which is the direction most pricing decisions actually run.

Margin and markup are not the same number

Margin is profit as a share of the selling price; markup is profit as a share of the cost. An item costing 60 and selling for 100 has a 40% margin and a 66.67% markup. Both describe the same 40 of profit. Pricing at "40% markup" when you meant a 40% margin leaves you charging 84 instead of 100.

What it does not do

  • This is gross margin: revenue minus the direct cost of the item. It does not account for overheads, payment fees, returns or tax, all of which sit between gross margin and money in the bank.
  • Margin is undefined when revenue is zero, and negative when cost exceeds revenue. Both are reported as such rather than hidden.

Margin Calculator: questions people ask

Should I price on margin or markup?
Margin, generally, because it tells you what share of each sale you keep and is directly comparable across products with different costs. Markup is more convenient when you price by applying a standard multiplier to cost.
Can margin be more than 100%?
No. Margin is a share of the selling price, so it approaches 100% as cost approaches zero but cannot exceed it. Markup has no upper bound.
Is this a forex or trading margin calculator?
No. It works out gross profit margin and markup from cost and selling price, the kind of margin used to price products. The margin a broker holds as collateral for forex, gold, futures or options positions is a different calculation, and this page does not do it.

Questions about ToolsVerse itself — privacy, cost, what happens to your files — are answered in the frequently asked questions.

The tools people most often need alongside Margin Calculator.

Can’t find the tool you need?

Tell us what you’re looking for and we’ll consider adding it.

Request a tool →