◆ AfterJournal
Author guidelines · Contact

Profit Margin Calculator

Enter what you sell something for and what it costs you. Get the profit, the margin and the markup.

Gross margin
-
Gross profit
-
Markup
-
Price for a target margin
Charge at least
-

How profit margin is worked out

Gross profit is what is left of the selling price after you pay for the thing you sold. Gross margin shows that profit as a share of the price. The calculator uses:

  • Gross profit = revenue - cost
  • Gross margin % = gross profit / revenue x 100
  • Markup % = gross profit / cost x 100
  • Price for a target margin = cost / (1 - target margin / 100)

You can enter figures for a single item or for a whole month of sales. The percentages come out the same either way, as long as revenue and cost cover the same period and the same goods.

A worked example

A candle maker sells a candle for $120 a box. Wax, jars, wicks and packing cost $75 a box. Gross profit is $45, so the gross margin is 45 / 120, which is 37.5%. The markup on cost is 45 / 75, or 60%.

The maker wants a 40% margin. Using the target formula, 75 / 0.6 gives a price of $125. A $5 rise per box takes the margin from 37.5% to 40%.

Gross margin is not take-home profit

This tool measures gross margin, the first and simplest layer. Net margin takes away everything else the business pays: rent, wages, software, advertising, loan interest and tax. A product line with a 60% gross margin can still lose money once those costs are counted.

Gross margin is still the number to watch week to week. It tells you whether each sale pulls its weight before overheads, and it moves straight away when a supplier raises prices or you start discounting.

Common mistakes

  • Mixing up margin and markup when setting prices, which leaves the margin lower than planned.
  • Leaving out shipping, payment fees or returns from the cost figure.
  • Comparing your margin with a different kind of business. A cafe and a software firm will never look alike.

Questions

What is a good profit margin? +

There is no single number. Grocery stores often run on a net margin of 1% to 3%, while software firms can keep 20% or more. Compare yourself with businesses in the same trade, not with the market as a whole.

What is the difference between gross and net margin? +

Gross margin only takes away the direct cost of what you sold. Net margin also takes away rent, wages, marketing, interest and tax. This calculator works out gross margin.

How do I price for a target margin? +

Divide the cost by one minus the margin. To make a 40% margin on an item that costs $30, charge $30 / 0.6, which is $50.

Can a margin be over 100%? +

No. Margin is profit as a share of the price, so it can only approach 100% as cost falls toward zero. Markup has no upper limit.

Embed this profit margin calculator

Free to use on your own site or blog. Paste this code where you want it to show.

Related reading

◆ Newsletter

Ideas worth your inbox.

The best new stories, startups and AI tools every week. No noise, unsubscribe anytime.