Sub topic 6
Operating expenses: selling, administrative, R&D, and depreciation
This chapter assumes you already know how revenue, cost of goods sold, and gross profit fit together. It also assumes you are comfortable with percentages. Here we cover the costs that sit between gross profit and operating income.
What operating expenses are
Operating expenses (often shortened to opex) are the costs of running the business that are not part of making or buying the goods sold. Cost of goods sold (COGS) covers the direct cost of each unit sold. Operating expenses cover everything else the business needs to function during the period.
The formula is simple:
Operating income = Gross profit − Operating expenses
Operating expenses are usually grouped into a few lines. The names vary by company, but the common ones are:
- Selling expenses.
- General and administrative expenses.
- Research and development (R&D).
- Depreciation and amortization, when shown as its own line.
Many companies combine the first two into one line called selling, general and administrative expenses, or SG&A.
Selling expenses
Selling expenses are the costs of finding customers and delivering the sale. Typical items include:
- Salaries and sales commissions for the sales team.
- Advertising and marketing campaigns.
- Trade show and travel costs.
- Shipping to customers (some companies put this in COGS instead).
Selling expenses tend to move with sales activity. If a company pushes into a new market, this line usually rises before the extra revenue shows up. That timing gap is worth remembering when you compare periods.
General and administrative expenses
General and administrative (G&A) expenses keep the company running but are not tied to one product or sale. Typical items include:
- Salaries of executives, finance, legal, and HR staff.
- Office rent and utilities.
- Insurance, audit fees, and legal fees.
- Office software and supplies.
G&A is mostly fixed in the short run. A fixed cost does not change when sales change. Rent is the same whether you sell 100 units or 10,000. This is why growing companies can improve their operating margin: revenue rises while G&A stays roughly flat.
Research and development
R&D covers the cost of creating new products or improving existing ones. It includes engineers' salaries, lab materials, prototypes, and testing.
Under US GAAP, most R&D is expensed as incurred. That means the cost hits the income statement in the period when the money is spent, even though the benefit may arrive years later. Under IFRS, some development costs can be capitalized (recorded as an asset) once specific criteria are met. This difference matters when you compare a US company with a European one. A company that capitalizes more will show higher current profit than an otherwise identical company that expenses everything.
R&D is a judgment call by management. Cutting it raises profit today and can hurt the product pipeline later.
Depreciation and amortization
Depreciation spreads the cost of a long-lived physical asset, such as a machine or a building, over its useful life. Amortization does the same for intangible assets, such as patents or acquired software.
The reason is the matching idea from accrual accounting. A machine bought for 100,000 that lasts 5 years helps earn revenue in all 5 years. Expensing the full 100,000 in year one would make year one look terrible and years two to five look too good.
With straight-line depreciation, the yearly expense is:
Annual depreciation = (Cost − Salvage value) ÷ Useful life
Salvage value is what you expect the asset to be worth at the end of its life.
cost = 100_000
salvage_value = 10_000
useful_life_years = 5
annual_depreciation = (cost - salvage_value) / useful_life_years
print(f"Annual depreciation: {annual_depreciation:,.0f}")
book_value = cost
for year in range(1, useful_life_years + 1):
book_value -= annual_depreciation
print(f"End of year {year}: book value {book_value:,.0f}")This prints 18,000 of depreciation per year, with book value falling from 100,000 to 10,000.
Depreciation is a non-cash expense. The cash left the company when the asset was bought. In later years the expense reduces profit, but no cash goes out. We return to this in the chapter on how net income links to the cash flow statement.
Where depreciation appears varies. A factory's depreciation may sit inside COGS. Office equipment depreciation usually sits in operating expenses. Some companies show it as a separate line. Check the notes to the financial statements to see where it went.
Putting it together
The next example extends the income statement from earlier chapters and splits the operating expenses into their parts.
gross_profit = 400_000
operating_expenses = {
"Selling": 90_000,
"General and administrative": 80_000,
"Research and development": 50_000,
"Depreciation": 30_000,
}
total_opex = sum(operating_expenses.values())
operating_income = gross_profit - total_opex
for name, amount in operating_expenses.items():
print(f"{name:<28}{amount:>10,.0f}")
print(f"{'Total operating expenses':<28}{total_opex:>10,.0f}")
print(f"{'Operating income':<28}{operating_income:>10,.0f}")The total is 250,000 and operating income is 150,000, which matches the running example in this tutorial.
Analyzing operating expenses
Raw amounts say little by themselves. Express each line as a percent of revenue, which is the common-size approach.
revenue = 1_000_000
opex = {"Selling": 90_000, "G&A": 80_000, "R&D": 50_000, "Depreciation": 30_000}
for name, amount in opex.items():
print(f"{name:<14}{amount / revenue:>6.1%} of revenue")Selling is 9.0%, G&A is 8.0%, R&D is 5.0%, and depreciation is 3.0%. Compare these against the prior year and against competitors.
| Pattern | Possible reading |
|---|---|
| Selling rises faster than revenue | The company is paying more to win each sale |
| G&A falls as a share of revenue | Growth is spreading fixed costs, or costs are being cut |
| R&D drops sharply | Short-term profit may be rising at the expense of future products |
| Depreciation jumps | Large recent asset purchases or an acquisition |
Common errors
- Mixing up COGS and operating expenses. Gross margin and operating margin both change when a company moves a cost from one group to the other. Compare companies only after checking their classification policies.
- Treating depreciation as a cash cost. It is not. It reduces profit but not cash in the period.
- Reading a falling expense as pure good news. A cut in R&D or marketing may help this year and hurt later years.
- Ignoring capitalization choices. A cost that is capitalized leaves the income statement now and returns later as depreciation or amortization.
Exercise
A company has revenue of 2,000,000 and gross profit of 800,000. Its selling expenses are 220,000, G&A is 160,000, R&D is 120,000, and depreciation is 60,000. Calculate total operating expenses, operating income, and operating margin. Then say what happens to operating income if the company extends the useful life of its equipment so that depreciation falls to 40,000.
Show answer
Total operating expenses are 220,000 + 160,000 + 120,000 + 60,000 = 560,000. Operating income is 800,000 − 560,000 = 240,000. Operating margin is 240,000 ÷ 2,000,000 = 12.0%. With depreciation at 40,000, total operating expenses are 540,000 and operating income is 260,000, a margin of 13.0%. Profit rose by 20,000 only because of an accounting estimate, and cash flow did not change.
Exercise
Why is depreciation called a non-cash expense, and why does the income statement still include it?
Show answer
The cash for the asset was paid when it was bought, so no cash leaves the company in the years when depreciation is recorded. The income statement includes it because accrual accounting matches the cost of the asset to the periods in which it helps earn revenue.
Exercise
Company A expenses all its development costs. Company B capitalizes part of its development costs under IFRS. Both spend 10 million on development this year and are otherwise identical. Which shows higher operating income this year, and why might that comparison mislead?
Show answer
Company B shows higher operating income this year, because the capitalized part is recorded as an asset instead of an expense. The comparison misleads because Company B will record amortization of that asset in later years, so its profit will be lower then. The two companies have the same economics but different reported timing.