IT Buyers Guide · Concept · 10 min read

CapEx and OpEx in IT, and Why the Budget Line Shapes the Build

The same capability is usually available both ways, so the choice gets settled by which budget has room. The lasting difference is not the money, it is that a capital purchase is approved once and an operating line is re-approved forever.

Written by Marko Ristic, Editor Updated Sep 17, 2026
5 yrRecovery period the IRS gives computers and peripherals
1Time a capital purchase is approved, against every year for opex
2Conditions that end the opex case: steady, and large
3 yrWhere the totals cross if you leave the running costs out
Short answer

CapEx is money spent to acquire something that lasts, written off over the years it serves. OpEx is money spent to run the business this period, written off now.

In IT the same capability is usually available both ways, so buying a server is capital and renting the same compute is operating, and the choice is often settled by which budget has room rather than by which is cheaper.

  • CapEx buys an asset and depreciates it; OpEx expenses the cost now
  • The same IT capability is usually purchasable either way
  • Under IRS rules computers are 5-year property, office equipment 7-year
  • Section 179 lets a qualifying purchase be expensed immediately
  • The lasting difference is who re-approves the spend, and how often
On this page

The accountingThe accounting behind capex vs opex, briefly

Both words are short for expenditures, and the whole distinction is when the expense is recognized.

Capital expenditures are long-term investments: they buy assets with a useful life longer than the current period. The cost does not hit the income statement all at once. It goes on the balance sheet as a fixed asset and comes off over time as depreciation, matching the expense to the years the asset is actually used.

A company that buys a server this year carries it as an asset and recognizes a fraction of the cost annually.

Operating expenditures are the day-to-day costs of running the business now: salaries, electricity, subscriptions, support contracts. They hit the income statement as expenses in the period they occur, nothing is capitalized, and nothing carries forward.

The financial consequence follows from that. Capital spending flatters this year's profit and consumes this year's cash. Operating spending does the reverse.

In the United States, the Internal Revenue Service treats computers and peripheral equipment as 5-year property for depreciation, and office furniture and equipment as 7-year property.

Section 179 is the election that lets a business deduct the cost of qualifying property in the year it is placed in service instead of depreciating it, subject to a cap that was $2,500,000 for tax year 2025, phasing out above $4,000,000 of qualifying property placed in service.

For tax purposes the two are treated differently as well. Operating expenses are generally deductible in full in the year they are incurred, while the cost of capital assets is deducted over time through depreciation.

Two honest caveats before moving on. Those figures change, sometimes annually, so check the current year rather than this page. And every jurisdiction has its own accounting and tax treatment, so what follows is about how the capex vs opex choice shapes IT decisions, not about what your accountant should do.

DefinitionsWhat is CapEx and what is OpEx, with examples

The question of what is CapEx is easiest to answer with a list. Capital expenditures are the long-term investments a company makes in physical or intangible assets it will use for more than one year:

  • Buildings, land and improvements to them
  • Machinery, vehicles and office equipment
  • Servers, network hardware and other IT equipment
  • Patents, licenses and software bought outright

What is OpEx, by the same method: the short-term costs a business pays to keep operating. These expenses recur month after month:

  • Rent, utilities and insurance
  • Salaries and payroll costs
  • Marketing, travel and office supplies
  • Software subscriptions, cloud services and support contracts

How each one shows up in the financial statements

Three statements record the difference. On the balance sheet, CapEx adds to property, plant and equipment, and OpEx adds nothing.

On the income statement, OpEx is deducted in full, while CapEx arrives over time as depreciation. On the cash flow statement, CapEx is reported under investing activities and OpEx under operating activities.

How to calculate CapEx and OpEx

A company's capital expenditures for a period can be calculated from those statements: the change in property, plant and equipment between two balance sheets, plus the depreciation expense recorded for the same period.

Operating expenses are simply added up: rent, payroll, utilities, marketing and the other running costs of the period. Most companies report cost of goods sold on a separate line.

Both waysThe same capability, two ways to buy it

This is what makes capex vs opex a live question in IT rather than a settled one in accounting. Almost every piece of infrastructure is now available on both sides of the line.

CapabilityThe CapEx formThe OpEx form
ComputeBuy serversCloud instances
StorageBuy an arrayObject or block storage service
Network edgeBuy firewallsFirewall as a service
Email and documentsPerpetual, historicallyMicrosoft 365 per user
Line of business softwarePerpetual license plus maintenanceSubscription
BackupBuy the applianceBackup as a service
The peopleHireManaged services

The email and documents row is the one almost every business has already crossed, and what is left there is not a choice between buying models at all. It is a choice between suites, which is Google Workspace against Microsoft 365.

