get freecalculator.Find a calculator/

BUSINESS / FREE & SIMPLE

Profit margin calculator.

Find gross profit and gross margin from revenue and the associated cost. Margin expresses profit as a share of revenue. Use costs and revenue for the same item, order or accounting period so the percentage answers a consistent question.

Get Free Calculator editorial teamPublished November 19, 2026Formula-based estimate

LET’S WORK IT OUT

YOUR RESULTCALCULATED IN YOUR BROWSER

Your answer starts here.

Check the example values, or enter your own and choose Calculate.

An estimate for information only, not financial, accounting or tax advice. Rates, fees, taxes and local rules vary.

BEHIND THE ANSWER

How the calculation works

gross profit = revenue − cost; gross margin = gross profit ÷ revenue × 100

Gross margin does not subtract all operating expenses. Rent, salaries, interest and tax may still need to be paid. A high gross margin therefore does not necessarily mean a high net profit.

A worked example

FOLLOW THE NUMBERS

Revenue of 1,500 less cost of 900 gives 600 gross profit. The gross margin is 600/1,500 × 100 = 40%.

Using the calculator

  1. Enter revenue, cost of goods sold. Use the units shown beside each label.
  2. Choose Calculate to see the result and the substituted steps. Correct any highlighted input error before relying on an answer.
  3. Read the assumptions below. You can change one input at a time to see how sensitive the result is to that assumption.

Keep the business inputs comparable

Input choiceUse this basisAvoid mixing
CurrencyOne consistent currencyConverted and unconverted prices
Time periodThe same week, month or yearMonthly costs with annual revenue
Tax basisConsistently inclusive or exclusiveTax collected with business earnings
Cost definitionA stated, repeatable set of costsGross and net measures without labels

Write down the period and the cost definition beside the answer. This makes a planning number reproducible when you return to it later or discuss it with a colleague. A percentage without a denominator, an amount without a currency or a break-even quantity without a time period can be misunderstood even when the arithmetic is correct.

This model treats the entered amounts as stable. In practice, volume discounts, refunds, spoilage, card fees, exchange rates and changes in capacity can alter the result. Use the calculator to understand a simple case first, then keep the extra assumptions visible in a more complete business forecast.

Why your result may differ

Margin divides by revenue; markup divides by cost. The same transaction can have a 40% margin and a 66.67% markup.

The result reflects the values you enter, rather than a measurement of your circumstances. Check input precision and units before comparing it with a different calculator. A source that uses another definition, reference period or rounding convention may legitimately report a different number. The steps shown above help you identify where the two methods diverge.

Questions, answered.

Can margin be negative?

Yes. If cost exceeds revenue, the transaction has a gross loss.

Is this net margin?

Only if the cost input includes all expenses you intend to subtract. The standard use here is gross margin with cost of goods sold.

Should sales tax be in revenue?

Normally exclude tax collected on behalf of a government, and keep both inputs on a comparable tax basis.

Are my inputs uploaded or saved?

No. The profit margin calculator runs in your browser. Field values are not sent to a calculation API or saved by the site. Avoid placing sensitive data in search terms or messages.

How should I round the result?

Keep full precision while calculating and round only the final value to a level appropriate for your task. Display rounding does not turn an estimate into an exact measurement. Use the formula and assumptions above when checking an answer.

Sources & editorial notes

The references below explain the underlying definitions or subject background. Linking to a source does not imply endorsement or independent validation of this implementation.

Prepared by the Get Free Calculator editorial team. Published November 19, 2026. If an example, formula or assumption needs correction, tell us which input you used and what you expected. Please avoid sending private financial or health information.

YOUR PRIVACY

Simple by design.

Calculations stay in your browser. We use Google Analytics to understand site usage. Google Analytics may set analytics cookies and process device and page-view information. Advertising features are disabled in our Analytics tag configuration. Google AdSense also loads and may use cookies and process device and browsing information to serve and measure ads.

Contact submissions are sent to Netlify Forms when you choose to send them. Hosting providers may process security and access logs. You can block analytics with browser controls or the Google Analytics opt-out add-on. This dialog does not change cookie settings.

Read our privacy policy