AI & Business Tools

Blog › Profit Margin Calculator guide

How to Calculate Profit Margin

Margin is the number that decides whether your business actually makes money or just stays busy. Confusing margin with markup underprices everything you sell. This guide gives you the formula, a worked example, and the calculator — so every price you set from now on is set on purpose.

How to calculate margin

Learning how to calculate margin takes two numbers: the cost and the selling price. Subtract the cost from the selling price to get the profit, then divide the profit by the selling price and multiply by 100. That is the whole method: Margin % = (Price − Cost) ÷ Price × 100. For example, if a product costs you $40 and you sell it for $75, the profit is $35 and the margin is 35 ÷ 75 = 46.7%. The mistake to avoid is dividing by the cost instead of the price — that gives you markup, not margin. If you want the answer without the arithmetic, the Profit Margin Calculator does the same calculation instantly from the same two numbers.

Step by step

  1. Open the Profit Margin Calculator.
  2. Enter the cost (what the product or job costs you, all-in).
  3. Enter the selling price (revenue).
  4. Read your profit amount, your margin percent and your markup percent.
Try it now — free, no sign-up
Open the Profit Margin Calculator tool

How to raise a thin margin

Three levers, in order of pain. First, raise the price — the tool flags anything below 20%, and a small rise moves the margin fast. Second, cut the cost: cheaper materials, less waste, better supplier terms. Third, drop the line: a product at 10% margin that eats your time is worse than no product. Set a minimum margin per product line and check it monthly — costs creep, prices must follow. And remember what the margin must cover: at your volume, margin × sales must clear the fixed costs, which is exactly what the Break-Even Calculator works out.

Tips for better results

Check a margin on your phone

No app needed. Open the Profit Margin Calculator in your phone's browser, enter the cost and the selling price, then read the profit, the margin percent and the markup percent — before you quote the customer.

Profit margin calculator — free, no install, no sign-up

Enter the cost price and the selling price and the calculator shows the profit in dollars, the margin as a percentage of the selling price, and the markup as a percentage of the cost — all three from the same two numbers. It is free, needs no sign-up and no install, and everything is calculated in your browser. Open the Profit Margin Calculator, type the two numbers, and read the answer before you quote the customer.

Test a price rise before you quote the customer

Not sure the price is high enough? Type your cost and your price, then try a higher price and watch the margin move instantly. Cost $40 and price $75 gives a profit of $35 and a margin of 46.7% — a Healthy margin. Raise the price to $80 and the profit becomes $40 with a margin of 50%. The tool labels a margin of 40% or more ‘Healthy margin’, 20% to 39% ‘Okay — room to improve’, and below 20% ‘Low margin — raise price or cut cost’. Remember the results are estimates for planning, not financial advice.

Frequently asked questions

What is the profit margin formula?

Margin % = (Price − Cost) ÷ Price × 100. Example: cost $40, price $75 → profit $35, margin 35 ÷ 75 = 46.7%.

What is a good profit margin?

It varies by industry: many services target 30-50% gross margin, retail often 20-40%, restaurants run thin at 5-15%. Your own costs and volume decide what 'good' must be.

Margin vs markup — which should I use?

Use margin to judge business health (it matches your accounts), markup to set prices from cost. The calculator shows both so you never mix them up.

What is the difference between gross margin and net margin?

Gross margin is profit after direct costs (materials, labour); net margin is profit after everything, including rent, salaries and tax. This calculator gives the margin on whatever costs you enter — enter materials and labour only and it is gross margin; enter all costs and it is close to net margin.

Can margin be over 100%?

No — margin is profit divided by price, so it can never pass 100%. If your number is over 100%, you divided by cost instead — that is markup.

What margin is too low to survive on?

Below 20% the tool flags it — raise the price or cut the cost. Restaurants run thin at 5–15% but survive on volume; a low-volume business cannot.

Is the profit margin calculator free?

Yes. Enter the cost price and the selling price in the Profit Margin Calculator and it shows the profit in dollars, the margin percent and the markup percent instantly. There is no sign-up, no install and no fee, and everything is calculated in your browser.

Does the calculator show markup as well as margin?

Yes. It shows the profit in dollars, the margin as a percentage of the selling price, and the markup as a percentage of the cost, so you never mix the two up.

What do I enter — cost and selling price?

Just two numbers: the cost price and the selling price. The tool works out the profit, the margin percent and the markup percent from those two — nothing else is needed.

How do I calculate margin on a product?

Subtract the cost from the selling price to get the profit, then divide the profit by the selling price and multiply by 100. Example: cost $40, price $75 gives profit $35 and margin 35 divided by 75, which is 46.7%.

How do you calculate margin percentage from cost and price?

Use Margin % = (Price minus Cost) divided by Price times 100. With cost $60 and price $100, the profit is $40 and the margin is 40%.

What is the easiest way to calculate margin?

Enter the cost and the selling price in the Profit Margin Calculator. It shows the profit in dollars, the margin percent and the markup percent instantly, with no sign-up and no install.

How do I test a price rise with the calculator?

Type your cost and the new price — the result updates instantly as you type. For example, cost $40 and price $75 gives a 46.7% margin; raise the price to $80 and the margin becomes 50% with a $40 profit.

What does 'Healthy margin' mean?

It is the calculator’s verdict on your margin: 40% or more is ‘Healthy margin’, 20% to 39% is ‘Okay — room to improve’, and below 20% is ‘Low margin — raise price or cut cost’. Aim for 30% or more; below 20%, raise the price or cut the cost.

Are the calculator's results financial advice?

No — the results are estimates provided for planning purposes only, not financial, tax or legal advice. For important decisions, check the figures with a qualified professional.

Related guides: How US Paycheck Tax Works: Federal, FICA and State — in Plain English · Salary vs Hourly: How to Compare Two Job Offers Properly · How to Calculate Your Break-Even Point