Stock Market
The stock market is the network of exchanges and other trading venues where shares of public companies are first sold to investors and then bought and sold between them.
“The stock market” is not one building or one company. It is a network of exchanges, alternative venues and brokers that, together, let companies raise money by selling shares and let investors trade those shares with each other every day. This hub explains the two halves of the market (primary and secondary), where trading happens, how a price forms, who is on the other side of your trade, how indices summarise it all, and when the market is open. Each part links to a deeper article.
- Category
- Trading Basics
- Reading time
- 8 min
- Also called
- Stock markets, Equity market, Equity markets
- Updated
The stock market in plain words
The stock market is a general name for the organised trading of stocks on exchanges, over the counter and on computerised trading venues.1 A stock is a share of ownership in a company; stocks are also called equities.2 See Stock.
It has two halves. In the primary market, newly issued securities are sold to investors and the issuer receives the money.3 In the secondary market, existing securities change hands between investors.4 Most of what people call “the market” — the prices on screens every day — is the secondary market.
Prices move because buyers and sellers keep changing what they are willing to pay and accept. Strong demand for a stock tends to push its price up.5 Company results, interest rates and the wider economy all feed into that demand.5
How the stock market works, step by step
A company sells shares (primary market)
A company first sells shares to the public in an initial public offering.6 The money goes to the company. See Initial Public Offering and Primary and Secondary Market.
The shares list on an exchange
A national securities exchange is one registered with the SEC under Section 6 of the Securities Exchange Act of 1934.7 The best-known US exchanges are the New York Stock Exchange (NYSE) and Nasdaq. See Exchange and Listing and Delisting.
Your broker routes the order
The broker chooses where to send it: an exchange, a market maker, an electronic communication network, or its own inventory.8 Brokers must seek the best execution reasonably available.8 See Best Execution.
Orders meet and a price forms
On an exchange, buy and sell orders are matched by price and then by time. Nasdaq, for example, fills displayed limit orders at the same price in the order they arrived.9 See Order Book and Bid-Ask Spread.
The trade settles
After the trade, cash and shares change hands through clearing agencies; depositories such as the DTC keep the ownership records.10 See Settlement and T+1 Settlement.
Worked examples
Example 1 — Primary vs. secondary market
Two marketsA hypothetical company sells 10,000,000 new shares at $20 in its IPO. The next day investors trade 3,000,000 of those shares with each other at about $22.
| Raised in the IPO | 10M × $20 = $200M |
| Next day’s trading | 3M × $22 = $66M |
| Paid to the company next day | $0 |
Only the IPO raised money for the company. Later trading moves shares between investors, which is why a falling share price does not take cash away from the company directly.
Example 2 — Buying at the ask
ExecutionA hypothetical stock shows a bid of $50.00 and an ask of $50.02. You send a market order to buy 100 shares, and the order fills at the ask.
| Cost of the shares | 100 × $50.02 = $5,002.00 |
| Midpoint price | ($50.00 + $50.02) ÷ 2 = $50.01 |
| Spread paid vs. midpoint | 100 × $0.01 = $1.00 |
A market order buys from the cheapest seller available, so you pay the ask. A market order’s price is not guaranteed, and it can differ from the last trade.11
Example 3 — How one stock moves an index
Index moveA hypothetical market-value-weighted index holds three stocks worth $600B, $300B and $100B. The largest one rises 5%; the others do not move.
| Index total value | $600B + $300B + $100B = $1,000B |
| Gain in the largest stock | $600B × 5% = $30B |
| Index change | $30B ÷ $1,000B = 3.0% |
In a weighted index the biggest companies move the number most. That is why “the market is up” can hide that most stocks fell. See Index Weighting and Market Breadth.
Primary vs. secondary market
The same shares pass through both halves of the market, but the money goes to different people.
| Aspect | Primary market | Secondary market |
|---|---|---|
| What is sold | Newly issued securities3 | Existing securities4 |
| Who receives the money | The issuer3 | The investor who sold |
| Typical event | IPO or follow-on offering. See Initial Public Offering | Everyday exchange trading. See Exchange |
| How the price is set | Set by the offering | Set continuously by buy and sell orders |
Why the stock market matters
Raising capital
Companies issue stock to pay off debt, launch products, enter new markets or expand facilities.2
Ownership and returns
Investors buy stocks for capital appreciation, dividends and the right to vote their shares.2 See Dividend and Capital Gain.
Liquidity
The secondary market lets owners sell to other investors instead of waiting for the company to buy shares back. See Liquidity.
A price signal
Market prices and indices summarise what investors collectively expect, which is why they are watched by companies, central banks and the media. See Stock Market Index.
Advantages and disadvantages
Advantages
- Lets companies raise money from many investors at once.
- Gives investors a place to buy and sell ownership stakes quickly during trading hours.
- Prices are public, so everyone can see what shares are trading for.
- Regulated venues and brokers operate under SEC oversight and self-regulatory rules. See Securities and Exchange Commission and FINRA.
Disadvantages
- Stock prices go down as well as up, and you can lose money.2
- Common stockholders are last in line if a company is liquidated.2
- Trading costs, spreads and taxes reduce returns. See Trading Fees and Commissions.
- Daily moves can be driven by sentiment rather than business results, which tempts investors into poor timing. See Market Sentiment.
Going deeper
Read as far as you need. Each level builds on the one before it.
Who is on the other side of your trade
Beginner
The SEC regulates the main market participants: broker-dealers, clearing agencies, alternative trading systems, investment advisers, exchanges and self-regulatory organisations.10 See Market Participant.
When you buy, the seller may be another investor, a fund, or a market maker that stands ready to buy or sell at publicly quoted prices.8 See Market Maker, Retail Trader and Institutional Trader.
Exchanges, off-exchange venues and indices
Intermediate
An alternative trading system meets the legal definition of an exchange but can operate under an exemption if it registers as a broker-dealer and follows Regulation ATS.10 Orders may also be filled by a broker’s own inventory, which is called internalization.8 See Dark Pool, Internalisation and Over-the-Counter Market.
On the NYSE, each listed stock has one designated market maker, who helps with price discovery at the open, the close and during imbalances.12 See Opening and Closing Auctions.
An index tracks a basket of stocks that stands for a market or sector. Examples are the Dow Jones Industrial Average, which holds 30 blue-chip US stocks, and the S&P 500.13 See S&P 500, Dow Jones Industrial Average, Nasdaq-100 and Russell 2000.
Trading hours and sessions
Advanced
The NYSE’s core session runs from 9:30 a.m. to 4:00 p.m. Eastern Time, with an opening auction at 9:30 and a closing auction at 4:00.14 Some NYSE Group markets also run early and late sessions; NYSE Arca, for example, trades from 4:00 a.m. to 8:00 p.m. ET.14 See Market Hours and Regular Trading Hours.
Exchanges close on US market holidays and close early on some days; the NYSE lists an early close at 1:00 p.m. ET on 27 November 2026, the day after Thanksgiving.14 Each exchange publishes its own holiday schedule.15
Common mistakes
Thinking a falling price drains the company
After the IPO, most trading is between investors. The company is affected indirectly (cost of new capital, sentiment), not by losing the cash it raised.
Treating the index as “the market”
A market-value-weighted index can rise while most of its stocks fall. Check breadth too. See Market Breadth.
Ignoring trading hours
Orders placed outside the core session may wait for the open or trade in thinner extended sessions with wider spreads. See Market Hours.
Check your understanding
Test yourself before moving on. Each answer comes with an explanation.
Key points to remember
- The stock market is a network of exchanges, alternative venues and brokers, not one place.
- The primary market raises money for companies; the secondary market trades existing shares between investors.
- Prices form as buy and sell orders meet; demand, earnings, rates and sentiment move them.
- Indices such as the S&P 500 summarise the market, but weighted indices are driven by their largest members.
- US exchanges’ core session runs 9:30 a.m. to 4:00 p.m. Eastern Time, with extra sessions on some venues.
Frequently asked questions
Is the stock market the same as the stock exchange?
Who sets stock prices?
When is the US stock market open?
Further learning
- Stock
What you actually own when you buy a share.
- Exchange
How trading venues work and are regulated.
- Stock Market Index
How indices summarise the market.
- Market Hours
Core and extended trading sessions.
Sources
This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.
- Investor.gov (SEC). Stock Market (glossary) (opens in a new tab) Checked .
- Investor.gov (SEC). Stocks – FAQs (opens in a new tab) Checked .
- Investor.gov (SEC). Primary Market (glossary) (opens in a new tab) Checked .
- Investor.gov (SEC). Secondary Market (glossary) (opens in a new tab) Checked .
- FINRA. Stocks (opens in a new tab) Checked .
- Investor.gov (SEC). Initial Public Offering (IPO) (glossary) (opens in a new tab) Checked .
- Investor.gov (SEC). National Securities Exchange (glossary) (opens in a new tab) Checked .
- U.S. SEC (Investor.gov). Executing an Order (opens in a new tab) Checked .
- Nasdaq. Nasdaq Stock Market (opens in a new tab) Checked .
- Investor.gov (SEC). Market Participants (opens in a new tab) Checked .
- Investor.gov (SEC). Understanding Order Types – Investor Bulletin (opens in a new tab) Checked .
- NYSE. NYSE Market Model (opens in a new tab) Checked .
- Investor.gov (SEC). Market Indices (glossary) (opens in a new tab) Checked .
- NYSE. Holidays & Trading Hours (opens in a new tab) Checked .
- Investor.gov (SEC). Holiday Schedules and Trading Hours (National Securities Exchanges) (opens in a new tab) Checked .
Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.