ResourcesInsight

Did AI and Chip Stocks Beat the S&P 500?

We grouped the semiconductor, hardware and software stocks in our data and compared each with the S&P 500 over five and ten years, including risk. Chips and hardware mostly beat the index. Software mostly did not, AI label or not.

Published Updated 7 min readHow we research

Disclosure: Exent publishes this page and makes one of the products discussed. Facts about other products are checked on their own sites and dated. Our editorial policy explains how.

Key takeaways

  • Chips yes, software mostly no. Over the 5 years to Sep 30, 2026, 25 of 40 semiconductor stocks beat the S&P 500, but only 15 of 76 software stocks did, and 42 of those 76 lost money.
  • The median chip stock returned 131.2% over 5 years and the median hardware and networking stock 161.5%, against 89.1% for the S&P 500 (SPY).
  • The ride was rough: the median chip stock’s worst drop in those 5 years was 58.5%, against 23.9% for the index.
  • Risk-adjusted, the edge shrank: only 14 of 40 chip stocks had a higher Sharpe ratio than the S&P 500.
  • An AI name was no guarantee: C3.ai lost 76.3% over 5 years, and a robotics and AI ETF (BOTZ) lost 2.5% while the index rose 89.1%.

What is your own portfolio exposed to? Check it with Exent →

Did AI and chip stocks beat the S&P 500 over the last 5 years?

Chip and hardware stocks mostly did; software stocks mostly did not. We grouped the US-listed stocks in Exent’s data by industry and compared each with SPY over the 5 and 10 years to Sep 30, 2026, using total returns with dividends reinvested.

Group, 5 years to Sep 2026StocksBeat the S&P 500Higher Sharpe than the indexMedian total returnMedian worst dropLost money
Semiconductors4025 (63%)14+131.2%58.5%5
Hardware and networking4328 (65%)18+161.5%46.9%6
Software7615 (20%)5−10.1%65.8%42
S&P 500 (SPY)——Sharpe 0.69+89.1%23.9%—
  • Semiconductors
    Stocks
    40
    Beat the S&P 500
    25 (63%)
    Higher Sharpe than the index
    14
    Median total return
    +131.2%
    Median worst drop
    58.5%
    Lost money
    5
  • Hardware and networking
    Stocks
    43
    Beat the S&P 500
    28 (65%)
    Higher Sharpe than the index
    18
    Median total return
    +161.5%
    Median worst drop
    46.9%
    Lost money
    6
  • Software
    Stocks
    76
    Beat the S&P 500
    15 (20%)
    Higher Sharpe than the index
    5
    Median total return
    −10.1%
    Median worst drop
    65.8%
    Lost money
    42
  • S&P 500 (SPY)
    Stocks
    —
    Beat the S&P 500
    —
    Higher Sharpe than the index
    Sharpe 0.69
    Median total return
    +89.1%
    Median worst drop
    23.9%
    Lost money
    —

Over 10 years the picture was similar: 25 of 35 chip stocks and 30 of 39 hardware and networking stocks beat the index, against 14 of 42 software stocks. The median 10-year return was 635.9% for chips, 535.7% for hardware and 223.6% for software, against 310.7% for SPY.

Which AI and chip stocks beat the market?

The table ranks the 15 best 5-year performers across the three groups. These are past results over one window, listed for research, not as recommendations or forecasts.

