Get 80% off your plan for your first 3 months*

Capex vs opex: what they mean and why the difference matters

Learn the difference between capex and opex, how each is taxed, and when to prioritize one over the other.

November 2023 | Published by Xero

Published Monday 15 June 2026

Table of contents

Key takeaways

  • Capex (capital expenditure) is money you spend on long-term assets like equipment or property, while opex (operating expenditure) covers the day-to-day costs of running your business like rent, wages, and utilities.
  • The tax treatment differs significantly: you can deduct opex in full the year you spend it, but capex must be depreciated over time unless you qualify for Section 179 or bonus depreciation.
  • The distinction matters for budgeting and cash flow, because capex ties up capital in assets while opex keeps spending flexible and predictable.
  • Most small businesses need a mix of both; the right balance depends on your growth stage, cash flow, and tax planning goals.

What is capex?

Capex is short for capital expenditure. It refers to money your business spends on assets that will provide value for more than 1 year, such as equipment, vehicles, property, or technology infrastructure.

When you make a capex purchase, you're investing in something designed to generate returns over time. A bakery buying a commercial oven, a landscaper purchasing a truck, or a retailer opening a second location are all examples of capex. These purchases don't show up as expenses on your income statement right away.

Instead, capex is recorded as an asset on your balance sheet and gradually expensed through depreciation over the asset's useful life. That means a $30,000 delivery van won't hit your profit and loss report as a single $30,000 expense. It'll be spread across several years.

Capex generally falls into 2 categories:

  • Maintenance capex: spending to keep your current operations running, like replacing a broken refrigerator or upgrading an aging computer system
  • Growth capex: spending to expand or improve the business, like buying additional equipment, opening a new location, or investing in a major software platform

What is opex?

Opex is short for operating expenditure. It covers the recurring, day-to-day costs of running your business. Rent, wages, utilities, insurance, marketing, and office supplies are all examples of opex.

Unlike capex, opex is fully deducted from your revenue in the period you spend it. That means it directly reduces your profit for the year. If your opex is high relative to revenue, your margins shrink; if you keep opex lean, more revenue flows to the bottom line.

Opex appears on your income statement (also called a profit and loss report) and on the cash flow statement under "cash flow from operations." It's important to note that opex doesn't include cost of goods sold (COGS), which is a separate category covering the direct costs of producing or purchasing the products you sell.

Common opex examples for small businesses include:

  • Rent or lease payments for your workspace
  • Employee wages and salaries
  • Utilities like electricity, internet, and phone
  • Insurance premiums
  • Marketing and advertising costs
  • Software subscriptions and SaaS tools
  • Professional fees for accountants or consultants

Key differences between capex and opex

Capex and opex both represent money leaving your business, but they differ in how they're recorded, how they're taxed, and how they affect your cash flow.

Time horizon

Opex covers short-term costs you'll consume within the current year. Capex covers long-term investments in assets you'll use for more than 1 year. This distinction matters because it determines how the expense is accounted for.

If you overspend on opex in 1 month (say, a high electricity bill), you can adjust the next month. A capex investment like a new vehicle stays on your books for years, so the financial impact of that decision plays out over a much longer timeframe.

Impact on financial statements

Opex is subtracted from revenue on your income statement, which directly affects your reported profit. The higher your operating expenses, the more revenue you need to break even.

Capex doesn't appear on your income statement at the time of purchase. Instead, the asset is added to your balance sheet and a portion of its cost is moved to the income statement each year as a depreciation expense. Your cash flow statement captures the full outlay under "cash flow from investing activities."

Tax treatment and deductibility

Operating expenses are generally fully deductible in the tax year you incur them. If you spend $5,000 on marketing in 2026, you deduct $5,000 from your taxable income for 2026.

Handy Resources

Advisor directory

You can search for experts in our advisor directory

Find an advisor

Up-to-date reports from Xero

Get your opex and capex numbers at the click of a mouse

Learn more

Want to grow your busness?

Get a free business plan template to help map your path to success

Download the template

Capital expenditures are handled differently. You typically depreciate the cost of the asset over its useful life, deducting a portion each year. However, the IRS offers accelerated options like Section 179 and bonus depreciation that can let you deduct more (or all) of a capex purchase in the year you make it. More on this in the tax section below.

Flexibility and timing

Opex is largely non-negotiable: you have to pay rent, wages, and utility bills to keep your doors open. Capex, on the other hand, is often discretionary. You can choose when to buy that new piece of equipment, and you can delay the purchase if cash is tight.

