Free US loan & finance calculators · No sign-up · Runs in your browserHow we check our maths

Profit Margin Calculator

Profit margin shows how much of each dollar of revenue your business keeps. Gross margin subtracts the direct cost of what you sell. Operating margin also subtracts overhead, such as rent, salaries and marketing. Enter the figures for a period to see both.

These results are estimates for education only. They are not a loan offer, a rate quote or financial advice. Your lender's figures can differ because of fees, rounding and state rules. The example rates and values are illustrative. Last updated: November 21, 2026.

How the calculation works

Gross profit = revenue − cost of goods sold. Gross margin = gross profit ÷ revenue × 100. Operating profit = gross profit − operating expenses. Operating margin = operating profit ÷ revenue × 100.

Frequently asked questions

What is a good profit margin?

It depends heavily on the industry. Software and some services often have high gross margins, while grocery and retail margins are usually much lower. Compare with businesses like yours.

Which costs belong in cost of goods sold?

Direct costs of producing or buying what you sell, such as materials, product purchases and direct labor. Rent, marketing and administrative salaries are operating expenses.

Should I include owner pay?

Be consistent. If you pay yourself a salary, treat it as an operating expense so the margin reflects the real cost of running the business.

Read next

Related calculators