RankStockGroup5-year total returnSharpeWorst drop
1Micron (MU)Chips+1,437%1.0646.0%
2Applied Optoelectronics (AAOI)Networking+1,283%0.8479.7%
3Lumentum (LITE)Networking+1,063%1.0062.9%
4Super Micro Computer (SMCI)Hardware+1,022%0.8777.5%
5Dell Technologies (DELL)Hardware+1,022%1.0139.0%
6NVIDIA (NVDA)Chips+1,004%1.1662.8%
7Western Digital (WDC)Hardware+970%1.0351.6%
8TTM Technologies (TTMI)Hardware+877%1.0038.3%
9Arista Networks (ANET)Networking+848%1.2234.8%
10AXT (AXTI)Chips+829%0.8384.1%
11Broadcom (AVGO)Chips+689%1.1231.7%
12Palantir (PLTR)Software+678%0.8275.2%
13Aehr Test Systems (AEHR)Chips+630%0.8086.0%
14Ciena (CIEN)Networking+585%0.9347.5%
15Flex (FLEX)Hardware+522%0.9332.6%
  • 1
    Group
    Chips
    5-year total return
    +1,437%
    Sharpe
    1.06
    Worst drop
    46.0%
  • 2
    Stock
    Applied Optoelectronics (AAOI)
    Group
    Networking
    5-year total return
    +1,283%
    Sharpe
    0.84
    Worst drop
    79.7%
  • 3
    Group
    Networking
    5-year total return
    +1,063%
    Sharpe
    1.00
    Worst drop
    62.9%
  • 4
    Group
    Hardware
    5-year total return
    +1,022%
    Sharpe
    0.87
    Worst drop
    77.5%
  • 5
    Group
    Hardware
    5-year total return
    +1,022%
    Sharpe
    1.01
    Worst drop
    39.0%
  • 6
    Group
    Chips
    5-year total return
    +1,004%
    Sharpe
    1.16
    Worst drop
    62.8%
  • 7
    Group
    Hardware
    5-year total return
    +970%
    Sharpe
    1.03
    Worst drop
    51.6%
  • 8
    Stock
    TTM Technologies (TTMI)
    Group
    Hardware
    5-year total return
    +877%
    Sharpe
    1.00
    Worst drop
    38.3%
  • 9
    Group
    Networking
    5-year total return
    +848%
    Sharpe
    1.22
    Worst drop
    34.8%
  • 10
    Stock
    AXT (AXTI)
    Group
    Chips
    5-year total return
    +829%
    Sharpe
    0.83
    Worst drop
    84.1%
  • 11
    Group
    Chips
    5-year total return
    +689%
    Sharpe
    1.12
    Worst drop
    31.7%
  • 12
    Group
    Software
    5-year total return
    +678%
    Sharpe
    0.82
    Worst drop
    75.2%
  • 13
    Stock
    Aehr Test Systems (AEHR)
    Group
    Chips
    5-year total return
    +630%
    Sharpe
    0.80
    Worst drop
    86.0%
  • 14
    Group
    Networking
    5-year total return
    +585%
    Sharpe
    0.93
    Worst drop
    47.5%
  • 15
    Group
    Hardware
    5-year total return
    +522%
    Sharpe
    0.93
    Worst drop
    32.6%

Most of the leaders sold the physical parts of AI data centers: memory, storage, servers, optics and networking. Only one software company made the top 15. Several of the winners also had falls of 75% or more inside the same five years, which is the price of that kind of return. How the suppliers fit together is covered in picks-and-shovels investing.

Why did so many software stocks trail?

Largely because of 2022 and what followed. The median software stock in the data fell 41.0% that year (52 of 77 fell more than 30%), about as much as the median chip stock (−40.0%) and far more than SPY (−18.2%), but many software stocks did not recover by Sep 2026. Meanwhile the largest gains of the AI build-out went to hardware. Microsoft, the largest software company, returned 89.2% over the 5 years, essentially level with the index. At the other end:

Software stock5-year total returnWorst drop
Microsoft (MSFT)+89.2%30.5%
C3.ai (AI)−76.3%82.8%
UiPath (PATH)−75.6%80.4%
DocuSign (DOCU)−73.9%86.0%
Asana (ASAN)−91.9%95.3%

C3.ai is the clearest warning: a company whose ticker is literally AI lost three-quarters of its value in five years when the AI theme was at its strongest. A theme label tells you what a company talks about, not whether its shares will benefit.

Did AI and chip ETFs beat the S&P 500?

Chip funds did, broad AI and software funds were mixed. Five-year total returns to Sep 30, 2026:

Fund5-year total returnSharpeWorst drop
VanEck Semiconductor (SMH)+389.8%1.0040.1%
Invesco AI and Next Gen Software (IGPT)+128.5%0.5837.8%
S&P 500 (SPY)+89.1%0.6923.9%
iShares Expanded Tech-Software (IGV)+33.4%0.2243.0%
Global X Robotics & AI (BOTZ)−2.5%−0.0151.9%

Fund-level results depended on what the fund actually held, not on its name. More in which ETFs beat the S&P 500 and thematic ETFs.

What does this mean for a portfolio with AI exposure?

Three things. First, AI exposure is easy to accumulate without noticing: chip stocks, a tech fund and the largest index holdings often move together. Second, past group results hide very wide outcomes inside each group, from more than 1,000% to losses of over 90%. Third, the index already holds the largest AI winners at their market weight, so beating it with AI stocks means picking better than that weighting. See how much AI exposure is in your portfolio and the Magnificent 7 and beating the index.

Method and caveats

  • Groups by industry classification: Semiconductors; Software (application and infrastructure); Hardware and networking (computer hardware, communication equipment, and hardware, equipment and parts). Not every company in a group sells to AI, and some AI-related companies sit elsewhere.
  • Returns are total returns from month-end adjusted closes for windows ending Sep 30, 2026; Sharpe ratios and worst drops are from monthly data.
  • Survivorship bias: only companies listed today are included. Companies that were acquired or delisted are missing, which flatters the results.
  • No costs or taxes. One end date; a different window, especially around 2022, would change the ranking.

How to measure your AI exposure with Exent

  1. Upload a screenshot of your holdings (no brokerage login) and Exent groups chip, hardware and tech fund positions that move together into correlation clusters.
  2. Crash replays show how that cluster would have fallen in 2018, 2022 and 2025, and the what‑if simulator tests a smaller AI weight before you trade.
  3. Gems, stocks where several of the best‑rated analysts agree, are our hunt for the next big winners; analysts’ past accuracy, not a forecast.

Exent is our product. Educational content, not investment advice.

Frequently asked questions

Chip and hardware stocks mostly did: 25 of 40 semiconductor stocks and 28 of 43 hardware and networking stocks beat the S&P 500 over the 5 years to Sep 2026. Only 15 of 76 software stocks did.

Over the 5 years to Sep 2026, the leaders included Micron, Lumentum, Dell, Nvidia, Arista Networks and Broadcom, mostly suppliers of data center hardware. These are past results and not predictions.

Fewer did. Only 14 of 40 semiconductor stocks had a higher 5-year Sharpe ratio than the S&P 500, because their median worst drop was 58.5% against 23.9% for the index.

Semiconductor funds such as SMH did, returning 389.8% over 5 years to Sep 2026 against 89.1% for SPY. A robotics and AI fund (BOTZ) lost 2.5% and a software fund (IGV) returned 33.4%.

Mostly because many fell hard in 2022 (the median software stock lost 41.0%) and did not recover, while the largest AI-era gains went to chips, servers and networking. The median software stock lost 10.1% over the 5 years to Sep 2026.

See what your portfolio is really made of.

Upload a screenshot of your holdings and get concentration, overlap, crash exposure and a risk-matched benchmark in about a minute.

Check my portfolioLimited offer$1.95 for unlimited checks· unlimited checks

Educational content, not investment advice. Examples are illustrative; past performance does not guarantee future results.

DISCLAIMER: Exent AI is an informational research platform and does not provide investment advice, financial advice, or act as an investment adviser, broker-dealer, or fiduciary. All content, analytics, and model outputs are provided for educational and informational purposes only and should not be relied upon as a recommendation to buy, sell, or hold any financial instrument. Investing involves risk, including the possible loss of principal. Exent AI does not execute trades, hold customer funds, or provide brokerage services. Past performance and hypothetical results are not indicative of future results. Third-party data and AI-generated outputs may be incomplete or inaccurate.