Skip to main content
Business Finance

Operating Expenses (OpEx): Definition, Examples and Formula

Learn what operating expenses are, see common OpEx examples, use the formula with a worked example, and avoid the classification mistakes that distort profit.

By Invoice Creator Editorial Team 8 min read

Quick answer: Operating expenses (OpEx) are the costs of running a business day to day that are not part of the direct cost of the goods or services sold, such as rent, salaries, software, marketing and insurance. The basic formula is: operating expenses = revenue − cost of goods sold − operating profit.

Every business has a set of costs that keep the lights on whether it sells one unit or a thousand. Knowing exactly what those costs are, and how they compare with revenue, is one of the fastest ways to understand whether a business can grow profitably. This guide defines OpEx in plain language, lists common examples by category, shows two ways to calculate the total with a worked example, and explains the classification mistakes that make profit look better or worse than it really is.

A quick note on scope: our free invoice generator creates PDF invoices in your browser. It does not track spending or produce financial reports, so for the calculations below you will use your bookkeeping software or a spreadsheet.

What are operating expenses?

Operating expenses are the ongoing costs a business incurs to carry out its normal activities, other than the direct cost of producing what it sells. Accountants often call them overhead, indirect costs, or selling, general and administrative expenses (SG&A).

Three ideas define the category:

  • They support operations. Rent, admin salaries and marketing exist to run and grow the business, not to build a specific product.
  • They are used up within the period. A month of rent or a year of software is consumed and expensed in that period, unlike equipment that lasts for years.
  • They sit below gross profit. On a multi-step profit and loss statement, OpEx is subtracted from gross profit to arrive at operating profit.

That last point matters. Revenue minus cost of goods sold gives gross profit, which shows how profitable each sale is. Subtracting operating costs from gross profit shows whether the business as a whole earns enough to cover its overhead.

Operating expenses examples by category

The categories below are typical for a small business. Your chart of accounts may group them differently, and that is fine as long as you use the same groups every month.

CategoryTypical examplesUsually fixed or variable?
PremisesRent, lease payments, utilities, cleaning, repairs and maintenanceMostly fixed
PeopleSalaries for admin, sales and management staff, payroll taxes, benefits, training, recruitingMostly fixed
Sales and marketingAdvertising, website, sales commissions, trade shows, promotional materialsMixed
TechnologySoftware subscriptions, hosting, phones, internet, IT supportMostly fixed
Professional servicesAccounting, bookkeeping, legal fees, consultantsMixed
InsuranceGeneral liability, professional indemnity, property, cyberFixed
AdministrativeOffice supplies, postage, bank fees, payment processing fees, licensesMixed
TravelBusiness travel, mileage, lodgingVariable
Non-cashDepreciation and amortization on operating assetsFixed

The fixed-or-variable column is a simplification; the split between the two is explained in our guide to fixed vs variable costs. It is worth knowing because fixed overhead is what drives your break-even point.

What is not an operating expense

  • Cost of goods sold: inventory, raw materials, direct production labor and freight in.
  • Capital expenditures: buying equipment, vehicles, buildings or major improvements. These go on the balance sheet. See CapEx vs OpEx for where the line falls.
  • Interest expense: the cost of borrowing is a financing cost shown below operating profit.
  • Income tax: shown at the bottom of the income statement, or paid personally by owners of pass-through businesses.
  • Loan principal repayments and owner draws: these move cash but are not expenses at all.
  • Sales tax or VAT collected: money held for the government is a liability, not income or expense.

The operating expense formula

There are two common ways to get the total. Use whichever matches the data you have.

Method 1: add up the categories

OpEx = rent + salaries + utilities + insurance + marketing + software + professional fees + depreciation + other overhead

This bottom-up approach is what your bookkeeping software does when it totals every expense account classed as overhead.

Method 2: work back from the income statement

OpEx = revenue − cost of goods sold − operating profit

This is useful when you are reading someone else's financial statements and only the subtotals are shown.

Related ratios

  • Operating expense ratio = total OpEx ÷ revenue. It shows how much of each sales dollar goes to overhead.
  • Operating margin = operating profit ÷ revenue. It shows how much of each sales dollar is left after both direct costs and overhead.

Worked example: calculating OpEx for one quarter

