FFirmLensGLOBAL
COMPANY ANALYSIS · MSFT

Microsoft analysis: free cash flow gives way to capex

Microsoft, fiscal 2017–2026: operating margin up from 30.1% to 46.8%, capex from 8.4% to 34.9% of revenue, free cash flow down from its peak, beside Oracle.

For the business behind the figures: Does Microsoft’s AI growth also bring more cash? →

Microsoft's revenue grew from $96.57B in fiscal 2017 to $331.84B in fiscal 2026, 14.7% a year, without a single year below the one before across the ten fiscal years collected. Operating margin rose from 30.1% to 46.8%, highest in the final year, and slipped from one year to the next only in fiscal 2023. Microsoft closes its year in June, so fiscal 2026 here means the year to June 2026.

Cash moved the other way. Free cash flow (operating cash flow less capital expenditure) peaked at $74.07B in fiscal 2024 and fell in every year after, to $66.99B in fiscal 2026. Operating cash flow kept rising over those years, from $118.55B to $182.94B, but capital expenditure rose further, from $44.48B to $115.95B.

Key figures

Revenue$96.57B → $331.84Bfiscal 2017–2026 · 14.7% a year
Operating margin46.8%fiscal 2026 · range 30.1% to 46.8%
Net margin40.3%fiscal 2026
Operating cash flow$182.94Bfiscal 2026
Free cash flow$66.99Bfiscal 2026 · operating cash flow less capex
Return on equity30.2%fiscal 2026 · net income / closing equity

Figures are the consolidated annual data collected from SEC EDGAR, computed when this page is served. Amounts stay in the reporting currency and are not converted. Microsoft's fiscal year ends in June; this article names each fiscal year for the calendar year it ends in, which may differ from the company's own label.

A margin that widened below the gross line

Gross margin rose from 64.5% in fiscal 2017 to 69.8% in fiscal 2024 and has slipped every year since, to 67.9% in fiscal 2026. First year to last, that is a gain of 3.4 percentage points; operating margin gained 16.7 percentage points over the same span. Most of the widening did not happen at the gross line.

The difference opened between gross profit and operating income. The operating costs that sit there took 34.5% of revenue in fiscal 2017 and 21.2% in fiscal 2026. In dollars they rose, from $33.29B to $70.23B, and research and development rose from $13.04B to $35.56B — yet R&D fell from 13.5% of revenue to 10.7%. Microsoft did not spend less; revenue grew faster than the spending.

This site's "selling, general and administrative" figure for Microsoft needs a caution. It was collected from the XBRL tag for general and administrative expense (GeneralAndAdministrativeExpense) alone, so the $7.96B shown for fiscal 2026 is only that part of $70.23B in operating costs. What the remaining $26.71B — operating costs less R&D and that figure — consists of is in the other expense rows of the 10-K income statement. That is why the arithmetic above uses gross profit less operating income instead of an SG&A ratio.

Capital spending that grew every year, and what it left on the balance sheet

Capital expenditure rose every year, from the first collected to the last. As a share of revenue it went from 8.4% in fiscal 2017 to 22.9% in fiscal 2025 and 34.9% in fiscal 2026, the highest of the run. The $115.95B spent in fiscal 2026 equals 63% of that year's operating cash flow.

The spending shows on the balance sheet too. Property and equipment went from $23.73B to $313.08B, 13.2x, and from 9.5% of total assets to 41.3%. Revenue divided by total assets came down from 0.54x in fiscal 2022 to 0.44x in fiscal 2026: assets grew faster than sales. What the added property is, and how much of it is not yet in use, is in the property and equipment note of the 10-K.

Same direction as Oracle, a different distance

Oracle, in the same technology sector, has gone the same way. Its capital expenditure came to 37.0% of revenue in fiscal 2025 and 82.6% in fiscal 2026, far above Microsoft's 34.9% (Oracle's year ends in May). In dollars, Microsoft's $115.95B is the larger sum against Oracle's $55.66B.

Where they part is how much of the spending operating cash flow could carry. Microsoft's operating cash flow in fiscal 2026 was 1.6x its capital expenditure, leaving $66.99B of free cash flow. At Oracle the same multiple was 0.6x, and free cash flow came to -$23.69B. Microsoft's free cash flow has shrunk, but its capital spending still sits inside the cash its operations bring in.

Less debt every year, and far more equity

Borrowings fell every year, from $77.12B in fiscal 2017 to $40.29B in fiscal 2026, while equity grew 5.0x, from $87.71B to $442.39B. Total assets over equity came down from 3.13x in fiscal 2018 to 1.71x. Even in the years when capital spending jumped most, borrowings did not rise.

Return on equity came down from 43.7% in fiscal 2022 to 30.2% in fiscal 2026. Net margin rose over the same years, from 36.7% to 40.3%, so profitability did not weaken. Net income grew 1.8x while equity grew 2.7x: the denominator outgrew the numerator.

Cash and short-term investments fell from $133.77B in fiscal 2018 to $76.84B in fiscal 2026. Because borrowings fell too, net cash (cash and short-term investments less borrowings) was positive in every year from fiscal 2018. For fiscal 2017 no short-term investments were collected, which makes net cash look negative in this site's table; do not read that year's figure as net debt.

Years when net income took its own path

In fiscal 2018 and fiscal 2023 operating income rose while net income fell, and each time income tax was higher than the year before. In fiscal 2018 tax of $19.9B took 54.6% of pretax income of $36.47B, far from the 10.2%–19.4% of every other year. The figures do not say why; the income tax note in that year's 10-K does.

In fiscal 2026 the gap ran the other way. Non-operating income swung from -$4.9B in fiscal 2025 to $10.7B, so net income grew 31.3%, ahead of the 20.8% rise in operating income, and the 40.3% net margin is the highest collected. What that non-operating income consists of is in the other income (expense) note of the 10-K.

What to check in the filing
  • Property and equipment note: what kind of assets were added, and how much is not yet in service
  • Income tax note (fiscal 2018): why tax took so much larger a share of pretax income that year
  • Other income (expense) note (fiscal 2026): which items turned non-operating income positive
  • Metrics in the MD&A: the Microsoft Cloud figure and the Intelligent Cloud segment cover different products
The fiscal 2026 annual filing ↗

The same figures as tables

The figures in this article come from the same records as the income statement, balance sheet and cash flow tables on Microsoft's company page, where every year links to its filing.

All of Microsoft's statements MSFTFiling notes for this company Microsoft 2026 Annual Report

This analysis reads the collected filing figures and was written with AI assistance. It offers no view on the shares and no forecast, and it is not individualised advice from a financial professional. When the figures are re-collected, each sentence's condition is checked again before the text is updated. Last written: 2026-11-17 · annual financials collected 2 Nov 2026, 12:24 UTC.

Contact & corrections →