The S&P 500 hit record highs in 2025 even as many American households reported feeling financially squeezed, and that contradiction left a lot of people wondering whether the market and the economy were even measuring the same thing. The short answer is that they are related, but they are not the same thing, and understanding the difference can make you a better investor.Yes, but the relationship is looser, and more complicated, than most people assume.The economy measures the total output of goods and services, captured through GDP, along with employment, wages, and consumer spending. The stock market, by contrast, measures something narrower: the expected future profits of publicly traded companies, filtered through investor sentiment and the cost of capital.Stocks tend to move with company profits, while the broader economy is driven by paychecks and consumer spending. That is why the S&P 500 can keep climbing even when everyday sentiment feels soft.The numbers bear this out over time. Since 2000, S&P 500 earnings per share are up roughly 356%, and the total return is up about 632%. Over the same period, nominal GDP has grown around 200%. Those two trajectories belong to related but distinct systems.Why the Stock Market Is Not a Perfect Economic BarometerOne of the most important things to understand is that the S&P 500 does not represent the U.S. economy as a whole. It represents 500 large, mostly multinational companies that earn a significant portion of their revenue outside the United States. A strong dollar, overseas growth, and corporate buybacks can all push the index higher even when domestic conditions are weakening.A significant concentration risk underpins this distortion, where a handful of mega-cap companies dominate the index's performance. This creates a surface-level strength that masks underlying economic stress visible in other data, such as tighter credit conditions for small businesses and uneven employment trends across industries.The recent AI-driven rally is a clear example. AI infrastructure stocks have seen 2026 earnings estimates revised higher by more than 50% since December 2024, while the S&P 500 excluding AI infrastructure has seen estimates move down slightly. The headline index number looks strong, but most companies in it are not sharing equally in that strength.How Markets Feed Back Into the EconomyThe connection runs in both directions.When stock prices rise, people who own shares feel wealthier and tend to spend more. This is called the wealth effect, and it is a real transmission channel between Wall Street and Main Street, though it does not reach everyone equally.The bottom 60% of households by income own only 15% of stocks and account for 45% of spending. The highest-earning 20% of households account for 35% of spending, and their share of stocks is even higher.That asymmetry matters. Strong stock market gains boost wealth for higher-income households, which supports their spending, but do little for lower-income households. When the market is the primary engine lifting consumer confidence, it tends to benefit a narrow slice of the population.The Stock Market as a Leading IndicatorEconomists consider equity markets a leading economic indicator, meaning they tend to move before the broader economy does, not after.When investors expect corporate profits to rise, they bid up stocks today in anticipation of earnings six to twelve months from now. When they expect a slowdown, they sell before the GDP data confirms it. This is why markets often fall sharply before recessions are officially declared, and why they can start recovering while unemployment is still rising.But the leading relationship is imperfect. Markets can and do get it wrong. They can rally on speculation, cheap money, or concentrated momentum rather than genuine economic improvement. The 2023 to 2025 surge is a textbook example: that rally was not a discounting of stronger fundamentals but a momentum-driven move concentrated in a few names.What Drives Each OneGDP is driven primarily by consumer spending, government expenditure, business investment, and net exports. Employment growth and wage gains feed directly into it.Stock prices are driven by corporate earnings, interest rates, investor expectations, and liquidity conditions. In the current environment, there is a clear split between AI-driven winners and the rest of the equity market. In the broader economy, strong capital expenditure stands in contrast to weaker labor demand and consumer spending. That kind of divergence, where the index signals one thing and the labor market another, has become increasingly common.How Investors Should Think About ThisUnderstanding the gap between markets and the economy helps you avoid two common mistakes.The first is assuming that a rising stock market means everything is fine. A booming S&P 500 tells you something about the profitability of large public companies and the confidence of institutional investors. It tells you much less about wages, small business health, or whether consumer debt is piling up.The second is assuming that a rough economy means stocks will fall. Corporate profits can expand even during weak GDP periods if companies cut costs, buy back shares, or benefit from sector-specific tailwinds.For investors who want some exposure to the economy itself rather than just large-cap equity, real assets can offer a more direct link. Real estate investing for beginners is one place to start thinking about that, since rental income and property values tend to track broader economic activity more closely than the S&P 500.Platforms like Arrived let you buy fractional shares of individual rental properties for as little as $100, with the platform handling tenant management and rent collection while investors collect quarterly income. If you are looking to build exposure outside of traditional equities, Arrived's fractional rental property investing is worth a look as one way to diversify beyond the stock market index.The more useful habit is to watch both signals at once. When the market and economic data are telling different stories, as they have been lately, that gap is often where the most important investing questions live.