How the Stock Market Works
The stock market is a set of exchanges where shares of companies are bought and sold. This guide explains what a stock is, how prices move, how a trade happens and what the risks look like in numbers.
- A stock is a share of ownership in a company. Investors make money when the price rises and when companies pay dividends, and they can lose money when prices fall.
- Prices are set by buyers and sellers on exchanges. When more people want to buy than sell, the price tends to rise, and the reverse is also true.
- The SEC's investor education site notes that large-company stocks as a group have lost money on average about one year out of every three, and that people who held for longer periods, such as 15 years, have historically fared better.
- A loss needs a bigger gain to recover: a 50% drop takes a 100% gain to get back to even.
In this article
The stock market is where ownership shares of public companies are bought and sold. When a company wants to raise money, for example to pay off debt, launch a product or build new facilities, it can sell stock to investors. After that first sale, shares trade among investors on exchanges, and the company does not receive money from those later trades. The prices you see in the news are the result of those trades.
What a stock is
According to Investor.gov, a stock is a security that represents a share of ownership in a company, which is why stocks are also called equities. There are two main kinds:
| Common stock | Preferred stock | |
|---|---|---|
| Voting rights | Usually yes, at shareholder meetings | Usually no |
| Dividends | Possible, not fixed | Paid before common dividends |
| If the company fails | Paid last, after lenders, bondholders and preferred holders | Paid before common holders |
| Typical use | Most stock investors hold this | Less common for individuals |
If a company goes bankrupt, common stockholders are paid last and may receive nothing. That is why stocks carry more risk than bonds or savings accounts.
How investors make money
- Price appreciation. You buy a share at one price and sell it later for more. The profit is a capital gain, taxed when you sell. See the capital gains tax guide.
- Dividends. Some companies share part of their profits with shareholders, usually as regular cash payments. Dividends are not guaranteed, and a company can cut them.
- Influence. Owners of voting shares can vote on certain company matters.
Total return combines both price change and dividends. A stock that rises 5% and pays a 2% dividend returned about 7% before taxes.
How prices are set
A stock's price is the latest price at which a buyer and a seller agreed to trade. If many people want to buy and few want to sell, buyers bid higher prices. If many want to sell, sellers accept lower ones. The things that move those decisions include company earnings, news, interest rates, the economy and investor mood. Prices can change within seconds.
Two numbers show up often:
- Market capitalization is the share price times the number of shares. A company with 2 million shares at $50 has a market cap of $100,000,000.
- A stock index such as the S&P 500 combines many stocks into one number so you can see how the market is doing as a whole.
Exchanges, brokers and how a trade happens
An exchange is a regulated marketplace where buy and sell orders are matched. Individuals do not trade directly. You open an account with a broker, which sends your order to the market. Investor.gov describes discount brokers, which charge less but expect you to do your own research, and full-service brokers, which charge more and provide research-based advice. Many people also buy through a 401(k) or an IRA, where the plan or the brokerage handles the trades.
Order types
| Order | What it does | When it fits | Watch out for |
|---|---|---|---|
| Market order | Buys or sells right away at the best available price | You want the trade done now | The price may differ from the last price you saw |
| Limit order | Buys or sells only at your price or better | You care about the price | It may never fill |
| Stop order | Becomes a market order when a price is reached | Limiting a loss | It can fill at a worse price in a fast market |
Settlement
When you buy, the trade settles a short time later, meaning money and shares officially change hands. Your broker handles it. Check your broker's rules on timing, since you cannot use unsettled money in some account types.
Risk in numbers
Stocks go up and down. Two simple calculations make the risk concrete.
Recovering from a loss
| Drop in value | Gain needed to get back to even |
|---|---|
| 10% | 11% |
| 20% | 25% |
| 30% | 43% |
| 40% | 67% |
| 50% | 100% |
| 60% | 150% |
A 50% drop needs a 100% gain. This asymmetry is why large losses are hard to recover from, and why investors who need the money soon are advised to hold less in stocks.
Holding period
Short periods can be rough. Investor.gov notes that large-company stocks lost money on average about one year in three, while people who held for longer periods have historically done better. That is a pattern from the past, not a promise. The longer your time horizon, the more time you have to recover from declines, which is the main reason retirement savers who are decades away from needing the money often hold more stocks than people who need the money soon.
Investing regularly
One way to reduce the stress of timing is to invest a fixed amount on a schedule. This is often called dollar-cost averaging. The example buys $200 a month while the price per share moves up and down.
| Month | Price per share | Shares bought for $200 |
|---|---|---|
| 1 | $50.00 | 4.000 |
| 2 | $40.00 | 5.000 |
| 3 | $30.00 | 6.667 |
| 4 | $40.00 | 5.000 |
| 5 | $50.00 | 4.000 |
| 6 | $60.00 | 3.333 |
Over six months the investor put in $1,200 and bought 28.000 shares, an average cost of $42.86 per share, which is lower than the simple average price of $45.00, because more shares were bought when the price was low. At the end, with the price at $60, the holdings are worth $1,680. The example uses invented prices. The method does not prevent losses, and it does not beat investing a lump sum in every market, but it makes investing a habit.
Bull and bear markets
A bull market is a long rise in prices, and a bear market is a prolonged decline, often defined as a drop of 20% or more from a recent peak. Neither lasts forever, and nobody can reliably predict when one begins or ends. Trying to jump in and out is hard and often costly. Staying invested through ups and downs, with a mix of investments that you can live with, is the usual advice from investor educators.
What moves the whole market
- Company earnings. Profits drive prices over time.
- Interest rates. When the Federal Reserve changes its target rate, borrowing costs change, which can move stocks and bonds. See how Fed rate changes affect you.
- Inflation. Rising prices can squeeze profits and change interest rates. See what is inflation.
- The economy. Jobs, spending and growth shape earnings.
- News and sentiment. Short-term moves often reflect mood as much as facts.
How to invest without picking stocks
Buying a handful of individual stocks concentrates risk. Many people use funds that hold hundreds or thousands of stocks at once. Index funds track a market index. The ETF vs mutual fund guide explains the two ways to buy them. For the first steps, read how to start investing.
Common mistakes
- Investing money you will need soon. Stocks can fall right when you need to sell.
- Putting everything in one company. Diversification reduces the damage of one failure.
- Following tips and hype. Chasing a rising stock after the news often buys at a peak.
- Panic selling. It locks in losses.
- Ignoring costs and taxes. Fees and short-term gains take a bite.
- Expecting steady returns. Returns vary year to year.
Frequently asked questions
What is the stock market in simple terms?
A set of exchanges where shares of public companies are bought and sold at prices set by buyers and sellers.
Can you lose all your money in stocks?
You can lose money, and the value of an individual stock can fall to zero if a company fails. A diversified fund lowers that risk but does not remove market risk.
What is the difference between a stock and a fund?
A stock is a share of one company. A fund holds many investments, so you own a small slice of each.
How do dividends work?
A company may pay part of its profits to shareholders. Dividends are not guaranteed, and the company can raise, cut or stop them.
Do I need a lot of money to start?
No. Many brokers have no account minimum, and fractional shares let you buy with small amounts. Check your broker's rules.
Sources
Disclaimer: This page is for educational purposes only and is not financial, tax or legal advice. Figures are estimates based on the assumptions shown. See our full disclaimer and editorial policy.