How does the stock market work? The short answer
A stock (or share) is a tiny slice of ownership in a company.1 Companies sell shares to raise money for things like new products, new buildings or paying off debt.1 After that first sale, investors buy and sell those shares with each other on a stock exchange, such as the New York Stock Exchange or Nasdaq.24 The price of a share is simply what a buyer and a seller agree on. If more people want to buy than sell, it goes up; if more want to sell, it goes down.5 People decide what to pay based on how much they expect the company to earn in the future, which is why news moves prices every day.7
This page explains how markets work; it isn't financial advice. The lemonade company in the explainer is made up.
What is a stock? A slice of a company
Imagine a lemonade stand that wants to build a $1,000 factory. The owner could borrow the money, or split the company into 100 shares and sell each one for $10. Whoever buys a share becomes a part-owner. Real companies do exactly this; a person who owned 100% of a company's stock would own the whole company, but in big, well-known firms no single person usually owns most of the shares.2
Owning stock can pay you back in two ways:19
- Capital gains: the share price rises, and you sell it for more than you paid.
- Dividends: the company shares part of its profit with shareholders. Dividends aren't guaranteed; a company can cut them or stop paying them.68
Common stock usually also lets you vote at shareholder meetings.1 The catch: if the company goes bankrupt, common shareholders are last in line to be paid, and may get nothing.1
IPOs: when the company gets your money
When a company first sells shares to the public, that's called an initial public offering (IPO).3 This is when the company actually receives cash for its shares (it can also sell new shares later).2 After that, almost every trade is between investors. If you buy a share on an exchange, you buy it from the person who already owns it, and the company gets none of your money, just as a house builder doesn't get paid when a house is resold.2
What is a stock exchange, and how does a trade happen?
Stock markets grew out of small meetings of people who wanted to buy and sell shares and found it easier to do it in one place.5 Today an exchange can be a physical place, like the New York Stock Exchange (NYSE) on Wall Street in Manhattan, or completely electronic, like the Nasdaq Stock Market, where computers connect buyers and sellers.4 Regular U.S. exchange trading hours are 9:30 a.m. to 4:00 p.m. Eastern Time.21
To buy, you place an order through a broker, who sends it to an exchange.5 Two prices matter:
The bid is almost always lower than the ask, because buyers want the lowest price and sellers want the highest.522 The last price where they met is the "price" you see quoted.
Who sets stock prices? Supply and demand
Nobody sets the price of a share. It's decided by buyers and sellers, much like bidding at an auction: if lots of people want to buy a stock, its price goes up.5 If more people want to sell, sellers have to accept lower prices, and it goes down. That's why share prices move all the time, sometimes by a few cents, sometimes by several dollars.6
So what makes people want to buy or sell? Mostly expectations. A share's price reflects what investors expect the company to earn in the future.7 When news changes those expectations, the price changes. That has a surprising consequence: a great company isn't automatically a rising stock. If everyone already expects big profits, that's already in the price. Only new information moves it, and because nobody can predict tomorrow's news, economists say prices follow a "random walk with a trend": day to day, up and down are about equally likely, but over time the upward steps have tended to be bigger.7
Why is the stock market down?
When "the market is down," it means that on average, share prices across many companies fell. That happens when lots of investors, all at once, start expecting lower profits or more risk. The usual culprits are:512
- Rising interest rates. Higher rates make borrowing more expensive and make safer options like savings more attractive compared with stocks, so the Federal Reserve notes that rate changes affect stock prices.12
- Fears of a recession. Economic signs like unemployment and inflation hint at how much people will spend, and so how much companies may earn.5
- Weak company news. Lower profits or sales at big companies, or bad results across a whole industry.5
- Government decisions. Changes to taxes, trade policy or regulations.5
- Big world events. Wars, natural disasters, pandemics or changes in governments.5 In early 2020, for example, share prices plunged as worries about COVID-19 grew, reflecting both lower expected income and less appetite for risk.13
Often it's a mix, and fear can feed on itself: in the 1987 crash, sell orders vastly outnumbered buyers, and prices tumbled.17 What about today? This page doesn't track live prices, and nobody can reliably predict the market's next move.57 For the reasons behind a particular day's fall, check a trusted news source.
A fall of 20% or more in a broad index over at least two months is called a bear market; a rise of 20% or more is a bull market.1920
What is a stock market index? (Dow, S&P 500)
With thousands of companies trading, people use an index to sum up "the market." An index tracks a basket of stocks that represents a market or a part of it.10
In the explainer, the index is a simple average of five made-up shops, so one shop can fall while the index still rises. Real indexes often give bigger companies more weight, based on market capitalization: share price times the number of shares.1123 You can't buy an index itself, but index funds try to copy one.11
Does the stock market always go up? What history shows
Over long periods, stocks as a group have given high returns, but with big risks, especially in the short run.9 Here's the average yearly total return (price gains plus dividends) of S&P 500 stocks by decade:9
And there have been deep drops along the way:
- 1929–1932: the Dow fell nearly 13% on Black Monday (October 28, 1929) and nearly 12% the next day; by summer 1932 it was 89% below its peak, and it didn't get back until November 1954.15
- 1987: on October 19, the Dow dropped 22.6% in a single day, the largest one-day percentage fall in its history. Exchanges later added rules to pause trading during fast sell-offs.17
- 2007–2009: the S&P 500 fell 57% from its October 2007 peak to March 2009.16
- 2020: by March 23, the S&P 500 was down 30.5% from the end of 2019; by early November it was 9% above that level.14
Large-company stocks as a group have lost money in about one year out of every three, yet investors who stuck with stocks over long stretches, say 15 years, have generally been rewarded, with no guarantee.1 That's why many people practise diversification, spreading money across many different investments ("don't put all your eggs in one basket"), so one bad company or sector hurts less.18 Picking winners is hard: typically half to two-thirds of stock-picking funds fail to beat the market average.7
Want to see why long periods matter so much? Read how compound interest works. And to see why a dollar buys less over time, see what causes inflation.
Common misconceptions
"Buying a share gives the company money." Only when the company sells new shares, like at its IPO. Most trades are between investors.
2
"The company sets its share price." The price is wherever buyers and sellers agree to trade.
5
"A good company always means a rising stock." Prices move on
changes in expectations; good news everyone expected is already in the price.
7
"The market always goes up." It has grown over long periods on average, but with crashes of 50% or more and years-long losses.
91516
"The Dow is the whole market." It's just 30 companies. Wider indexes like the S&P 500 track many more.
10
FAQ
How does the stock market work, in simple terms?
Companies raise money by selling small slices of ownership called shares. After that first sale, investors buy and sell those shares with each other on stock exchanges such as the New York Stock Exchange and Nasdaq. A trade happens when a buyer's price (the bid) meets a seller's price (the ask). If more people want to buy than sell, the price rises; if more want to sell, it falls.
Why is the stock market down?
The market falls when many investors expect lower profits or more risk at the same time. Common reasons include rising interest rates, fears of a recession, weak company results, and big shocks such as wars, pandemics or natural disasters. Nobody can reliably predict these moves; for the reasons behind a particular day's fall, check a trusted news source.
Does a company get money when I buy its stock?
Usually not. A company receives money only when it sells its own new shares, for example in its IPO, for example in its initial public offering (IPO). When you buy a share later on an exchange, your money goes to the investor who sold it, not to the company.
Who decides the price of a stock?
No single person. The price is simply the last price at which a buyer and a seller agreed to trade. It moves all day as buyers and sellers change what they're willing to pay, mostly based on what they expect the company to earn in the future.
What is a stock market index like the Dow or the S&P 500?
An index tracks a basket of stocks to show how a part of the market is doing. The Dow Jones Industrial Average follows 30 large U.S. companies, and the S&P 500 follows 500 of the largest U.S. companies. You can't buy an index directly, but index funds try to copy one.
Can you lose money in the stock market?
Yes. Share prices go down as well as up, and there's no guarantee a company will do well. Large-company stocks as a group have lost money in about one year out of every three, and if a company goes bankrupt its common shareholders are last in line and may get nothing.
How much will $50,000 be worth in 20 years in the stock market?
Nobody knows. Past returns have varied a lot: S&P 500 stocks averaged about 18% a year in the 1990s but lost about 1% a year in the 2000s. Over long periods stocks have generally grown, but future returns are never guaranteed, which is why many people spread their money across many investments.
Sources
- U.S. SEC, Investor.gov: Stocks FAQs
- OpenStax, Principles of Economics 3e, 17.1 How Businesses Raise Financial Capital
- U.S. SEC, Investor.gov: Initial Public Offering (IPO)
- Vanguard, What are stock exchanges and how do they work?
- New York State Attorney General, How financial markets work
- FINRA, Stocks
- OpenStax, Principles of Economics 3e, 17.3 How to Accumulate Personal Wealth
- U.S. SEC, Investor.gov: Dividend
- OpenStax, Principles of Economics 3e, 17.2 How Households Supply Financial Capital (Table 17.2)
- U.S. SEC, Investor.gov: Market Indices
- U.S. SEC, Investor.gov: Index Funds
- Federal Reserve Board, Monetary Policy: What Are Its Goals? How Does It Work?
- Federal Reserve Board, Financial Stability Report (May 2020): Asset valuations
- Federal Reserve Bank of St. Louis, V-Shaped Recovery Eludes G-7 Countries (2020)
- Federal Reserve History, Stock Market Crash of 1929
- Federal Reserve History, The Great Recession
- Federal Reserve History, Stock Market Crash of 1987
- U.S. SEC, Investor.gov: Asset Allocation and Diversification
- U.S. SEC, Investor.gov: Bear market
- U.S. SEC, Investor.gov: Bull market
- U.S. SEC, Investor.gov: Extended-Hours Trading bulletin
- U.S. SEC, Investor.gov: Bid price
- U.S. SEC, Investor.gov: Market capitalization