From Sanskriti Khandelwal | Product & Market Analysis

AI Spending Forecast 2027: Gartner's $4 Trillion, IDC and Forrester Side by Side

On this page

Gartner now expects worldwide AI spending of $4.05 trillion in 2027. In January the same firm said $3.34 trillion. That is a $713 billion upward revision to one year's AI spending forecast in ten months, and almost all of it landed on servers and data centres. IDC and Forrester publish 2027 numbers that look nothing like Gartner's, because they are measuring a different thing.

Key takeaways

  • Gartner raised its 2027 AI spending number by $713 billion in ten months. Its January 2026 edition said $3.34 trillion, May said $3.49 trillion, and the 12 November edition says $4.05 trillion, a 21% increase.
  • Roughly nine tenths of that increase is infrastructure. Gartner's 2027 infrastructure line went from $1.75 trillion to about $2.4 trillion, while AI software moved from $636 billion to $649 billion and AI services fell from $761 billion to $746 billion.
  • The three firms are not measuring the same market. Gartner counts the whole AI value chain, including devices. IDC's widely reported 2026 edition sizes corporate AI spending at $940 billion for 2026. Forrester gives a share, about 20% of 2027 technology spend, not a dollar total.
  • The headline number is the wrong one for an enterprise budget. The lines that reach a buyer's invoice are software and services, where Gartner's 2027 growth figures are 42% and 29.5%, and where its own estimates barely moved all year.

Short answer: Gartner's latest forecast puts 2027 AI spending at $4.05 trillion, up 47.5% on 2026. IDC has not put a 2027 headline in a press release, and its reported 2026 edition implies a market roughly a third that size. Forrester expects AI to be about 20% of 2027 technology spending. The gap is definitions, not disagreement about demand.

$4.05TGartner's 2027 worldwide AI spending figure, November 2026 edition. Source: Gartner via Anadolu Agency, 12 November 2026.
+21%How far Gartner's own 2027 figure rose between its January and November 2026 editions. Source: Zan Digital calculation from Gartner tables.
20%Forrester's estimate of AI's share of business technology spending in 2027. Source: Forrester, 21 October 2026.

The 2027 AI spending forecast from all three firms in one table

Three analyst firms dominate how boards and budget owners talk about AI spending. They have each published something about 2027 in the last few months. Only one of them published a dollar figure for the year.

The table below puts the latest public release from each firm side by side. Read the last column before you read the numbers. It is the column that explains why the numbers sit so far apart.

Latest public AI spending figures from Gartner, IDC and Forrester, as of 17 November 2026
Firm and release20262027Longer rangeWhat is counted
Gartner, 12 November 2026About $2.75 trillion$4.05 trillion, up 47.5%Not in releaseWhole AI value chain: infrastructure including AI-optimised servers and devices, software, services, models, security
IDC spending guide, 2026 edition (secondary report)$940 billionNot published in a press release$2.1 trillion in 2029Corporate spending on AI, per IDC's spending guide
IDC, 26 August 2025Not statedNot stated$1.3 trillion in 2029, 31.9% annual growth from 2025AI IT spending; service providers take 80% of the infrastructure spend
Forrester, 21 October 2026Total tech spend $5.6 trillion (February 2026)AI about 20% of tech spend; total tech spend $6.1 trillionNot in releaseShare of business technology spending, including vendor infrastructure

Sources listed in the references. The IDC 2026 edition figures come from a secondary report and are flagged as such in the section on where this comparison is weakest. Forrester's $5.6 trillion and $6.1 trillion come from two different releases and may not share a definition.

Gartner is the only firm with a 2027 dollar figure

Gartner published its latest number on 12 November 2026. Total AI spending reaches $4.05 trillion in 2027, up 47.5% from about $2.75 trillion in 2026. Infrastructure is the largest component at roughly $2.4 trillion, which is 59% of the total.

The firm also sets 2027 AI services at $746 billion, AI software at $649 billion, AI cybersecurity at $86 billion and generative AI models at $51 billion. Spending on AI agents and assistants more than doubles, from $30 billion to $67 billion, according to the same release.

