Skip to the page

Free tool · Margin and markup

Profit margin calculator: the margin, the markup and the price.

Type what something costs you and what you sell it for, and see the gross profit, the margin on the price and the markup on the cost. Or start from the margin you want and get the price.

Start from

What one item or job costs you

Before sales tax or VAT

Margin

40.00%

Gross profit
40.00
Markup
66.67%

Keep your real costs, sales and assets in one set of books. Try Nightaudit free

How the margin is worked out

  1. Take the profit

    Selling price minus cost. On a price of 100 and a cost of 60, the gross profit is 40.

  2. Divide it by the price

    40 divided by 100 is 0.40, a margin of 40%. A margin is always measured on the price.

  3. Or divide it by the cost

    40 divided by 60 is a markup of 66.67%. A markup is the same profit measured on the cost.

What profit margin is, and why it matters more than sales.

Profit margin is the share of each sale you keep as profit. Two businesses with the same sales can have very different margins, and it is the margin that pays the bills.

What profit margin means

A margin is profit written as a percentage of the selling price. A margin of 40% means that of every 100 taken, 40 is profit and 60 paid for what was sold.

It is measured at three levels. Gross margin is what is left after the direct cost of what was sold. Operating margin is what is left after the running costs as well. Net margin is what is left after everything, interest and tax included.

How it is normally calculated

Subtract the cost from the price to get the gross profit, then divide it by the price. For a whole business the same sum runs on the totals in the profit and loss report: gross profit divided by sales.

Margin % = (Price - Cost) / Price × 100

Why it matters

The margin shows whether prices cover costs with enough left over. A business growing its sales on a thin margin can run short of cash, while a small one with a healthy margin can do well.

Watched over time, it warns early. A margin that slips month after month usually means costs have gone up and prices have not.

Who looks at it

Owners use it to set prices and to decide what to sell more of. Lenders and investors compare it with other businesses in the same trade.

What counts as a good margin differs a great deal from one trade to another: a supermarket works on a thin margin and a software business on a wide one. Compare yours with businesses like yours.

Margin and markup are the same profit, measured two ways.

Mixing the two up is the most common pricing mistake: a 50% markup is only a 33.33% margin.

  • Gross margin

    The price minus the direct cost of what was sold, as a share of the price. It is what is left to pay the rent, the wages and everything else.

  • Net margin

    What is left after every cost, divided by the sales. This calculator gives the margin on one item or job. A net margin comes from the profit and loss of the whole business.

  • From a margin to a price

    To earn a 40% margin on a cost of 60, divide the cost by 1 minus 0.40: 60 divided by 0.60 is a price of 100.

  • Why a margin never reaches 100%

    A margin is a share of the price. It would only be 100% if the item cost nothing at all.

Questions about margins, answered plainly.

What is the difference between margin and markup?

Both are the profit on a sale. The margin divides it by the price, the markup by the cost. On a cost of 60 and a price of 100, the margin is 40% and the markup is 66.67%.

How do I work out a selling price from a margin?

Divide the cost by 1 minus the margin. For a 40% margin on a cost of 60, 60 divided by 0.60 is a price of 100.

What is a good profit margin?

One that pays for everything else. If rent, wages and the other overheads come to 30% of sales, a gross margin under 30% loses money. Compare your margin with your own past months rather than with a single number.

Should the price include sales tax or VAT?

No. Use the price before tax, because the tax is collected for the tax office and is not income of the business.

See your margins in your own books. Thirty days, everything switched on.

Sign up with your email address, confirm it, and your company is ready with a chart of accounts for your kind of business.

  • No card needed to start
  • Bring over your customers, suppliers and opening balances from Excel
  • If you stop, your books stay readable and nothing is deleted
  • Stop whenever you like, from your own subscription page