Here is an illustrative example for a fictional online homeware shop. The numbers are invented to show the arithmetic and are not benchmarks.

LineAmount
Revenue$90,000
Cost of goods sold($40,500)
Gross profit$49,500
Warehouse rent($7,500)
Staff wages and payroll taxes($18,000)
Advertising($6,300)
Software and hosting($1,350)
Payment processing fees($2,250)
Insurance($900)
Accounting fees($1,200)
Depreciation on equipment($750)
Total operating expenses($38,250)
Operating profit$11,250

The arithmetic:

  • Gross profit: $90,000 − $40,500 = $49,500 (a 55% gross margin, since $49,500 ÷ $90,000 = 0.55).
  • Method 1 total: $7,500 + $18,000 + $6,300 + $1,350 + $2,250 + $900 + $1,200 + $750 = $38,250.
  • Operating profit: $49,500 − $38,250 = $11,250.
  • Method 2 check: $90,000 − $40,500 − $11,250 = $38,250. Both methods agree.
  • Operating expense ratio: $38,250 ÷ $90,000 = 42.5%.
  • Operating margin: $11,250 ÷ $90,000 = 12.5%.

What the owner learns: wages are the largest overhead line at 20% of revenue ($18,000 ÷ $90,000), and advertising is 7%. If the shop wants a higher operating margin, it can either grow revenue faster than overhead or trim specific lines. Cutting advertising by a third would save $2,100 a quarter, but only makes sense if it does not cost more than $2,100 in lost gross profit. Measuring that trade-off is what the ROI formula is for.

Why tracking OpEx matters

  • Break-even planning. Fixed overhead divided by contribution margin per unit tells you how many sales you need before you make a profit.
  • Pricing. Prices must cover direct costs and a fair share of overhead, or each sale quietly loses money.
  • Budgeting. Overhead is the most predictable part of spending, which makes it the backbone of a small business budget.
  • Cash planning. Rent, payroll and subscriptions are due whether or not customers have paid their invoices. Getting invoices out promptly, with clear payment terms, shortens the gap between paying overhead and collecting cash.
  • Tax. In the US, ordinary and necessary business costs are generally deductible. The IRS lists the expense lines a sole proprietor reports in the Instructions for Schedule C, which is a handy reference for categories even if you are not a sole proprietor.

How to track and review your overhead: a checklist

  • Set up separate expense accounts for each major overhead category, distinct from cost of goods sold.
  • Use a dedicated business bank account and card so every cost has a record.
  • Keep receipts and supplier invoices, and file them by month. Our guide on how to track business expenses covers simple systems.
  • Categorize transactions weekly rather than at year end.
  • Reconcile bank and card statements every month.
  • Record depreciation monthly or quarterly so profit is not overstated until year end.
  • Calculate total overhead, the operating expense ratio and operating margin each month.
  • Compare each line with last month and the same month last year; investigate any big change.
  • List every recurring subscription with an owner and renewal date.
  • Review contracts (rent, insurance, software, phone) at least once a year before renewal.

How to reduce operating costs without hurting growth

Lowering overhead is not always the right goal; some spending, such as marketing that brings in profitable customers, pays for itself. A sensible review looks like this:

  1. Rank lines by size. Focus on the three or four biggest categories first. Trimming a $30 tool saves less than renegotiating a lease.
  2. Separate essential from discretionary. Insurance and rent are hard to avoid; unused software seats and duplicate tools are not.
  3. Measure return where you can. Track the gross profit each marketing channel produces before cutting it.
  4. Convert fixed to variable. Contractors, usage-based software and shared workspace can lower risk when sales are uneven.
  5. Automate low-value admin. Templates, standard documents and consistent invoice numbering reduce time spent on paperwork. A ready-made invoice template is one small example.

Common mistakes with operating expenses

  • Mixing COGS and overhead. Putting inventory purchases in operating expenses, or rent in COGS, distorts both gross margin and operating margin.
  • Expensing capital purchases. Recording a $6,000 machine as an office expense makes one month look terrible and later months look too good. Capitalize it and depreciate it; our guide on how to calculate depreciation shows the methods.
  • Treating owner draws as expenses. For a sole proprietor, money taken out is a draw from equity, not an operating cost.
  • Including loan principal. Only the interest portion of a loan payment is an expense, and it sits below operating profit.
  • Counting sales tax collected as income and remittances as expenses. It inflates both lines and can be misreported.
  • Ignoring annual costs. Insurance or software paid once a year should be spread across the months it covers if you produce monthly statements.
  • Changing categories often. Moving costs between accounts breaks month-to-month comparisons.
  • Cutting blindly. Slashing marketing or customer service can lower overhead and revenue at the same time.

