Opex vs capex
Opex is your day-to-day running costs; capex is longer-term investment in assets like equipment.
November 2023 | Published by Xero
Published Wednesday 12 August 2026
Table of contents
Key takeaways
- Opex covers day-to-day running costs like wages, rent and utilities, while capex refers to longer-term investments in assets such as equipment, property or vehicles.
- For tax purposes, opex is generally deductible in the year you incur it under the section 11(a) general deduction formula, while capex is written off over time through SARS capital allowances.
- Choosing between opex and capex affects your cash flow, tax position and financial statements, so understanding the trade-offs before committing to a large purchase or subscription is worthwhile.
- Cloud-based software and leasing arrangements have made it easier for small businesses to shift spending from capex to opex, keeping more cash available month to month.
What is opex (operating expenditure)?
Operating expenditure (opex) is the money you spend to keep your business running on a daily basis. These are recurring costs that don't result in a long-term asset on your balance sheet.
Common examples of opex include wages and salaries, office rent, utility bills, insurance premiums, marketing spend and office supplies. If you're paying for something that gets used up within the financial year, it's almost certainly opex.
Opex shows up on your profit and loss statement (also called an income statement) as an expense in the period you incur it. It also flows through your cash flow statement, giving you a clear picture of how much cash leaves the business each month.
Cost of goods sold (COGS) is a separate line item from operating expenses on your profit and loss statement. COGS covers the direct costs of producing what you sell, while opex covers the broader costs of running the business.
What is capex (capital expenditure)?
Capital expenditure (capex) is the money you spend on assets that will benefit your business for more than one year. These purchases appear on your balance sheet as fixed assets rather than being expensed immediately.
Typical capex includes machinery, commercial property, company vehicles and computer hardware. If an item has a useful life beyond the current financial year and adds lasting value, it's likely capex.
There are two broad types of capex. Maintenance capex covers spending to keep existing assets in working order, such as replacing a worn-out component in a machine. Growth capex covers new investments that expand your capacity, like buying additional equipment or fitting out a second premises.
Because capex assets deliver value over multiple years, you don't deduct the full cost in the year of purchase. Instead, the cost is spread across the asset's useful life through depreciation. Each year, a portion of the asset's value moves from the balance sheet to the profit and loss statement as a depreciation expense.
Key differences between opex and capex
While both opex and capex represent money leaving your business, they're treated very differently in your accounts and tax returns. Here's how they compare across four key areas.
Time horizon
Opex covers short-term, recurring costs that are consumed within the financial year. Capex involves longer-term investments in assets you'll use for several years. This distinction drives how each type of spending is recorded and reported.
Impact on profitability
Opex reduces your reported profit in the period you spend it, since the full amount appears on your profit and loss statement straight away. Capex only reduces profit gradually through annual depreciation charges. A large capital purchase won't wipe out your profit in a single year.
Flexibility and timing
Operating expenses tend to be more flexible. You can often scale them up or down relatively quickly, for example by adjusting your marketing budget or renegotiating a service contract. Capital expenditure usually involves a larger upfront commitment that locks in spending for years, making it harder to reverse if circumstances change.
Predictability
Many operating expenses are predictable month to month: rent, salaries, subscriptions and utility bills follow a regular pattern. Capital expenditure is often irregular and harder to forecast, since it depends on when assets need replacing or when growth opportunities arise.
How opex and capex are treated for tax and accounting
The way you account for opex and capex affects both your financial statements and your tax position, so understanding the basics is useful.
Handy Resources
Advisor directory
You can search for experts in our advisor directory
Up-to-date reports from Xero
Get your opex and capex numbers at the click of a mouse
Want to grow your busness?
Get a free business plan template to help map your path to success
Operating expenses are recorded on your profit and loss statement in the period they occur. You can generally deduct the full amount from your taxable income in the same year under the general deduction formula in section 11(a) of the Income Tax Act, provided the expense was actually incurred, in the production of income, and not of a capital nature.
Capital expenditure works differently. The asset goes onto your balance sheet at its purchase price, but you cannot deduct it under section 11(a) because it's capital in nature. Instead, you claim capital allowances from SARS to write off the cost over time. Several sections of the Income Tax Act cover different asset types:
- Section 11(e) provides a wear-and-tear allowance on movable assets such as computers, vehicles and machinery, written off over SARS-published useful lives.
- Section 12C offers an accelerated allowance on new manufacturing plant and machinery at 40% in year one, then 20% in each of the next three years.
- Section 13quin allows a 5% per year allowance on new and unused commercial buildings.
- Section 12E lets a qualifying small business corporation write off manufacturing plant and machinery in full in the year it's brought into use.
As South Africa's asset-based allowance rules show, there is no single annual investment allowance that covers all assets; the rate depends on the asset type and the relevant section of the Act.
For accounting purposes, capex is depreciated over its useful life following IAS 16 Property, Plant and Equipment. Smaller businesses may apply IFRS for SMEs instead.
Getting the classification right matters. VAT-registered businesses must keep accurate records and file through SARS eFiling. Misclassifying spending distorts your financial statements and can lead to incorrect tax payments.
How to calculate opex and capex
Calculating your operating and capital expenditure doesn't require complicated maths, but it helps to know the standard formulas.
To calculate opex, add up all your operating costs for the period. This includes rent, wages, utilities, insurance, marketing and any other day-to-day business expenses:
OpEx = total operating costs for the period
You'll find this figure on your profit and loss statement, either as a single total or broken down by category.
Calculating capex from your financial statements uses this formula:
CapEx = PP&E (current period) − PP&E (prior period) + depreciation
PP&E stands for property, plant and equipment, which you'll find on your balance sheet. By taking the change in PP&E and adding back the depreciation charged during the period, you arrive at the total amount spent on new capital assets.
When to choose opex vs capex
The choice between opex and capex isn't always clear-cut, and the right answer depends on your business's cash flow, growth plans and risk appetite.
Opex gives you flexibility. Monthly or annual subscriptions, leasing arrangements and pay-as-you-go services keep your cash flow steady and let you adjust spending quickly if conditions change. That flexibility matters locally: the Small Business Growth Index found that 41.9% of South African SMEs reported weak or critical cash flow in the second half of 2025, so keeping monthly commitments low can protect a tight cash position. This is why many small businesses now choose cloud-based software (an operating expense) over traditional on-premises systems (a capital expense).
Capex makes sense when you need an asset that will deliver value for years and you have the cash (or financing) to cover the upfront cost. Owning equipment outright can be cheaper in the long run, and you may benefit from SARS capital allowances that reduce your tax bill.
In practice, most small businesses use a mix of both. You might lease your office space (opex) but purchase specialist tools or machinery (capex). The key is to weigh up the total cost of ownership, the impact on your cash flow and how each option affects your tax position before committing.
Track your business spending with Xero
Whether you're managing day-to-day operating costs or tracking the depreciation on a major purchase, having clear visibility over your spending makes it easier to plan ahead and stay on top of your tax obligations. Xero helps you categorise expenses, monitor cash flow in real time and run the reports you need at tax time, so you can get one month free and see how it works for your business.
FAQs on opex vs capex
Here are answers to common questions about opex and capex.
Is software capex or opex?
It depends on how you acquire it. Cloud-based software paid for through a monthly or annual subscription is treated as opex. Software you purchase outright and install on your own hardware is typically classified as capex and depreciated over its useful life.
Can you convert capex to opex?
Yes, in many cases. Leasing an asset instead of buying it, or switching from on-premises software to a cloud subscription, effectively converts what would have been capex into opex.
Which is better for a small business, capex or opex?
Neither is inherently better. Opex offers flexibility and preserves cash flow, while capex can be more cost-effective over time and may qualify for tax relief through SARS capital allowances. The best approach depends on your cash flow, growth plans and tax position.
How are capex and opex reported on financial statements?
Opex appears on your profit and loss statement as an expense in the period it's incurred. Capex is recorded on the balance sheet as a fixed asset and then gradually expensed through depreciation over the asset's useful life.
Is opex tax deductible in South Africa?
Generally yes. Operating expenses are deductible under the section 11(a) general deduction formula if they were actually incurred in the production of income and are not of a capital nature.
Can I claim VAT on capex in South Africa?
A VAT-registered vendor can generally claim input VAT on qualifying capital purchases used to make taxable supplies, subject to a valid tax invoice. The standard VAT rate is 15%.
Related terms
Learn more about opex vs capex
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.