Prices are determined by the interaction of supply and demand. When the quantity of a product that sellers want to offer matches the quantity that buyers want to purchase, the market settles on a price that both sides accept. But that textbook answer only tells part of the story. In practice, prices emerge from a mix of production costs, business strategy, consumer psychology, algorithm-driven technology, and sometimes government regulation.
Supply, Demand, and Equilibrium
The most fundamental force behind pricing is the relationship between supply and demand. The law of demand says that as prices rise, fewer people want to buy. The law of supply says the opposite: higher prices encourage producers to supply more, because the potential profit is greater. These two forces push against each other until they reach a balance point called equilibrium, sometimes called the market-clearing price.
At equilibrium, there’s no surplus of unsold goods sitting on shelves and no crowd of frustrated buyers who can’t find what they want. If prices drift above equilibrium, sellers end up with excess inventory and start cutting prices. If prices fall below it, buyers snap up everything available and the resulting shortage pushes prices back up. This process of discovery happens constantly, whether you’re looking at gas station signs adjusting week to week or stock prices flickering every second on an exchange.
Supply and demand shifts explain most of the price swings you notice in daily life. A drought that damages wheat crops reduces supply, pushing bread prices higher. A viral social media trend that makes a sneaker suddenly desirable increases demand, letting the seller charge more. Anything that changes how much is available or how many people want it will move the price.
How Businesses Set Their Prices
While supply and demand set the broad boundaries, individual businesses still have to pick a number to put on the price tag. Three main strategies dominate.
Cost-plus pricing is the most straightforward. A company adds up everything it costs to produce a product (materials, labor, shipping, overhead), then tacks on a markup for profit. If a chair costs $60 to make and the company wants a 50% margin, the price is $90. This method is common in manufacturing, construction, and retail for commodity goods. It guarantees the business covers its costs, but it ignores whether customers think the product is actually worth that amount.
Value-based pricing flips the approach. Instead of starting with costs, a company starts with how much customers believe the product is worth and prices accordingly. A pharmaceutical company might price a drug based on the cost of the illness it treats, not the cost of the pills themselves. Software companies frequently use this model because their production costs per additional user are tiny, but the value to each customer can be enormous. Value-based pricing tends to produce higher margins when a product solves a painful problem or has few substitutes.
Competitor-based pricing works best in markets where products are essentially interchangeable. Think milk, gasoline, or basic office supplies. When one carton of milk is functionally identical to another, sellers have strong incentives to match or undercut the competition. Prices settle around what customers are willing to pay, and profit margins stay thin. This is as close to the pure supply-and-demand model as real-world pricing gets.
Psychological Pricing Tactics
The price on a tag isn’t just a number. It’s a signal, and businesses carefully shape how you perceive it.
Anchoring is one of the most powerful techniques. When you see a jacket originally marked at $200 now on sale for $120, the $200 figure serves as an anchor that makes $120 feel like a deal, even if the jacket was never expected to sell at full price. Luxury brands use this in reverse: by setting extremely high prices, they anchor your expectations so that everything in their product line feels premium. Research has shown that simply presenting a higher-priced option before a target product makes consumers perceive the second product as more affordable, increasing the chance they buy it.
Framing matters just as much as the price itself. Offering “$20 off a $100 product” feels more appealing to most shoppers than simply listing the product at $80, even though the final cost is the same. People are more motivated by avoiding a perceived loss (missing the discount) than by an equivalent gain. Businesses exploit this by emphasizing savings and benefits rather than the absolute cost.
The decoy effect is a subtler tool. A company introduces a third option that isn’t meant to sell well but exists to make another option look better by comparison. A classic example: a streaming service offers a basic plan for $8, a premium plan for $15, and a mid-tier plan for $14 that includes far fewer features than premium. The mid-tier plan is the decoy. It makes the $15 option look like obvious value, steering you toward the higher price.
Algorithms and Real-Time Pricing
Technology has made pricing far more fluid than a static sticker on a shelf. Dynamic pricing uses algorithms to adjust prices in real time based on demand, time of day, inventory levels, and competitor activity. Airlines were early adopters: the same seat on the same flight can cost dramatically different amounts depending on when you search, how full the plane is, and how close the departure date is.
Ride-sharing platforms like Uber and Lyft use a version called surge pricing. During periods of high demand, such as rush hour or severe weather, their algorithms automatically raise fares. The higher price serves two purposes: it discourages some riders (reducing demand) while encouraging more drivers to get on the road (increasing supply). It’s the supply-and-demand mechanism compressed into minutes instead of weeks.
More controversially, some online retailers and service providers now use personalized pricing, sometimes called surveillance pricing. These systems draw on your location, browsing history, purchase patterns, and demographics to set a price tailored to you specifically. The FTC investigated this practice and found in early 2025 that several companies’ AI-driven pricing tools used consumer data to set individualized prices, adjust them in real time, and even manipulate the order in which products appeared. Multiple states have begun exploring regulations around this practice, with some defining “personalized algorithmic pricing” as any price set by an algorithm that fluctuates based on personal data linked to a specific consumer or device.
When Governments Step In
Markets don’t always produce prices that society considers acceptable, especially for essentials. Governments sometimes impose direct limits on what sellers can charge.
A price ceiling is a legal maximum. These are typically applied to staples like food, fuel, or medicine, often after a crisis sends costs skyrocketing. Rent control is one of the most familiar examples: local governments cap how much landlords can increase rent each year to protect tenants from being priced out. Price ceilings can provide short-term relief, but economists broadly agree they create problems over time. When landlords can’t charge market rates, they have less incentive to maintain buildings or build new housing, which can worsen the very shortage that made housing expensive in the first place.
A price floor is the opposite: a legal minimum. The most common example is the minimum wage, which sets the lowest hourly rate an employer can pay. Agricultural price supports work similarly, guaranteeing farmers a minimum price for crops to protect them from market crashes. Price floors can support incomes, but when set above the equilibrium price, they can create surpluses, whether that’s unsold crops or, in the case of wages, more people looking for work than there are jobs available.
What Actually Drives the Price You Pay
In practice, the price of almost anything you buy reflects several of these forces layered on top of each other. The cost of a gallon of gas starts with global crude oil supply and demand, gets shaped by refining costs and taxes, responds to competitor pricing at nearby stations, and may shift based on the time of day or your location if you’re using a delivery app. A hotel room price starts with construction and operating costs, gets adjusted by an algorithm tracking local events and occupancy rates, and might be personalized based on whether you’re searching from a phone or a desktop.
Understanding these layers gives you practical leverage. Knowing that anchoring influences your perception means you can ignore the “original price” on a sale tag and evaluate whether the actual price is worth it. Knowing that algorithms personalize prices means clearing your browser cookies or comparing prices across devices might save you money. And knowing that supply and demand drive the big picture means timing your purchases, buying off-season or avoiding peak demand, is one of the most reliable ways to pay less for the same thing.

