# 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.

Source: https://www.exent.ai/resources/ai-stocks-vs-the-sp500 · Reviewed by David, Senior Analyst, Exent · Published Nov 21, 2026 · Updated Nov 21, 2026

> 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%.

## 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 2026 | Stocks | Beat the S&P 500 | Higher Sharpe than the index | Median total return | Median worst drop | Lost money |
| --- | --- | --- | --- | --- | --- | --- |
| Semiconductors | 40 | 25 (63%) | 14 | +131.2% | 58.5% | 5 |
| Hardware and networking | 43 | 28 (65%) | 18 | +161.5% | 46.9% | 6 |
| Software | 76 | 15 (20%) | 5 | −10.1% | 65.8% | 42 |
| [S&P 500 (SPY)](https://www.exent.ai/etfs/spy) | — | — | Sharpe 0.69 | +89.1% | 23.9% | — |

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.

| Rank | Stock | Group | 5-year total return | Sharpe | Worst drop |
| --- | --- | --- | --- | --- | --- |
| 1 | [Micron (MU)](https://www.exent.ai/stocks/mu) | Chips | +1,437% | 1.06 | 46.0% |
| 2 | Applied Optoelectronics (AAOI) | Networking | +1,283% | 0.84 | 79.7% |
| 3 | [Lumentum (LITE)](https://www.exent.ai/stocks/lite) | Networking | +1,063% | 1.00 | 62.9% |
| 4 | [Super Micro Computer (SMCI)](https://www.exent.ai/stocks/smci) | Hardware | +1,022% | 0.87 | 77.5% |
| 5 | [Dell Technologies (DELL)](https://www.exent.ai/stocks/dell) | Hardware | +1,022% | 1.01 | 39.0% |
| 6 | [NVIDIA (NVDA)](https://www.exent.ai/stocks/nvda) | Chips | +1,004% | 1.16 | 62.8% |
| 7 | [Western Digital (WDC)](https://www.exent.ai/stocks/wdc) | Hardware | +970% | 1.03 | 51.6% |
| 8 | TTM Technologies (TTMI) | Hardware | +877% | 1.00 | 38.3% |
| 9 | [Arista Networks (ANET)](https://www.exent.ai/stocks/anet) | Networking | +848% | 1.22 | 34.8% |
| 10 | AXT (AXTI) | Chips | +829% | 0.83 | 84.1% |
| 11 | [Broadcom (AVGO)](https://www.exent.ai/stocks/avgo) | Chips | +689% | 1.12 | 31.7% |
| 12 | [Palantir (PLTR)](https://www.exent.ai/stocks/pltr) | Software | +678% | 0.82 | 75.2% |
| 13 | Aehr Test Systems (AEHR) | Chips | +630% | 0.80 | 86.0% |
| 14 | [Ciena (CIEN)](https://www.exent.ai/stocks/cien) | Networking | +585% | 0.93 | 47.5% |
| 15 | [Flex (FLEX)](https://www.exent.ai/stocks/flex) | Hardware | +522% | 0.93 | 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](https://www.exent.ai/resources/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 stock | 5-year total return | Worst drop |
| --- | --- | --- |
| [Microsoft (MSFT)](https://www.exent.ai/stocks/msft) | +89.2% | 30.5% |
| C3.ai (AI) | −76.3% | 82.8% |
| UiPath (PATH) | −75.6% | 80.4% |
| [DocuSign (DOCU)](https://www.exent.ai/stocks/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:

| Fund | 5-year total return | Sharpe | Worst drop |
| --- | --- | --- | --- |
| [VanEck Semiconductor (SMH)](https://www.exent.ai/etfs/smh) | +389.8% | 1.00 | 40.1% |
| Invesco AI and Next Gen Software (IGPT) | +128.5% | 0.58 | 37.8% |
| [S&P 500 (SPY)](https://www.exent.ai/etfs/spy) | +89.1% | 0.69 | 23.9% |
| [iShares Expanded Tech-Software (IGV)](https://www.exent.ai/etfs/igv) | +33.4% | 0.22 | 43.0% |
| Global X Robotics & AI (BOTZ) | −2.5% | −0.01 | 51.9% |

Fund-level results depended on what the fund actually held, not on its name. More in [which ETFs beat the S&P 500](https://www.exent.ai/resources/etfs-that-beat-the-sp500) 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](https://www.exent.ai/resources/ai-exposure-in-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: [Exent portfolio check](https://www.exent.ai/portfolio)

## Frequently asked questions

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

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.

### Which AI stocks have beaten the market?

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.

### Did chip stocks beat the market on a risk-adjusted basis?

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.

### Did AI ETFs beat the S&P 500?

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%.

### Why did AI software stocks underperform?

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.

---

Educational content, not investment advice. Past performance does not guarantee future results.