Read the last row alongside the first. Hiring is not a capital expenditure, because a person is not a fixed asset on any company balance sheet.

But an internal team and a managed services contract land in the same budget category, which is why the two get compared directly in a way that buying a server and renting one do not.

What changesWhat actually changes, and it is not the total

Three things change between capex and opex, and only one of them is money.

Who approves it, and when. A capex request is an investment project. It has a business case, a committee, a number, and once it is approved the money is spent and the conversation ends for several years.

An opex line is in the budget every year, and every year somebody can ask why it is that size. Teams that move to a subscription model to avoid a hard capital conversation often trade one difficult meeting for an easy meeting that recurs forever.

When the cash leaves. Capital expenditures are front-loaded: the money goes out now and the expense is recognized over time. Operating expenditures match cash to consumption. For a company that is short of cash and not short of profit, that financial difference is the whole argument, and it has nothing to do with which is cheaper.

What happens when demand changes. Capex investments are sized for the peak and paid for whether or not the peak arrives. Opex follows usage, up and down. The direction that catches people is up: a workload that doubles costs roughly twice as much forever, where a server that is half loaded costs nothing extra to fill.

The limitWhere the OpEx case stops working

The default assumption in most organizations now is that operating expenditures are the modern answer and capital expenditures are legacy. That is true for the first few years of most workloads and it stops being true under two conditions.

Steady, predictable, large. This is the capex case. A workload that has run at a known size for three years, will keep running at that size, and is big enough to matter is the textbook case for owning the hardware.

This is most of what cloud repatriation actually is: not a rejection of cloud, but the observation that the flexibility premium is only worth paying while flexibility is still needed.

Consumption you cannot control. Opex scales with usage, which is a benefit when usage falls and a liability when it grows for reasons nobody chose. Egress charges, log ingestion and per-seat pricing on a growing headcount all have this shape.

The arithmetic worth doing is long-term: total costs over the asset's real life, not per month. A server that costs $18,000 and runs for five years is $300 a month before power, space, support and the labor to run it.

Whether that beats the equivalent cloud spend is a real calculation, and it is a different calculation at year one and year five.

The reverse case is just as common. A three-year subscription that replaces a $40,000 purchase at $1,500 a month costs $54,000, and the extra $14,000 bought flexibility, somebody else's operational burden and no capital request. That can be a good trade, and it is a trade rather than a saving. Opex is rarely cheaper in total; it is differently shaped.

PitfallsThe traps on each side

Treating a subscription as free of commitment. Most enterprise subscriptions are annual or multi-year with an auto-renewal. The flexibility argument assumes you can stop paying, and the contract often says otherwise. Read the term and the notice period before counting flexibility as a benefit.

Forgetting the hidden operating expenses of owned hardware. Power, cooling, rack space, maintenance contracts, spare parts and the hours somebody spends patching it are all operating expenses attached to a capital asset. A comparison that puts the purchase price against a cloud bill is not comparing the same thing.

Buying capacity for a peak that has not arrived. The most expensive capex mistake in IT, and the one that made the cloud argument so persuasive. Sizing for the peak plus growth plus a margin means paying for years of idle capacity.

Letting the budget category choose the architecture. This is the one worth naming plainly. When capex is impossible to get and opex is easy, teams design around it: rent what they would have bought, subscribe to what they would have licensed, and end up with an architecture chosen by the approval process. That is a real cost and it never appears in either column.

Ignoring the end of support date on an owned asset. The depreciation schedule and the support lifecycle are different clocks. Hardware fully depreciated at five years running software that lost support at four is a capex asset generating an opex risk, and the patching burden is where that risk gets paid.

DecidingHow to actually decide

Six questions, and if the answers are mixed the honest conclusion is that the two options are close enough that either is defensible.

How long will this workload exist in this shape? Under two years, opex it. Over five, capex is worth pricing.

Can you predict the volume? Predictable favors owning. Spiky or unknown favors renting, and that is what the premium is for.

Which budget can you actually get? Not a technical question, and in most companies the deciding one. Say so explicitly rather than reverse-engineering a technical argument for a financial constraint.

What does the total look like at year three and year five? Both numbers, not one. The crossover is usually somewhere in that window and the conclusion flips across it.

Who runs it if you own it? Owned hardware needs somebody. If that somebody does not exist, the operating cost of hiring or contracting them belongs in the comparison.

What is the exit? From capex, resale value and disposal. From opex, notice period, data egress and how the data comes back. Both have one and only one of them is usually priced.

