US stocks are experiencing one of their most significant quarterly gains in recent memory, with major indexes set to conclude the first half of the year on a high note. The Dow Jones Industrial Average is poised for an 8% gain for the first half, its best since 2021. The Nasdaq 100 is on track for an 18% gain, marking its second-best quarter in approximately 25 years. The S&P 500 is set for an 8% gain for the half, while the small-cap Russell 2000 is expected to increase by 21%, its best first half since 1991. The Philadelphia Semiconductor Index has been a major driver, soaring 80% since the end of March and putting it on track for its best-ever quarter.

Several factors have contributed to this strong performance. First, receding tensions between the US and Iran, culminating in a preliminary peace deal, have eased geopolitical concerns that had previously caused a 10% drop in major indexes by late March. Second, robust corporate earnings have significantly exceeded Wall Street's expectations, with around 85% of S&P 500 firms beating estimates in the second quarter, the highest percentage in five years. Analysts anticipate a 23% year-over-year earnings growth for the current quarter and a 21% price increase in the S&P 500 over the next 12 months.

Finally, relentless enthusiasm for AI and technology stocks, particularly in the hardware segment, has fueled the rally. Chip and memory companies have seen extraordinary gains, with Sandisk up 764%, Micron Technology up 301%, Western Digital up 278%, Intel up 257%, Seagate Technology Holdings up 252%, Marvell Technologies up 229%, and Corning up 192%. This focus on AI hardware has made these companies the market's top performers, with the Philadelphia Semiconductor Index alone soaring 81% since the start of the year.