How the Stock Market Works: A Beginner's Guide to Trading
How the stock market works, step by step: why companies sell shares, how buyers and sellers meet, what brokers do and how orders get filled.

The quick take
- Companies sell shares to raise money, and after that, investors mostly trade those shares with each other.
- A stock exchange is a market where securities are bought and sold, and a broker is the go-between that places your order.
- Prices move as buyers and sellers agree on new prices, influenced by news inside and outside the company.
- Your order does not always fill at the price you saw, which is why order types such as market and limit orders exist.
- Trades take a short time to settle, and today the standard in the U.S. is one business day.
You tap a button in an app and a few seconds later you own a piece of a company. It feels like magic, or like a game. But behind that tap is a chain of real businesses, rules and people agreeing on a price.
This guide follows the chain from start to finish: why companies sell shares, where shares are traded, who sits in the middle, how orders get filled, and what can surprise you along the way.
Why the stock market exists
Companies need money to grow. Investor.gov, the SEC’s education site, says companies issue stock to get money for things like paying off debt, launching new products, expanding into new markets and building or enlarging facilities.
In exchange, buyers get a share of ownership. Investor.gov describes stocks as a type of security that gives stockholders a share of ownership in a company. Investors buy for different reasons: they hope the price rises, they want dividend payments, or they want the ability to vote and influence the company.
Our guide to what a stock is covers the basics, and the glossary has a definition of stock. The market is the place where this ownership gets bought and sold.
Selling to the public, then trading among investors
A company’s shares first reach the public in a public offering. Investor.gov mentions that one way a company becomes public is by selling securities in a public offering, such as an initial public offering, or IPO. The glossary explains the IPO.
After that first sale, most trading happens between investors. When you buy a share of a well-known company, the money generally goes to the person who sold it to you, not to the company. The company is not involved in each trade. This is why people talk about the market for existing shares, often called the secondary market, as distinct from the first sale.
Public companies must keep sharing information
Investor.gov explains that public companies must keep their shareholders informed by filing periodic reports with the SEC, and the SEC makes these available for free on its EDGAR website. The main ones are:
- Form 10-K: an annual report with audited financial statements.
- Form 10-Q: a quarterly report for each of the first three quarters, with unaudited statements.
- Form 8-K: a report of major events shareholders should know about.
Having this information in public view is a big part of what makes a market work. Buyers and sellers are at least looking at the same facts.
Where shares are traded
The SEC describes securities exchanges as markets where securities are bought and sold. The New York Stock Exchange and Nasdaq are two well-known examples. Exchanges are registered with the SEC, and the SEC regulates them along with other participants.
Exchanges are not the only venues. The SEC also describes alternative trading systems, which operate under their own rules, and market makers, which are firms that stand ready to buy or sell a stock at publicly quoted prices.
Regular trading hours matter too. The NYSE says its core trading session runs from 9:30 a.m. to 4:00 p.m. Eastern Time. It closes on certain holidays and sometimes closes early, so it publishes a calendar. Some venues also offer sessions before and after those hours, but prices and conditions can differ then.
Who sits in the middle
You do not normally walk onto an exchange floor yourself. The SEC explains that a broker-dealer charges a fee to handle trades between buyers and sellers, and may also buy from a selling customer or sell from its own inventory to a buying customer.
Behind the scenes there are other players the SEC lists:
- Clearing agencies: They compare member transactions, clear the trades and prepare instructions for settlement.
- Credit rating agencies: They offer opinions on the creditworthiness of a company or security.
- Investment advisers: They provide investment advice for compensation.
- Self-regulatory organizations: These write and enforce rules for their members.
Your broker is your doorway to all of it. That is why choosing a regulated one matters, and why our post on what a brokerage account is is a useful next read.
Try it in Financebro AI: The How the Market Works unit in the Investing course walks through exchanges, brokers and orders in short lessons of about 3 minutes, with quick checks along the way. Learn this with Financebro AI
What moves a stock’s price
A price is simply where a willing buyer and a willing seller meet. If more people want to buy a stock than sell it at the current price, buyers may have to offer more, and the price can drift up. If more want to sell, the price can drift down.
What changes people’s minds? Investor.gov says a stock’s price can be affected by factors inside the company, such as a faulty product, or by events the company has no control over, such as political or market events. It also notes that there is no promise a company will grow and do well, so stock prices move down as well as up.
Two ideas are worth knowing:
- Bid and ask. At any moment there is a price someone will pay (the bid) and a price someone will sell at (the ask). The SEC notes that a market order generally executes at or near the current bid for a sell order or the ask for a buy order.
- The spread. The gap between those prices is called the spread. The SEC describes a firm earning money on the spread, which is the difference between the price it paid for a security and the price at which it sells it to you.
Prices can move in fractions of a second, but a daily wobble does not tell you much about a long-term plan.
How your order gets filled
When you press “buy,” your order does not teleport to the exchange. The SEC explains that your order is sent to your broker, who decides which market to send it to. For a stock listed on an exchange, the broker may send the order to that exchange, to another exchange or to a market maker.
Some details the SEC highlights:
- It is not instantaneous. Execution is usually quick, but it takes time, and prices can change, especially in fast-moving markets. You may not get the exact price you saw on screen.
- Payment for order flow. Some market makers pay brokers for routing orders to them. The SEC calls this payment for order flow.
- Best execution. Your broker has a duty to seek the best execution reasonably available for customers’ orders.
Types of orders
The way you phrase your order changes what you get. The SEC describes the three most common types:
| Order type | What it does | The catch |
|---|---|---|
| Market order | Buys or sells immediately | Execution is generally assured, but the price is not |
| Limit order | Buys or sells only at a set price or better | It may never execute if the price is not reached |
| Stop order | Becomes a market order once a set price is hit | The final price can differ from the stop price |
Example (an illustration with made-up numbers): Say a stock is quoted around $10 and you want to buy. A market order buys right away at or near the current ask, whatever that turns out to be. A limit order set at $10 will only fill if shares are available at $10 or lower. If the price never gets there, you simply do not buy. Neither choice is “right”; they trade certainty of getting filled against certainty of price.
Fractional shares
If one full share costs more than you want to spend, some brokers offer fractional shares, which let you buy a slice. Rules vary, and the SEC suggests asking your broker how it handles them. Our guide on how to start investing with little money goes into more detail.
What happens after the trade: settlement
A trade is agreed in seconds, but the official handover takes a little longer. The SEC explains that settlement is the official transfer of securities to the buyer’s account and cash to the seller’s account.
Since May 28, 2024, the standard settlement cycle for most securities transactions is one business day, known as T+1, down from two business days. The SEC’s example: if you sell shares on Monday, the trade settles on Tuesday.
In practice, if you hold your investments with your broker, much of this happens in the background. It can matter if you need to move money quickly, so it is worth asking your broker how settlement affects when cash is available.
Buying low and selling high is not the only way
Most beginners take a “long” position, which simply means owning a security. The SEC notes that people hold long positions expecting the stock to rise. The opposite is a “short” position, which is generally the sale of a stock you do not own. The SEC says short selling is for the experienced investor. We mention it only so you recognize the term. It is not a beginner topic: if the price rises instead of falling, a short position loses money.
What protects you, and what does not
The SEC regulates the main participants and requires public companies to disclose information, and that helps keep markets fair and orderly. But it does not protect you from a price drop.
SIPC, the Securities Investor Protection Corporation, protects cash and securities held at a failed SIPC-member brokerage firm up to its limits. It does not protect against a decline in the value of your securities. Investing carries risk, and no regulator can remove that.
It also pays to stay alert for fraud. Scammers love the language of markets. Our guide to investment scams explains the warning signs.
Learn this in Financebro AI: Nolan, the Financebro AI coach, can explain terms like bid, ask and limit order in plain English whenever a lesson raises a question. He explains how things work and never tells you what to buy or sell. Practice it in the app
The short version
The stock market is where ownership in companies is bought and sold. Companies sell shares to raise money, and after that, investors trade them with one another through brokers, on exchanges and other venues. Prices move as people agree on new prices, orders can fill at slightly different prices than expected, and trades settle a day later. Understanding the plumbing makes the headlines less mysterious.
To see how an index summarizes all this activity, read what the S&P 500 is. And if you want to learn how markets work in short, friendly lessons, Financebro AI teaches the basics in plain English, with nothing to buy or trade in the app. Download Financebro AI
This article is for education only. It is not investment advice and does not recommend any specific investment, broker or trade.
Frequently asked questions
How does the stock market work in simple terms?
Companies sell shares to raise money, and those shares are then bought and sold between investors on exchanges and other trading venues. Brokers place orders on your behalf. Prices change as buyers and sellers agree on new prices.
What is the difference between a market order and a limit order?
The SEC explains that a market order buys or sells immediately and is generally executed, but it does not set the price you get. A limit order sets a specific price or better, so it only executes at that price or a more favorable one, and it may not execute at all.
What are the stock market hours?
The core trading session at the New York Stock Exchange runs from 9:30 a.m. to 4:00 p.m. Eastern Time on trading days, according to the exchange. Markets close on certain holidays and sometimes close early, so check the exchange's calendar.
Who regulates the stock market?
In the United States, the Securities and Exchange Commission, or SEC, regulates securities market participants, including exchanges, broker-dealers and clearing agencies. Self-regulatory organizations such as FINRA also write and enforce rules for their members.
What does it mean when a trade settles?
Settlement is the official transfer of the securities to the buyer's account and the cash to the seller's account. The standard settlement cycle for most U.S. securities transactions is now one business day after the trade, known as T+1.
Sources and further reading
- Investor.gov (SEC): How Stock Markets Work
- Investor.gov (SEC): Types of Orders
- Investor.gov (SEC): Executing an Order
- Investor.gov (SEC): Market Participants
- Investor.gov (SEC): Public Companies
- Investor.gov (SEC): Stocks
- Investor.gov (SEC): New T+1 Settlement Cycle, What Investors Need to Know
- NYSE: Holidays and Trading Hours
Financebro AI provides financial education and coaching only. It is not a licensed financial advisor, and nothing in the app or on this site is investment, legal, or tax advice or a recommendation to buy or sell any security. AI responses can be wrong — always do your own research and consider a licensed professional. Investing involves risk, including the possible loss of principal, and past performance does not guarantee future results. Examples on this site are illustrations, not predictions. How we write our articles.