WHERE THE TWO TOTALS ACTUALLY CROSSA worked example, not measured data. Assumptions are printed below.$0k$9k$18k$27k$36kYr 0Yr 1Yr 2Yr 3Yr 4Yr 5CapEx $33kOpEx $30kstill ahead at year 5Assumes an $18k purchase plus $3k a year to run it, against $6k a year for the service.Leave the $3k out and the lines cross at year three. Most comparisons leave it out.
The lines have not crossed at year five, and they cross at year three if the cost of running the owned hardware is left out. Most comparisons leave it out.

ComparisonThe two columns, on what actually differs

CriterionCapExOpEx
Hits the income statementOver years, as depreciationNow, in full
On the balance sheetA fixed assetNothing
Cash timingUp frontMatched to use
ApprovalOnce, as a projectEvery budget cycle
Scales down when demand fallsNoYes
Scales up cheaplyYes, to the capacity you boughtNo, cost follows usage
Best whenSteady, predictable, long-livedUncertain, spiky, or short-lived
Hidden costsPower, space, staff, refreshRenewal terms, egress, seat growth
Who carries the riskYouThe provider, at a price

The row that decides most real cases is the third rather than any of the financial ones. A team that can get an operating line approved and cannot get a capital one will choose operating expenditure whatever the arithmetic says, and the useful thing is to know that is what happened.

FAQFrequently asked questions

What is the difference between CapEx and OpEx?

Both are short for expenditures. Capital expenditures buy something with a useful life beyond the current period, so the cost is capitalized as a fixed asset and depreciated over years. Operating expenditures are the cost of running the company now and are expensed on the income statement in the period they occur.

Is cloud CapEx or OpEx?

Operating expenditure in almost every case, because you are paying for consumption rather than acquiring an asset. Reserved instances and committed-use contracts are still operating spend, just with the flexibility traded away.

Is buying a server CapEx?

Yes, buying hardware is a capex purchase. It is an asset with a useful life beyond the year, so it is capitalized and depreciated, unless the business elects to expense it under a provision like Section 179.

How long do you depreciate IT equipment?

In the United States the Internal Revenue Service classifies computers and peripheral equipment as 5-year property and office furniture and equipment as 7-year property. Other jurisdictions differ and the current year's rules are the ones that apply.

What is Section 179?

An election that lets a business deduct the cost of qualifying property in the year it is placed in service rather than depreciating it. For tax year 2025 the maximum deduction was $2,500,000, phasing out above $4,000,000 of qualifying property placed in service. Check the current figures.

Is a software subscription CapEx or OpEx?

Operating expenditure. A perpetual license was historically treated as capital, which is part of why the industry moved to subscriptions: it changed which budget the buyer needed.

Are managed services CapEx or OpEx?

Operating expenditure, in the same category as salaries, which is why a managed services contract and an internal hire get compared directly while buying and renting hardware usually do not.

Is CapEx or OpEx cheaper over five years?

It depends on how steady the workload is and what the owned option costs to run. Price both at year three and year five, include power, space, support and staff on the capital side, and include renewal terms and growth on the operating side.

Why do finance teams prefer OpEx?

Cash timing and predictability, mostly. Operating expenses match cash to consumption and avoid a large outlay, which matters more to a company that is short of cash than to one that is short of profit. The accounting treatment is secondary to that.

What is cloud repatriation?

Moving a workload back from a consumption service onto owned or leased hardware, usually because it became large, steady and predictable. It is a recognition that the flexibility premium is only worth paying while flexibility is still needed.

Does the choice change the architecture?

Frequently, and that is the cost nobody records. When capital is hard to approve and operating is easy, teams rent what they would have bought and subscribe to what they would have licensed, and the approval process ends up choosing the design.

How do I compare a purchase against a subscription fairly?

Put the total of both over the same period. On the purchase side add power, space, maintenance, spares and the staff hours. On the subscription side add the renewal terms, growth in seats or usage, and what leaving costs.

Does depreciation match the support lifecycle?

No, and treating them as the same clock is a common mistake. Hardware can be fully depreciated while the software on it has already lost vendor support, which leaves an asset with no book value generating real risk.

How does depreciation of IT equipment work, and what is Section 179?

In the United States, depreciation of IT equipment normally spreads the cost over five years, because computers are five year property for tax purposes.

Under Section 179, computers and off the shelf software that qualify can be deducted in full in the year they are placed in service, up to a limit the IRS sets each year. Ask your accountant which applies to you.

Read next · Managed IT What Is an MSP, and What Are You Actually Buying The operating form of the people, which is why an internal hire and a managed contract get compared directly. Open this next10 min
Also worth reading
One packet a weekA short, illustrated explainer every Tuesday. No vendor pitches, unsubscribe in one click.