IDC has a 2029 number and no public 2027 headline

IDC's last worldwide AI spending press release in English was dated 26 August 2025. It said AI spending reaches $1.3 trillion in 2029, growing 31.9% a year from 2025. Since then IDC has published regional cuts, including a European forecast of $290 billion by 2029 in April 2026.

A July 2026 report citing IDC put corporate AI spending at $940 billion in 2026 and $2.1 trillion by 2029. That is the most recent worldwide figure we could find. IDC has not, in any release we could open, stated a 2027 total.

Forrester publishes a share, not a sum

Forrester's Predictions 2027 release, dated 21 October 2026, says AI will account for 20% of business technology spending next year. The same release puts global technology spending at $6.1 trillion in 2027. In February 2026 Forrester had forecast $5.6 trillion for 2026, a record 7.8% growth year.

Multiplying 20% by $6.1 trillion gives about $1.2 trillion. Forrester did not publish that figure, and the 20% may sit on a narrower base than the $6.1 trillion. Treat it as an order of magnitude, not a Forrester number.

How Gartner's AI spending forecast for 2027 was revised four times

The more useful story is not any single number. It is how fast one firm's number moved. Gartner updates its AI spending forecast roughly every quarter, and every edition this year has gone up.

Gartner worldwide AI spending forecast by edition, in $ billions
Edition202520262027Change in 2027 vs prior edition
September 20251,480Above 2,000Not forecastNot applicable, first edition to reach 2026
January 20261,7572,5283,337First 2027 figure
May 20261,7652,5963,493+156, or +4.7%
September 2026Not statedAbout 2,700About 3,680 (implied)About +185, or +5.3%
November 2026Not statedAbout 2,7504,050About +370, or +10%

January and May figures are from Gartner's published tables. September 2025 is from Next Platform's report of that edition. The September 2026 2027 figure is a Zan Digital calculation: $2.7 trillion grown by the 36.2% Gartner gave for 2027, as reported by CIO. November figures are as reported by Anadolu Agency.

Gartner's 2027 AI spending number, edition by edition Same year, same firm, four editions. Figures in $ trillions. 4.2 3.8 3.4 3.0 $3.34T $3.49T ~$3.68T $4.05T Jan 2026 May 2026 Sep 2026 (implied) Nov 2026 Source: Gartner tables (Jan, May), CIO (Sep, Zan calculation), Anadolu Agency (Nov). Hollow marker is derived.
The slope steepens. The last revision, between September and November, was about as large as the two before it combined.

The 2026 figure, for a year that is nearly over, was revised just as hard. Gartner's September 2025 edition, as reported by Next Platform, had 2026 AI spending cresting above $2 trillion. The November 2026 edition says about $2.75 trillion. By our arithmetic that is an increase of roughly 36% to a single year's figure in fourteen months.

Put differently, Gartner's current 2027 number is about double what it expected for 2026 a year ago. If you anchored a budget conversation on last autumn's figure, your board is now reading a different market.

The 2025 figure jumped from $1.48 trillion in the September 2025 edition to $1.76 trillion in January 2026. A year that was mostly over cannot gain 19% from new demand. That change came largely from how Gartner rebuilt its segments when it extended the forecast to 2027, which Next Platform described as less granular than the edition before.

This is the part analysts rarely say out loud. A forecast revision mixes three things: new information about demand, price changes, and changes to what is being counted. Only the first is a signal about AI adoption.

Where Gartner's $713 billion 2027 revision went

Lining up the January table against the November release shows where the extra money sits. The answer is unambiguous. It went to infrastructure.

From $3.34 trillion to $4.05 trillion: what changed in 2027 Gartner 2027 AI spending, January vs November 2026 editions, $ billions. 3,337 January +652 Infrastructure +13 Software -15 Services +63 Other and rounding 4,050 November Axis starts at zero. Infrastructure is given as about $2.4T in November, so its step carries rounding.
The software and services bars are almost invisible at this scale. That is the finding: the revision was a hardware revision.

Gartner's January table had 2027 AI infrastructure at $1,748 billion. The November release puts it at roughly $2.4 trillion. That single line accounts for about $652 billion of a $713 billion revision, or roughly nine tenths.

