Skip to content

Operating margin calculator

Operating margin is a profitability metric, calculated as Operating income ÷ Revenue.
Formula
Operating income ÷ Revenue
Operating marginOperating margin = Operating income ÷ Revenue
$

A loss is a negative number.

$

Operating margin

15.0%

How it’s worked out

  1. 1Operating income ÷ revenue$900,000 ÷ $6,000,00015.0%

Runs in your browser; nothing you type is sent anywhere. Amounts in US dollars.

Worked on a real month of books

Northwind Traders, Inc., September 2026 (accrual basis, USD), the month the free course is taught on. Every figure is read off the course's posted ledger, not typed.

  1. 1Operating income$14,500 − $11,950$2,550
  2. 2Operating margin$2,550 ÷ $31,5008.1%

See the statements these come from in the course.

How to read it

Operating margin is the share of revenue left after every operating cost — the profitability of the business itself, before financing and tax.

For startups it is usually negative by design; its trend shows whether scale is improving the economics.

Common mistakes

  • Including interest or tax, which belong below operating income.
  • Comparing operating margins across companies that classify costs differently.

Questions

How is operating margin different from gross margin?
Gross margin deducts only cost of revenue. Operating margin also deducts sales, marketing, R&D and G&A.
Can operating margin be negative?
Yes — when operating expenses exceed gross profit, operating income and the margin are negative.

Read it with

The metrics read alongside this one, and the terms it is confused with.

The formula is the one the glossary states, and the arithmetic is unit-tested. A ratio with nothing to divide by shows a dash — undefined is not zero. General information, not financial advice.

Works in your QuickBooks Online or Xero file

Get your books closed every month

Lopifi is building AI bookkeeping that keeps your books closed on US GAAP as transactions happen, with a CPA review every quarter, for $200 a month. We’re not open yet.

$200/month when we open. No card now.