Free calculator · No signup

Profit Margin Calculator

Enter your revenue and your costs for one period. See your gross, operating and net profit margin, and how much of every dollar of sales you keep.

Your numbers

Total sales for one period, such as a month or a year. Use the same period for every field.

$

Costs that rise with each sale: materials, stock, packaging, shipping, payment fees, delivery labor.

$

Costs you pay whatever you sell: rent, salaries, software, marketing, insurance.

$

Loan interest and tax on profit. Enter 0 if you do not know yet.

$

Your margins

Net profit margin

10%

You keep $0.10 of every $1 of sales after all costs.

Gross profit
$12,000
Gross profit margin
60%
Operating profit
$3,000
Operating profit margin
15%
Net profit
$2,000

How to use the profit margin calculator

Pick one period, such as last month or your first planned year, and use it for every field. If you have not launched yet, enter the figures from your plan to see whether the business works on paper.

  1. Revenue: everything customers paid you in the period, before any costs. Leave out sales tax you collect for the government.
  2. Cost of goods sold: costs that go up with every sale, such as materials, stock, packaging, shipping, payment fees and the labor that delivers the product or service.
  3. Operating expenses: costs you pay whatever you sell, such as rent, salaries, software, marketing and insurance. These are your overheads.
  4. Interest and taxes: loan interest and tax on profit. Enter 0 if you do not know them yet. Your net margin will then equal your operating margin.

The result updates as you type. The headline figure is your net profit margin. Below it you see gross profit, operating profit and net profit in dollars, and the gross and operating margins as percentages.

The profit margin formulas

Formulas

Gross profit margin = (revenue - cost of goods sold) / revenue x 100. Operating profit margin = (revenue - cost of goods sold - operating expenses) / revenue x 100. Net profit margin = (revenue - cost of goods sold - operating expenses - interest and taxes) / revenue x 100.

All three divide a profit figure by the same revenue. What changes is how many costs you take off first. Gross margin is a measure of the product: does a sale bring in more than it costs to deliver? Operating margin adds the cost of running the company. Net margin is what is left for you after everyone else has been paid.

A worked example

Say you run a small online candle shop. In one month you sell $20,000 of candles. Wax, jars, boxes and shipping cost $8,000. Your studio rent, software, ads and part-time help cost $9,000. Loan interest and tax come to $1,000.

StepCalculationResult
Gross profit$20,000 - $8,000$12,000
Gross profit margin$12,000 / $20,000 x 10060%
Operating profit$12,000 - $9,000$3,000
Operating profit margin$3,000 / $20,000 x 10015%
Net profit$3,000 - $1,000$2,000
Net profit margin$2,000 / $20,000 x 10010%

These are example numbers, not typical figures for a candle business.

A net margin of 10% means you keep $0.10 of every $1 of sales. Notice where the money goes: each sale is healthy at 60%, but overheads take 45 of those 60 points. In this example the place to look is overheads, not the price of wax.

How to read your result and improve it

Read the three margins from the top down. The first one that looks wrong tells you where the problem is.

  • Gross margin is negative or thin. The price is too low or the direct cost is too high. Selling more will not help. Test a higher price with real customers, find a lower-cost supplier, or change what is included. The markup calculator shows the price you need for a target margin.
  • Gross margin is fine but operating margin is negative. Each sale makes money, but not enough sales are coming in to cover overheads. Use the break-even calculator to see how many sales you need, and cut overheads that do not bring in customers.
  • Operating margin is fine but net margin is low. Debt or tax is taking the rest. Talk to an accountant, because tax rules differ by country and by business structure.
  • All three are positive. Compare them with businesses of your own type, not with a general average. A grocery shop and a software company can both be healthy with very different margins.

If you are still at the idea stage, margin is one of the lowest-cost things to check before you spend money. Ask people what they pay today for the problem you solve, get real quotes for your direct costs, and run the numbers here. That is part of how you validate a startup idea. The margins you work out then go into the financial chapter of your business plan, and they feed your wider unit economics.

What the calculator leaves out

  • Cash timing. Profit is not cash. You can show a profit and still run out of money if customers pay late or you buy stock months ahead. Check your cash flow separately.
  • Your own pay. If you do not pay yourself, your margin looks better than it is. Add a fair wage for your time to operating expenses for a truer picture.
  • Depreciation and one-off items. Accountants spread the cost of equipment over several years and separate unusual gains or losses. This calculator treats everything you enter as a cost of the period.
  • Tax calculation. It does not work out tax for you. You enter the amount, and the right figure depends on where you are and how the business is set up.
  • Change over time. It is one period. Margins often shift as you grow, so run it again each month or quarter.

Frequently asked questions

What is a good profit margin?

It depends on the type of business. Businesses that resell physical goods usually run on thinner margins than software or consulting, because more of each sale goes to the cost of the goods. The useful comparisons are with similar businesses and with your own margin last period. A margin that is positive and rising is a better sign than one that hits a general target.

What is the difference between gross margin and net margin?

Gross margin takes off only the direct cost of what you sold. Net margin takes off every cost, including overheads, interest and taxes. A business can have a high gross margin and a negative net margin if its overheads are too large for its sales.

Is profit margin the same as markup?

No. Both use the same profit in dollars, but margin divides it by the selling price and markup divides it by the cost. If something costs you $20 and you sell it for $32, the profit is $12. The margin is 37.5% and the markup is 60%.

Can profit margin be more than 100%?

No. Margin is profit as a share of revenue, and profit cannot be larger than revenue unless your costs are negative. It can be negative, with no lower limit, when costs are higher than revenue.

Can I use this before I have any sales?

Yes. Enter the revenue and costs from your plan. The result is only as good as your estimates, so base the price on what customers told you they would pay and the costs on real quotes. Then test how the margin changes if sales come in lower than you hope.

Is this calculator free?

Yes. It runs in your browser, needs no signup and does not store your numbers.

Related tools and guides

Add this calculator to your website

Free to use on any site. Paste this code where you want the calculator to appear, and keep the credit link.

<iframe src="https://fonda.co/embed/profit-margin-calculator" title="Profit Margin Calculator" width="100%" height="720" style="border:0;max-width:960px" loading="lazy"></iframe>
<p style="font-size:13px"><a href="https://fonda.co/tools/profit-margin-calculator">Profit Margin Calculator</a> by Fonda</p>