AI software for 2027 went from $636 billion to $649 billion. AI services went from $761 billion to $746 billion, so it was revised down. AI cybersecurity held at $86 billion across all three editions with a table.

Within infrastructure, the November release singles out AI-optimised servers, rising from $527.6 billion in 2026 to $957.2 billion in 2027. That is an 81% jump in one year for one hardware category.

Some of that revision is price, not volume. Gartner attributed the infrastructure rise to cloud-provider expansion and to server prices pushed up by memory costs. In September, Gartner's John-David Lovelock told CIO that "there is a massive over-demand towards memory, and that's pushed these chip prices incredibly high".

When an input price rises, a spending forecast rises with it even if the number of servers does not. The mechanics of who absorbs that premium are covered in the analysis of who pays the DRAM shortage premium. For this post the point is narrower. Part of the $652 billion is the same hardware, costing more.

The flat lines matter as much as the steep one. Across ten months of revisions, Gartner did not materially change its view of what enterprises will pay for AI software and AI services in 2027. In my reading, that is the most useful signal in the whole series for a buyer, because those are the lines that show up on your invoices.

Why the three AI spending forecasts disagree by a factor of three

Gartner's 2026 figure is about $2.75 trillion. IDC's reported 2026 figure is $940 billion. The gap is close to three times. Neither firm is wrong. They are counting different things.

Gartner counts the whole value chain, including devices

Gartner's AI infrastructure segment covers AI-optimised IaaS, servers, network fabric, processing semiconductors and devices, per Lovelock's description in the May 2026 release. Next Platform noted in January that Gartner's data does not separate data centre infrastructure from client devices such as PCs and smartphones.

So a phone sold with an on-device AI model is AI spending in Gartner's model. So is a hyperscaler's server purchase. Lovelock has been direct about the consequence. He told CIO in September that "every dollar is going to be an AI dollar in one way or another".

That framing also explains why Gartner's AI share of all IT spending keeps climbing. Next Platform reported Gartner's January figures at 31.7% of IT spending in 2025 and 41.5% in 2026. Gartner's separate October forecast puts total IT spending at $7.35 trillion in 2027. Against $4.05 trillion of AI spending, that implies about 55% of all IT spending in 2027, on our arithmetic.

IDC and Forrester measure narrower slices

IDC's August 2025 release framed AI as exceeding 26% of worldwide IT spending by 2029. That is a far smaller share than Gartner's model reaches two years earlier. The most likely explanation is scope. IDC sizes AI IT spending and corporate AI spending, and its methodology does not appear to sweep in every AI-capable consumer device.

Forrester's 20% is narrower still in framing. AI Business, reporting on the release, notes that the share includes vendor infrastructure spending and does not mean the average enterprise will put 20% of its own IT budget into AI. Forrester analyst Brian Hopkins told the publication that almost all of the growth comes from infrastructure and computing capacity.

Gartner 2027 AI spending by segment, and growth on 2026 $ billions. November 2026 edition. Bars to scale. Infrastructure~2,400+53% AI services746+29.5% AI software649+42% AI cybersecurity86from 51 Gen AI models51+82% Infrastructure is 59% of the total. Software plus services, the lines a buyer pays, are about 34%. Source: Gartner, 12 November 2026, as reported by Anadolu Agency.
Read the growth column against the bar length. The largest bar is mostly bought by cloud providers, not by the enterprises reading the headline.

What the AI spending forecast means for an enterprise AI budget

These forecasts land on budget owners in a predictable way. A board member sees "$4 trillion" and asks why the company's AI line is flat. I think that is the wrong comparison, and the tables above show why.

Most of the $4.05 trillion is infrastructure bought by cloud providers and device makers. It reaches you indirectly, through the prices of the software and services you buy. The part you control is the software and services spend, where Gartner's 2027 total is about $1.4 trillion across every buyer in the world.

Gartner's AI infrastructure grows 53% in 2027. AI software grows 42% and services 29.5%. When a supplier's input costs grow faster than the market it sells into, margins compress or prices rise. Lovelock also told CIO that much enterprise AI spending is now "more about rebranding than diversion", meaning existing software budgets are being relabelled as AI rather than new money appearing.