OpEx, profit and the bigger picture

Operating costs are one layer in the profit picture. Revenue minus COGS gives gross profit; gross profit minus overhead gives operating profit; and operating profit after interest and tax gives net profit. Our explainer on gross profit vs net profit walks through each layer. If you are self-employed, also review the list of self-employed tax deductions so legitimate business costs are not missed at tax time.

Keep operating expenses grouped consistently, review them monthly against revenue, and treat every cut as a trade-off with growth rather than a goal in itself. Done that way, overhead becomes a tool for planning instead of a surprise at year end.

Frequently asked questions

What are operating expenses in simple terms?

Operating expenses are the everyday costs of running a business that are not tied directly to making the specific products or services you sell. Rent, salaries for office and sales staff, software subscriptions, marketing, insurance, utilities and accounting fees are typical examples. They appear on the profit and loss statement below gross profit, and subtracting them from gross profit gives you operating profit, also called operating income.

Is cost of goods sold an operating expense?

Usually not. On a multi-step income statement, cost of goods sold is shown separately, directly under revenue, because it covers the direct cost of the items sold: materials, inventory purchases, direct labor and freight in. Operating expenses come after gross profit and cover overhead. Some single-step statements lump all costs together, but separating the two is what lets you see gross margin and control overhead.

Is payroll an operating expense?

Wages, payroll taxes and benefits for staff who run the business, such as administration, sales, marketing and management, are operating expenses. Wages for workers who directly produce goods are often counted in cost of goods sold instead. A service business may treat billable staff costs as cost of sales or as operating expenses; the important thing is to pick one treatment and use it consistently every period.

Is depreciation an operating expense?

Yes, depreciation on assets used to run the business, such as office equipment, computers and vehicles, is generally reported as an operating expense. It is a non-cash expense: the cash left when you bought the asset, and depreciation spreads that cost over the asset's useful life. Depreciation on production machinery may be included in cost of goods sold by manufacturers.

What is the difference between OpEx and CapEx?

Operating expenses are short-term costs used up within the period, like rent or a software subscription, and they reduce profit in full when incurred. Capital expenditures buy or improve long-term assets such as equipment, vehicles or buildings. CapEx is recorded on the balance sheet and expensed gradually through depreciation. Tax rules may let you deduct some capital purchases sooner, so check with a tax professional.

Are taxes and interest operating expenses?

Income tax and interest on loans are normally not operating expenses. They appear below operating profit, because they relate to how the business is financed and taxed rather than how it operates. Other taxes, such as business license fees, property taxes on business premises and the employer share of payroll taxes, are usually treated as operating expenses because they are a cost of running the business.

What is the operating expense ratio?

The operating expense ratio divides total operating expenses by revenue for the same period. If a business spends $30,000 on overhead and earns $120,000 in revenue, its ratio is 25%. A falling ratio means overhead is growing more slowly than sales. Compare the ratio with your own past periods and with benchmarks from your trade association rather than with a generic target.

Are operating expenses tax deductible?

In the US, ordinary and necessary business expenses are generally deductible, and most operating costs fall into that group. There are limits and exceptions, for example on business meals, home office costs and personal use of vehicles. Sole proprietors report these costs on Schedule C. Rules differ in other countries, so confirm the treatment with your tax authority or an accountant.

How can a small business reduce operating expenses?

Start with a line-by-line review of the last three to six months of spending. Cancel unused software seats, renegotiate insurance and supplier contracts, compare utility plans and question recurring charges nobody owns. Shift fixed costs to variable ones where it makes sense, such as using contractors for seasonal work. Cut carefully: reducing marketing or customer support can lower costs while also shrinking revenue.

IC

Invoice Creator Editorial Team

Guides on invoicing, cash flow and small-business finance from Invoice Creator, operated by Next Software Development Company. Content is reviewed for accuracy against the fields our own invoice generator produces.

Try the invoice generator

Related reading