Profit Margin Calculator United States
This profit margin calculator finds gross, operating and net margin from revenue, COGS and expenses, with profit in dollars and percent, plus markup.

What it does
The Profit Margin Calculator turns revenue, cost of goods sold and operating expenses into gross, operating and net profit, each shown as a dollar figure and as a margin.
Data sources & parameters
This calculator uses standard financial formulas and runs entirely in your browser. It needs no external rate data — your result is computed only from the values you enter above.
We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.
The formula
Gross profit = revenue - COGS; operating profit = gross profit - operating expenses; net profit = operating profit - other expenses; margin = profit / revenue x 100
How it works
It subtracts COGS from revenue for gross profit, subtracts operating expenses for operating profit, then subtracts other expenses for net profit, and divides each by revenue to find the margin.
Where it is used
- Measuring gross, operating and net profitability
- Comparing margins across periods or competitors
- Setting prices and controlling costs
Worked example
On $500,000.00 revenue with $300,000.00 COGS, gross profit is … (a … gross margin) and net profit … at a … net margin.
What the profit margin calculator does
Enter your revenue, cost of goods sold, operating expenses and, optionally, other expenses such as interest, taxes and unusual items. The calculator returns gross profit, operating profit and net profit, each as a dollar amount and as a margin (profit as a percentage of revenue). It also reports your markup on cost.
Two companies with identical sales can end up with very different profits once costs are counted. Breaking revenue down one cost layer at a time shows where the money is made and where it goes.
Gross, operating and net profit
- Gross profit is revenue minus the cost of goods sold: what you keep after paying the direct cost of what you sell, before any overhead. Gross margin tells you whether your product is priced well against its direct cost.
- Operating profit is gross profit minus operating expenses such as rent, utilities, marketing and administrative salaries. Operating margin shows how efficiently the business as a whole runs.
- Net profit subtracts everything that remains, including interest, taxes and other one-off items. Net margin is what the owners keep after every obligation is met.
Margin versus markup
Margin and markup describe the same profit from two different bases, and mixing them up is a common pricing mistake. Margin is profit divided by the selling price. Markup is profit divided by the cost. Because the selling price is larger than the cost, the margin percentage is always smaller than the markup percentage for the same sale.
Buy an item for one hundred dollars and sell it for one hundred and fifty, and you make fifty dollars of gross profit. That is a fifty percent markup on the hundred-dollar cost, but only a thirty-three percent margin on the hundred-and-fifty-dollar price. The calculator shows both, so you can quote whichever your industry uses without underpricing by accident.
How the calculation works
- Gross profit equals revenue minus cost of goods sold.
- Operating profit equals gross profit minus operating expenses.
- Net profit equals operating profit minus other expenses such as interest and tax.
- Each margin equals the relevant profit divided by revenue, multiplied by one hundred.
- Markup equals gross profit divided by cost of goods sold, multiplied by one hundred.
These are accounting definitions, not tax rules, so they hold in any currency and for any business, from a freelancer to a manufacturer.
Take the figures from your income statement or bookkeeping for one period, and use costs for the same period as the revenue. Classify each cost the same way every period. Putting overhead into cost of goods sold, or the reverse, distorts the gross and operating margins even though the net margin stays the same.
Reading your results
The trend of each margin over several periods tells you more than a single snapshot. A slipping gross margin points to rising input costs or discounting. A healthy gross margin with a thin net margin points to heavy overhead or financing costs.
Margins remove the effect of size, so a small shop and a large chain can be compared on margin even though their revenue differs by orders of magnitude. Rerun the numbers each month or quarter to catch cost creep early, and before a price change to see its effect on profit. A break-even analysis shows how much you need to sell, and a markup review checks that your prices support the margins you want.
This is general information only and not financial advice.
About This Profit Margin Calculator
Use this profit margin calculator to get an instant estimate based on the figures you enter. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.