That matches what buyer-side trackers find. The spend data in the comparison of Menlo, a16z and Ramp enterprise AI spend figures measures what companies actually paid, which is a different and smaller object than an analyst market size. For your 2027 plan, the relevant question is how much of your renewal stack will reprice to cover vendors' compute costs.

Vendors will quote these figures in sales decks for the next twelve months. When a vendor cites "$4 trillion of AI spending", ask which segment their product sits in. A software vendor is selling into a $649 billion line, not a $4 trillion one. That reframing usually ends the conversation about urgency.

The capital side of the same story, and whether the infrastructure build can earn its keep, is in the analysis of hyperscaler capex and missing payback math. The cash side is in the comparison of hyperscaler capex against operating cash flow.

Where this comparison is weakest

This post compares numbers it could not always read at the source. Each weakness below changes how much weight a specific row deserves.

Gartner's November figures came through a news agency

Gartner's newsroom refused automated retrieval for this post. The November 2026 figures are as reported by Anadolu Agency on the day of release, and several are rounded, including infrastructure at "approximately $2.4 trillion". The $652 billion infrastructure step in the waterfall therefore carries perhaps $50 billion of rounding either way. The direction of the finding does not depend on it.

The IDC 2026 edition is secondary

The $940 billion and $2.1 trillion figures come from one trade publication citing IDC. We found an IDC slide deck that appears to carry the same chart, but could not extract it. If those figures hold, IDC raised its 2029 number from $1.3 trillion to $2.1 trillion, about 62%, between editions. That would be a bigger revision than Gartner's, and we cannot yet confirm it from an IDC document.

The counter-case: upward revisions may mean the forecasts were simply too low

The strongest objection to this whole framing is that revisions are a sign of a forecaster catching up with reality. Hyperscaler capex guidance rose all year. A forecast that tracks orders should rise with it. On that reading, the $713 billion is not hype. It is evidence that demand outran every model.

That view has real merit, and I do not fully reject it. It does not rescue the headline for a budget owner, though. Even if every dollar of the revision is real demand, nine tenths of it is infrastructure, and the enterprise software and services lines stayed where they were.

Forecasts are not outcomes

Every figure for 2026 and 2027 here is a projection. None has been measured. Gartner's own September 2025 edition was wrong about 2026 by hundreds of billions within a year. Hold the 2027 figure with the same humility. The way survey-based AI numbers drift is covered in the review of AI ROI survey methodology.

What to watch in the next AI spending forecast revision

Gartner will publish again in roughly a quarter. Three readings will tell you whether the 2027 number is still inflating, and why.

Signals to check in the next Gartner, IDC or Forrester AI spending release
Watch thisWhy it mattersWhat would change the reading
Gartner's 2027 AI software and services linesThese are what enterprises pay directlyA large upward move would mean buyer budgets, not just cloud builds, are expanding
Gartner's stated reason for infrastructure changesSeparates more servers from pricier serversIf memory prices ease and the line still rises, demand is doing the work
An IDC worldwide release with a 2027 figureConfirms or rejects the $940 billion editionA 2027 figure near $1.2 trillion would confirm the reported trajectory

Gartner's own agent forecasts are worth reading with the same scepticism, as the scoring in the check on Gartner's 40% agent prediction shows. Analyst firms are good at sizing markets after the fact. Their forward numbers are scenarios.

Frequently asked questions

What is the Gartner AI spending forecast for 2027?

Gartner's November 2026 edition forecasts worldwide AI spending of $4.05 trillion in 2027, up 47.5% from about $2.75 trillion in 2026. Infrastructure is about $2.4 trillion of that, or 59%. AI services are $746 billion and AI software $649 billion. The figure was $3.34 trillion in Gartner's January 2026 edition, so it rose 21% in ten months.

How much will companies spend on AI in 2027 according to IDC?

