How Stock Prices Are Determined: The Marginal Trade
Introduction: Why This Question Matters
"How are stock prices determined?" is one of the most common questions beginners have, yet it is also one of the most misunderstood.
When you look at a stock ticker, you might assume the price reflects the company's quality or its earnings. You might think that if a company is doing well, the stock must be going up.
In reality, stock prices are driven by market mechanics and expectations, not by the company's intrinsic merit.
Understanding this distinction is the foundation of becoming a rational investor. If you can grasp how prices are actually set, you will find the daily ups and downs of the market much less confusing.
The Short Answer: The Marginal Trade
To understand how a price is set, you need to look at the last trade that just happened.
Stock prices are determined by the highest price a buyer is willing to pay and the lowest price a seller is willing to accept at a given moment.
This specific transaction is known as the marginal trade. It is the "margin" of agreement between a buyer and a seller right now. Once this trade happens, that price becomes the market price.
An Example: The Coffee Shop

Imagine you walk into your local coffee shop. You really want a latte, but you are not desperate. The board says $5.00. You are willing to pay up to $5.50, but you don't need to — the barista has already set the ask.
Another customer walks in. They really need coffee right now and cannot wait. They would have paid up to $6.00.
The barista says, "£5.00 please." You hand over the money. The other customer watches.
The price is $5.00 — not because that was the highest anyone would have paid, but because it was the price the seller set and you agreed to. The other customer's willingness to pay $6.00 is invisible to the transaction. Your own willingness to pay $5.50 is invisible too. Price only captures the moment of actual exchange.
Notice also what this analogy doesn't capture: in a coffee shop, the barista sets the price. In stock markets there is no barista. Price emerges from a continuous stream of buyers and sellers posting orders — and the last matched trade becomes the quoted price. But the core insight holds: the price you see reflects one real transaction, not the full range of what everyone in the room would have paid.
Price vs. Valuation: The Appraisal Analogy
Beginners often confuse Price with Valuation. These are two very different concepts.
Valuation is an estimate of what a business might be worth based on its assets, earnings, and future potential. Think of this like getting a professional appraisal for a house. It is a calculated guess.
Price is the actual dollar amount at which the house sells at an auction. It is objective and real.
- Valuation is subjective and slow to change.
- Price is objective and changes every second.
Valuation influences price over the long term. If a company continues to grow, its valuation usually goes up, pushing the price higher. However, in the short term, Price ignores valuation completely. A company can be incredibly valuable, but if investors suddenly panic, the price can drop like a stone, regardless of the company's actual health.
The Marginal Buyer and Seller
Stock prices are not an average of what everyone thinks. They are not a vote or a survey.
They are set by the marginal buyer and the marginal seller-the last person willing to trade.
This has a few important implications:
- One person can move a stock: If a large institutional investor suddenly decides to sell a massive amount of shares, they can push the price down.
- Long-term holders don't matter: If you hold a stock for 20 years and believe it is worth $100, your opinion does not affect the price today. Only active traders moving money right now affect the price.
- Prices can change without news: If investors simply become less optimistic about the future, the "marginal seller" becomes willing to sell for a lower price, and the price drops.
Expectations: The Weather Forecast Analogy
Stock prices do not react to news itself; they react to surprises.
This is best understood through the lens of expectations. Before any news is released, the market has already built an expectation into the stock price.
Imagine the stock market is like a weather forecast. If the weatherman predicts a sunny day and it is sunny, you are not surprised. The market behaves similarly.
- If a company beats earnings estimates (good news), but the market expected an even bigger beat, the price might drop. Why? Because the news was a disappointment relative to expectations.
- If a company has a bad quarter, but the market expected it to be much worse, the price might rise. Why? Because the news was a surprise (relative to expectations).
Expectations are already embedded in the price before the news is released. Prices only move when reality differs from those expectations.
Supply and Demand: What Actually Counts
Supply and demand matter, but only active supply and demand matters.
What does NOT matter:
- Shares held by investors who are sleeping or on vacation.
- Opinions expressed on social media without orders to back them up.
- Long-term beliefs that have no action attached to them.
What DOES matter:
- Buy orders and sell orders at specific price levels.
- The depth of liquidity (how many shares are available to buy/sell).
- The urgency of the participants.
Prices move when demand overwhelms supply at the margin, or when supply overwhelms demand. If you are the only person looking to buy a stock, but no one is selling, the price won't move until a seller appears.
Why Disagreement Drives Trading
If everyone in the world agreed on what a stock was worth, there would be no trades. If everyone agreed the stock was worth $50, no one would buy it for $50, and no one would sell it for $50 because why bother?
Trades happen because there is disagreement.
- Buyer thinks: "This stock is undervalued at $50. I expect it to be worth $60."
- Seller thinks: "This stock is overvalued at $50. I will take the cash now."

Every trade requires a buyer who believes the price will go up and a seller who believes it won't (or needs the cash). Volatility is evidence of disagreement, not market failure. Markets exist to resolve this disagreement over time, not to eliminate it instantly.
Key Takeaways
- The Marginal Trade: A stock price is set by the highest buyer and lowest seller willing to trade right now, regardless of what the company is "worth."
- Price vs. Valuation: Valuation is an estimate of worth; Price is the actual market price. Short-term prices can ignore valuation completely.
- Expectations Matter: Prices react to surprises, not news. If reality meets expectations, the price often stays the same.
- Active vs. Passive: Only active traders moving money right now affect the price. Long-term holders have no immediate influence on the market price.
- Disagreement is Key: Markets move because buyers and sellers disagree on value. When they agree on a price, a trade happens.