There are exceptions. If a critical piece of equipment breaks, replacing it becomes urgent capex. But in general, you have more control over the timing of capital expenditures than operating ones.

Spending patterns

Opex tends to be steady and predictable. Your rent, payroll, and insurance don't swing wildly from month to month. That makes opex easier to budget for.

Capex is more sporadic. Many small businesses make capital investments when cash flow allows it, when a growth opportunity appears, or when something breaks. This uneven pattern makes capex harder to forecast but also gives you flexibility to time purchases strategically.

How capex and opex are taxed

Understanding how the IRS treats capex vs opex can save your business real money. The rules are different for each, and knowing your options helps you plan purchases and deductions more effectively.

Opex deductions

Operating expenses are generally fully deductible in the tax year they're incurred. If you pay $24,000 in rent during the year, that full amount reduces your taxable income for the year. The same applies to wages, utilities, insurance, and other recurring costs.

This straightforward treatment is one reason some businesses prefer to structure spending as opex where possible. You get the full tax benefit immediately rather than spreading it out over years.

Capex depreciation

Capital expenditures must be depreciated over the asset's useful life. The IRS assigns different useful life spans to different asset types: 5 years for computers, 7 years for office furniture, 27.5 years for residential rental property, and so on.

Using straight-line depreciation, you'd deduct an equal amount each year. For example, a $10,000 computer system with a 5-year useful life gives you a $2,000 deduction per year. You don't get the full tax benefit upfront, but you get a steady deduction over time.

Section 179 and bonus depreciation

The IRS offers 2 ways to accelerate your capex deductions. Section 179 lets you deduct the full purchase price of qualifying assets in the year you buy them, up to $2,560,000 for 2026 (phase-out begins at $4,090,000 in total equipment purchases). This is especially useful for small businesses making moderate equipment purchases.

Bonus depreciation is another option. The One Big Beautiful Bill Act of 2025 reinstated 100% bonus depreciation for property acquired after January 19, 2025. That means if you buy a qualifying asset, you can deduct the entire cost in the first year.

Both provisions can significantly reduce your tax bill in the year you make a large purchase. Talk to your tax advisor about which option works best for your situation.

The capex-to-opex shift

Some businesses intentionally convert what would be capex into opex for tax and cash flow advantages. Leasing equipment instead of buying it is a common example. Instead of a $50,000 capital purchase depreciated over 5 years, you pay $1,000 per month in lease payments that are fully deductible as opex each month.

The same logic applies to cloud software subscriptions vs buying on-premises software licenses. The subscription is opex; the license is capex. Both approaches have tradeoffs, so the right choice depends on your cash position and tax planning goals.

How to calculate capex and opex

Knowing how to calculate your capex and opex helps you budget accurately, plan for taxes, and understand where your money is going. Here are the formulas and how to apply them.

1. Calculate your capex

Start by finding your property, plant, and equipment (PP&E) balance on your balance sheet at the start and end of the year, plus your total depreciation for the period. Then apply this formula:

Capex = ending PP&E - beginning PP&E + depreciation

For example, if your PP&E was $100,000 at the start of the year, $130,000 at the end, and you recorded $10,000 in depreciation, your capex for the year is $130,000 - $100,000 + $10,000 = $40,000. For most small businesses, you can also simply total up all the asset purchases you made during the year.

2. Calculate your opex

Pull your total operating expenses from your income statement. The simplest formula is:

Opex = total revenue - operating income (EBIT)

Alternatively, add up your individual operating expense line items: rent, wages, utilities, insurance, marketing, depreciation, and any other recurring costs that don't fall under COGS.

Comparing your capex and opex month over month helps you spot patterns. If your operating expenses are rising faster than revenue, that's a signal to look for inefficiencies or renegotiate contracts. Tracking capex helps you plan for future asset purchases and budget for depreciation.

Capex and opex examples

The split between capex and opex looks different depending on your type of business. Here's how it plays out across a few common small business categories.

Service businesses

A consulting firm or marketing agency tends to be opex-heavy. Most of your spending goes toward salaries, office rent, software subscriptions, and travel. Capex is relatively light: maybe a laptop refresh every few years or some office furniture.

For a service business spending $200,000 annually, the breakdown might look like this:

  • Opex: $185,000 (salaries, rent, software, insurance, marketing)
  • Capex: $15,000 (computers, monitors, office equipment)

Retail businesses

Retail businesses typically have significant opex (rent, wages, utilities, inventory costs) alongside periodic capex for store buildouts, display fixtures, and point-of-sale systems. Opening a new location is a major capex event.