IDC has not published a 2027 worldwide figure in a press release we could find. A July 2026 report citing IDC's latest spending guide put corporate AI spending at $940 billion in 2026 and $2.1 trillion in 2029. IDC's August 2025 release had projected $1.3 trillion for 2029. A smooth path between the reported figures would put 2027 near $1.2 trillion, which is our interpolation, not IDC's.

What does Forrester forecast for tech budgets in 2027?

Forrester's Predictions 2027 release, dated 21 October 2026, puts global technology spending at $6.1 trillion in 2027 and says AI will account for about 20% of business technology spending. That share includes vendor infrastructure. Forrester stresses that it does not mean an average enterprise should spend 20% of its own IT budget on AI.

Why are Gartner's AI spending numbers so much higher than IDC's?

Gartner counts the whole AI value chain, including AI-optimised servers, network gear, semiconductors and AI-capable devices such as PCs and phones. IDC sizes AI IT spending and corporate AI spending, a narrower base. For 2026, Gartner's figure is about $2.75 trillion and IDC's reported figure is $940 billion. The difference is definitional, not a disagreement about demand.

How should an enterprise set its AI budget for 2027?

Start from your own renewal stack, not the market headline. Most of Gartner's $4.05 trillion is infrastructure bought by cloud providers and device makers. The software and services lines that reach your invoices total about $1.4 trillion worldwide. Ask each vendor how their 2027 price reflects compute and memory costs, and budget for repricing at renewal.

Is AI spending growth slowing in 2027?

Not in Gartner's numbers. Its November 2026 edition has 2027 growth at 47.5%, close to the 2026 rate. Its September 2026 edition had shown 2027 growth slowing to 36.2%, so the latest revision removed most of the expected slowdown. Much of the change sits in infrastructure, where memory-driven server prices played a part.

Where to start

Before your 2027 budget meeting, rebuild the table above with one more column: your own spend in each segment. Most teams will find they can fill in software and services and nothing else. That is the honest scope of your AI budget, and it is the number to defend.

Then pull your three largest AI-touching renewals due in 2027 and ask each vendor one question in writing. What share of the price increase, if any, is passing through compute and memory cost? If you need a way to model the answer, start with the review of AI spend forecasting tools.

References

  1. Anadolu Agency, Global AI spending forecast to top $4 trillion next year, 12 November 2026. Reports Gartner's release of the same date, issued in Barcelona. Used for all November 2026 Gartner figures.
  2. CIO, AI spend will jump 49.5% in 2026, says Gartner, Lynn Greiner, 23 September 2026. Used for the September 2026 edition and Lovelock quotes.
  3. AnySilicon, Gartner forecasts worldwide AI spending to grow 47% in 2026, republished May 2026. Used for the May 2026 Gartner table.
  4. TelecomTV, Gartner says worldwide AI spending will total $2.5tn in 2026, January 2026, republishing Gartner's 15 January release and Table 1. Next Platform, Gartner takes another stab at forecasting AI spending, 31 January 2026, used for AI share of IT spending and the device boundary.
  5. Next Platform, Dicing, slicing and augmenting Gartner's AI spending forecast, 25 September 2025. Used for the September 2025 Gartner edition.
  6. Network World, Gartner forecasts 15% global IT spending growth, 22 October 2026. Used for the $7.35 trillion 2027 IT spending figure.
  7. Forrester, Forrester's 2027 technology and security predictions, 21 October 2026. Forrester blog, Global technology spending will grow a record 7.8% in 2026, 2 February 2026. AI Business, What AI's growing share of tech spending means for enterprises in 2027, 4 November 2026.
  8. IDC, Agentic AI to dominate IT budget expansion over next five years, 26 August 2025. Communications Today, Global corporate AI spending to hit $940B in 2026, 31 July 2026, citing IDC. IDC European AI spending release, 3 April 2026.

Weakest point in the source base: the November 2026 Gartner figures and the 2026 IDC edition were read through secondary publications, because the primary pages refused automated retrieval or could not be extracted. Figures last verified 17 November 2026. Every number here is a forecast and will be revised at the next edition.

SK
Sanskriti Khandelwal
Writes for Zan Digital on AI spending, software pricing and what analyst forecasts and company filings actually say.

Related reading