How the Stock Market Works
The short answer
The stock market is a global network of exchanges and other venues where investors buy and sell ownership stakes (shares) in publicly traded companies. Prices are determined by competing orders, allowing companies to raise capital in primary markets and investors to trade existing shares in secondary markets, with trades typically settling the next business day.
You will understand the core components of the stock market, from what a share represents to how prices are formed and trades are finalized. This lesson explains the foundational mechanisms that allow companies to raise capital and investors to trade ownership interests.
This lesson explains how money works. It isn't financial advice: for your own situation, talk to a qualified financial adviser.
By BasicsTutor · Created with AI, researched and fact-checked · Updated Sep 28, 2026 · How we make lessons
A Share Represents Fractional Ownership, Not Just a Piece of Paper
The fundamental truth of a stock is that it represents an actual ownership stake in a corporation. When you buy a share, you become a fractional owner of that business, not merely a speculator betting on its price. Depending on the type of share, this ownership might grant you voting rights on company matters, or rights to receive a portion of the company’s profits through dividends, though neither is guaranteed. This truth is derived directly from the corporate structure itself: companies issue shares, also called equities, as a way to divide their ownership and raise capital. Each share is a unit of this ownership. Publicly traded companies divide their total ownership into millions or billions of these shares, allowing many individuals and institutions to collectively own the business. Many people wrongly believe that owning stock is akin to owning a lottery ticket or a bond, guaranteeing either a quick profit or a fixed return. This intuition fails because, unlike a bond that promises specific interest payments and principal repayment, a stock carries no such guarantees. Its value fluctuates with the company's performance, market sentiment, and broader economic conditions. If the company performs poorly, your ownership stake may be worth less. The non-obvious implication is that serious stock market participation involves thinking like a business owner, not just a trader. Instead of only watching price movements, you are evaluating the underlying company's health, competitive advantages, and long-term prospects. Your investment's success is tied to the actual business, not just market sentiment.
Imagine a large building, like an office tower or a factory. Instead of one person owning the entire building, it's divided into thousands of tiny 'deeds,' each representing a small fraction of the property. Buying a share is like buying one of these deeds. You don't own the whole building, but you genuinely own a measurable piece of it. Just like a building, its value can go up or down, but you are a part-owner, not just renting or betting on its price.
- A stock share is a unit of ownership in a company.
- Ownership can come with voting rights and potential dividends, but no guarantees.
- Think of stock investment as buying a piece of a business.
Companies Raise Capital in Primary Markets; Investors Trade Existing Shares in Secondary Markets
Because companies need funding to grow and operate (Principle 1), they initially raise money by selling newly issued shares directly to investors. This initial sale happens in what is called the 'primary market.' The company receives the proceeds from these sales to fund its operations. However, the vast majority of daily stock market activity, the buying and selling that most people refer to, occurs in 'secondary markets.' Here, investors trade existing shares with one another. When you buy a stock on the secondary market, the money you pay goes to the investor who is selling the share, not to the company itself. The company typically does not receive any direct funds from these subsequent trades. The common misconception is that every time a stock is bought or sold, the company whose stock is being traded directly benefits or loses money. This intuition fails because, once shares are issued in the primary market, they become like any other piece of property. Just as selling your used car benefits you, not the car manufacturer, selling your existing shares benefits you, the seller, not the issuing company. The company only benefits from the secondary market indirectly, as a robust secondary market makes their initial primary market offerings more attractive to investors seeking liquidity. The non-obvious implication is that the stock market serves two distinct, though related, functions. One is capital formation for businesses (primary market), and the other is providing liquidity and a valuation mechanism for investors (secondary market). Most individual investors participate almost exclusively in the secondary market, meaning their trades impact other investors directly more than they impact the underlying company's cash flow.
Consider a baker selling fresh bread. The first time you buy a loaf directly from the baker, that's like the primary market – the baker gets the money. If you then sell a slice of your loaf to a friend, that's like the secondary market – your friend pays you, not the baker, for an existing piece of bread. The baker only benefits from the secondary market because knowing there's a market to sell slices makes buying a whole loaf more appealing in the first place.
- Companies raise capital by issuing new shares in the primary market.
- Most daily trading involves investors exchanging existing shares in the secondary market.
- The company generally does not receive money from secondary market trades.
The Stock Market is a Distributed Network of Trading Venues, Not a Single Marketplace
Building on the idea of secondary markets (Principle 2), the 'stock market' isn't a single physical location or a monolithic entity. It is a vast, interconnected network of various regulated exchanges (like the New York Stock Exchange or Nasdaq) and other trading venues. These venues are linked by technology, allowing participants to trade efficiently across different platforms. This structure is derived from the evolution of financial markets and the competitive nature of trading. Over time, multiple entities emerged to provide platforms for matching buyers and sellers, driven by the desire for speed, efficiency, and specialized services. Brokers act as intermediaries, connecting individual investors to this complex network. When an investor places an order, their broker routes it to the most appropriate trading venue—which could be an exchange, another market center, or a market maker—for execution. A common misconception is that all stock trading occurs in a single, bustling 'trading floor' or on one specific exchange. This intuition fails to account for the fragmented, high-tech reality of modern markets. While iconic trading floors still exist for some functions, the vast majority of transactions happen electronically across diverse locations, often without human intervention. The non-obvious implication is that the 'price' you see quoted for a stock is actually an aggregation or representation of the best available prices across this distributed network, not necessarily the price on one single platform. This complexity helps explain why execution speeds and even final prices can vary slightly depending on factors like liquidity across venues and your broker's order routing practices.
Think of the stock market like a global network of online stores for specific products, rather than one giant department store. There are many different 'shops' (exchanges, market centers), each with their own inventory and customers. Your 'personal shopper' (broker) takes your request and finds the best deal from any of these connected shops, even though you only interact with your shopper.
- The stock market is a network of various exchanges and trading venues.
- Brokers act as intermediaries, routing investor orders to these venues.
- Most trading is electronic and occurs across multiple interconnected platforms.
Prices Emerge from the Immediate Supply and Demand of Competing Orders
Because the stock market is a distributed network where investors trade (Principle 3), the price of a stock is not a fixed or inherent value; rather, it is a constantly emerging consensus based on the immediate supply and demand presented by competing buy and sell orders. At any given moment, there's a highest price a buyer is willing to pay (the 'bid') and a lowest price a seller is willing to accept (the 'ask'). The difference between these is the 'spread.' A trade can only happen when a buyer's bid matches a seller's ask. This principle is derived from fundamental economic laws of supply and demand applied in a real-time, dynamic auction environment. As new orders arrive, old orders are canceled, or existing orders are matched, the bid, ask, and thus the potential transaction price, are constantly shifting. Each new trade reflects a fresh agreement between a specific buyer and seller. The common misconception is that a stock has one single, stable 'market price' that everyone gets, or that the last-traded price is a guarantee for your next order. This intuition fails because the 'quoted price' is merely a snapshot of the current best bid and ask. In fast-moving markets or for less frequently traded stocks, the price can change significantly between the moment you see a quote and when your order actually executes, leading to a different 'execution price.' The truly counterintuitive implication is that the price you see on your screen is not an objective, immutable truth about the stock's value, but rather a temporary agreement between the most eager current buyers and sellers. It is an emergent property of millions of discrete decisions, constantly fluctuating. This means 'price' is more a function of immediate sentiment and available capital than a direct reflection of intrinsic business worth in the short term, requiring investors to look beyond the ticker for true value.
Imagine a silent, continuous auction for a single rare item happening across many rooms (the network). In each room, people are constantly shouting out their highest price they'll pay (bids) and lowest price they'll accept (asks). The 'price' everyone sees is just the current highest bid and lowest ask across all rooms. A sale only happens when a buyer's offer meets a seller's demand, and that price then becomes the new 'last traded price,' which immediately influences subsequent bids and asks.
- Stock prices are dynamic, forming from competing buy (bid) and sell (ask) orders.
- A trade occurs only when a bid and ask match.
- The displayed price is not a guaranteed price for a new order, especially in volatile markets.
Order Types Dictate Your Control Over Execution Certainty vs. Price Precision
Because prices emerge dynamically from competing orders (Principle 4), investors need tools to manage how their trades interact with this fluctuating environment. This leads to different 'order types,' which specify your priorities for a transaction. A 'market order,' for instance, instructs your broker to buy or sell immediately at the best available current prices. This offers high certainty of execution but no guarantee on the final price, as it will take whatever prices are available across the market. Conversely, a 'limit order' allows you to specify a maximum price you're willing to pay to buy, or a minimum price you're willing to accept to sell. This gives you precise control over the execution price. However, it comes with no guarantee of execution; if the market never reaches your specified price, or if there's insufficient interest at that price, your order may not be filled. The common misconception is that placing any order guarantees both immediate execution and the exact price you expect. This intuition fails because the market is a constantly moving target. A market order prioritizes speed, sacrificing price certainty, while a limit order prioritizes price, sacrificing execution certainty. They are fundamentally different approaches to interacting with the live order book. The non-obvious implication is that your choice of order type is a critical strategic decision that reflects your trading philosophy and risk tolerance. Understanding these nuances moves beyond simply buying or selling and into intelligently managing the interaction with the market's real-time supply and demand. Using a market order without understanding its implications in a fast-moving market can lead to 'slippage,' where your final price is worse than you anticipated.
Imagine you're trying to buy a specific collectible item at an auction. A 'market order' is like telling the auctioneer, 'Buy it for me now, whatever the current price is.' You'll get the item, but you don't control the final price. A 'limit order' is like saying, 'Buy it for me, but only if the price doesn't go above $X.' You control the price, but you might not get the item if bidding goes higher.
- Market orders prioritize immediate execution but don't guarantee price.
- Limit orders guarantee a price but don't guarantee execution.
- Order type selection is crucial for managing trade outcomes.
A Trade Is Not Final Until It Is Settled
Even after compatible buy and sell interests are matched and an order 'executes' (Principle 5), the trade isn't immediately finalized. There's a critical post-trade process involving 'clearing' and 'settlement.' Clearing ensures the details of the trade are correctly recorded and verified, while settlement is the actual delivery of the securities to the buyer and the cash to the seller. In the United States, most stock trades settle on a T+1 basis, meaning settlement occurs on the next business day after the trade date. This process is derived from the need for a robust, secure, and regulated system to manage the transfer of ownership and funds in a complex financial market. It provides a crucial layer of security, reducing risks like counterparty failure and ensuring that both sides of a transaction fulfill their obligations. The shift from T+2 to T+1 (May 28, 2024) reflects ongoing efforts to increase market efficiency and reduce systemic risk by shortening the time between trade and final transfer. The common misconception is that as soon as you hit 'buy' or 'sell' and your order executes, the shares and money instantly change hands. This intuition fails because, while electronic confirmations are fast, the underlying transfer of legal ownership and cash requires a coordinated, regulated process that takes time. Your broker might show the shares or cash in your account immediately, but the backend settlement is still in progress. The non-obvious implication is that the 'stock market' isn't just about the frantic matching of orders; it includes a sophisticated, often invisible, infrastructure that underpins trust and functionality. This settlement process is vital for the market's integrity, ensuring that despite the speed of electronic trading, fundamental safeguards are in place to deliver on every transaction, managing billions of dollars and shares daily.
Buying a house involves agreeing on a price (execution). But you don't instantly get the keys and the seller doesn't instantly get the money. There's a period of legal paperwork, title transfers, and fund verification—the 'closing' process. This closing, where deeds and money actually change hands, is like settlement. It's a critical step that happens after the agreement is made.
- Trade execution is separate from trade settlement.
- Settlement involves the actual delivery of cash and securities.
- Most stock trades in the U.S. settle on a T+1 basis (next business day).
Put it into practice
- Choose a publicly traded company you recognize and find its latest annual report (10-K filing) on the SEC EDGAR database. Look for the 'shareholders' equity' section to see how many shares are outstanding and how they represent ownership, observing Principle 1.
- Visit a financial news website and find an article about a recent Initial Public Offering (IPO) – a primary market event. Then, search for news about the daily trading volume of a well-established company. Compare how the company raises money versus how existing shares are exchanged, illustrating Principle 2.
- Investigate your own brokerage account (or a sample online broker's interface) to identify where you would place a 'market order' versus a 'limit order.' Note how the interface highlights the potential differences in execution or price guarantee, directly observing Principle 5 in action.
- Search online for 'stock exchange market hours' and 'T+1 settlement.' Read about why exchanges have specific operating hours and how the settlement cycle (Principle 6) impacts when actual ownership and funds transfer, connecting the trading day to the back-end processes.
- Find a live stock quote for a fast-moving stock during market hours. Observe the bid and ask prices and how they constantly change, and compare them to the 'last traded price.' Notice the spread and how dynamic prices are, providing a direct view of Principle 4.
Sources
- Final Reminder - T+1 Settlement · 2024-05-22
- Regulatory Notice 24-04 | FINRA.org · 2024-02-26
- Regulatory Notice 23-15 | FINRA.org · 2023-09-05
- Preparing for Change: What to Know About the Shift to T+1 · 2024-04-16
- www.finra.org · investors · insightsUnderstanding Settlement Cycles - FINRA.org · 2026-05-07
- Trade Execution
- Reminder - T+1 Settlement Testing · 2024-02-26
- Executing an Order