A retail shop might see spending like this:

  • Opex: $150,000 per year (rent, payroll, utilities, insurance, marketing)
  • Capex: $40,000 one-time (store fixtures, signage, POS system) plus $5,000 per year for equipment maintenance

Construction and trades

Businesses in construction, plumbing, electrical, or similar trades tend to have higher capex ratios than service firms. Heavy equipment, vehicles, and specialized tools are capital purchases that drive revenue for years.

A plumbing company's spending might include:

  • Opex: $120,000 per year (wages, fuel, insurance, licensing, office costs)
  • Capex: $60,000 (work van, specialized equipment, diagnostic tools)

SaaS and tech startups

Tech businesses are increasingly opex-dominant because cloud infrastructure and software subscriptions replace on-premises servers and licensed software. However, some capex still applies for things like computers, networking equipment, and office buildouts.

A small SaaS company's spending pattern might look like this:

  • Opex: $250,000 per year (salaries, cloud hosting, software tools, marketing)
  • Capex: $20,000 (developer workstations, networking hardware)

When to prioritize capex vs opex

There's no universal answer to whether capex or opex spending is "better." The right balance depends on where your business is today and where you're headed. Here's a framework to guide the decision.

Consider your business stage

Early-stage businesses often benefit from keeping things opex-heavy. Leasing equipment, using cloud software, and renting workspace keeps your upfront costs low and preserves cash for growth. As your business matures and cash flow stabilizes, strategic capex investments (like purchasing equipment outright or buying property) can reduce long-term costs.

Evaluate your cash flow

Capex requires a large upfront payment or financing commitment. If your cash reserves are thin, that can put strain on your business. Opex spreads costs out over time and is easier to manage when revenue is variable. Before any major capital purchase, make sure you can cover at least 3 to 6 months of operating expenses without relying on that cash.

Factor in tax planning

If you're expecting a high-profit year, a capex investment combined with Section 179 or bonus depreciation could significantly reduce your tax bill. On the other hand, if you expect steady, moderate profits, the ongoing opex deductions from leasing or subscriptions might serve you better. Work with your accountant to model the tax impact of each approach.

Think about flexibility

Opex commitments are generally easier to adjust. You can switch software providers, downsize your office, or renegotiate contracts. Capex locks you into an asset that may be hard to sell or repurpose if your needs change. If your business is in a fast-moving or uncertain market, leaning toward opex gives you more room to pivot.

Align with growth goals

If you're planning to scale, some capex investments are unavoidable. You might need a bigger workspace, additional vehicles, or specialized equipment. The key is to time those investments strategically rather than letting them happen reactively. Build capex into your annual budget as a planned line item, not an emergency response.

Track your capex and opex with Xero

Getting capex and opex right isn't just about definitions; it's about having clear visibility into where your money goes so you can make confident decisions. When your expenses are categorized accurately, budgeting becomes simpler, tax time is less stressful, and you can spot cost trends before they become problems.

Xero's accounting software helps you categorize expenses, track spending by category, and pull reports like profit and loss statements and balance sheets that show your opex and capex side by side. With everything in one place, you don't have to guess whether a purchase was recorded correctly or scramble at tax time.

If you're ready to get your expenses organized and your finances under control, Get one month free.

FAQs on capex vs opex

These questions come up often when small business owners start tracking their expenses more carefully.

Is depreciation capex or opex?

Depreciation is an opex item. It appears as an operating expense on your income statement, spreading the cost of a capital asset over its useful life. The original purchase is capex, but the annual depreciation charge is opex.

What is the difference between capex and opex with an example?

Capex is a long-term investment like buying a $25,000 delivery van, while opex is a recurring cost like paying $2,000 per month to lease one. The van purchase goes on your balance sheet; the lease payment goes on your income statement.

How do capex and opex affect profit?

Opex directly reduces your profit because it's subtracted from revenue on your income statement. Capex doesn't affect profit at the time of purchase; instead, it reduces profit gradually through annual depreciation charges.

Can you convert capex to opex?

Yes, but it's not always the right move. Converting capex to opex (through leasing, subscriptions, or renting) works well when you need flexibility, but owning assets outright can be cheaper long-term and lets you build equity your business can borrow against.

How should a small business budget for capex vs opex?

Start by listing your recurring operating expenses to establish your monthly opex baseline. Then identify any major asset purchases you expect in the next 12 months and set aside funds for those capex items separately, so they don't disrupt your day-to-day cash flow.

Disclaimer

This glossary is for small business owners. The definitions are written with their requirements in mind. More detailed definitions can be found in accounting textbooks or from an accounting professional. Xero does not provide accounting, tax, business or legal advice.