Profit Margin Calculator

Compute gross margin, markup, profit and revenue from cost and selling price.

Runs in your browser Calculators

Results

Gross margin
—%
Markup
—%
Gross profit
—
Unit profit
—
Revenue
—
Total cost
—
Margin uses selling price as the base; markup uses cost

How to use

  1. Enter the unit cost and unit selling price; quantity defaults to 1.
  2. Add any extra costs such as freight or packaging in "Extra costs".
  3. The result area shows gross profit, margin, markup, revenue and total cost in real time.

Frequently asked questions

What is the difference between margin and markup?
Margin = profit / selling price; markup = profit / cost. For a cost of 80 and a price of 100, margin is 20% while markup is 25%.
Can margin exceed 100%?
No. With a normal price above cost, margin sits between 0 and 100%. A price below cost gives a negative margin, meaning a loss.
How are extra costs handled?
Extra costs are added to total cost as a lump sum, which reduces gross profit and margin. Use it for freight, packaging or platform fees.

Privacy & data handling

This tool runs entirely in your browser. Text you type and files you choose are never uploaded to a server or saved by ToolNest. Closing the page removes everything.