# How wholesale power markets set the price of electricity
At 10:00 a.m., a grid operator finishes an auction. Dozens of generators submitted offers overnight: how much power they can deliver, and the lowest price they will accept. The operator stacks these offers from cheapest to most expensive and starts buying, filling demand from the bottom up.
The last plant it needs to meet demand, the most expensive one that still clears, sets the price. Every generator that cleared gets paid that same price, even the cheap ones. That single "marginal" plant just priced electricity for an entire region.
This is how most electricity gets bought and sold. Let's break down why.
In many regions, an independent operator manages the grid and the market. In the United States these are called ISOs (Independent System Operators) or RTOs (Regional Transmission Organizations). Examples include PJM (which covers parts of the Mid-Atlantic and Midwest), CAISO (California), and ERCOT (Texas).
Their job: keep supply and demand balanced second by second, and run auctions that decide which power plants run and at what price.
Not every region works this way. Parts of the US Southeast and West still use vertically integrated utilities that own generation and set rates through regulators. But where competitive wholesale markets exist, auctions rule.
Two auctions matter most:
The core mechanism is merit order, also called economic dispatch. The operator ranks every available generator by its offer price, then dispatches them in order until demand is met.
Why do plants offer such different prices? Mostly fuel cost.
So the stack, from bottom to top, often looks like: renewables, then nuclear, then efficient gas, then older gas, then peakers.
Here is the part that surprises people. Imagine tomorrow at 6:00 p.m. the region needs 40,000 megawatts (MW).
The operator fills that demand cheapest first. Solar and wind clear at near zero. Nuclear clears. Cheap gas clears. Demand keeps climbing, and the operator keeps buying up the stack. The last unit needed, say an older gas plant offering a certain price, is the marginal unit.
Everyone who cleared gets paid that marginal price. This is called the marginal clearing price or, more precisely, the locational marginal price (LMP): the price at a specific point on the grid.
Why one price for all? Because a uniform price gives every generator an incentive to offer its true cost. If you offer too high, you don't clear and earn nothing. Offer at your real cost and you clear whenever the market price sits above it, capturing the difference as margin. Economists call this a good property of uniform-price auctions.
For a clear primer on how LMP and dispatch work, the US Energy Information Administration has free explainers on electricity markets.
Electricity is unusual: it must be produced the instant it is consumed, and it is expensive to store. That makes prices volatile.
On a mild, windy spring night, demand is low and cheap wind is abundant. The marginal plant might be very cheap, so prices are low.
On a hot summer afternoon, demand spikes, everyone runs air conditioning, and the operator has to dig deep into the stack to fire up expensive peakers. The marginal price jumps. During extreme events (a heat wave, a cold snap), prices can hit the market's price cap.
Sometimes the clearing price goes below zero. Generators pay the market to keep running. This sounds insane, so why does it happen?
Two reasons:
1. Inflexible plants. Some generators (certain nuclear or coal units) are costly or slow to shut down and restart. On a low-demand night, they would rather pay a small negative price than switch off and face bigger restart costs.
2. Subsidies. In some markets, renewable generators earn a per-unit incentive (such as a production tax credit) for every megawatt-hour they produce. They can still profit while offering a negative price, because the subsidy more than covers the loss.
When lots of wind or solar shows up in a low-demand hour, the bottom of the stack fills with generators happy to run at zero or below. The result: negative prices. This happens with growing frequency in high-renewable regions like parts of Texas, California, and Germany.
Negative prices are a signal. They say: we have too much power here right now and not enough demand, storage, or transmission to absorb it.
Merit order pays for energy actually produced. But there is a second problem: how do you make sure enough plants exist to cover that once-a-year heat wave?
A peaker plant that runs 50 hours a year cannot survive on energy sales alone. So some markets (PJM is the best-known example) run a separate capacity market: they pay generators to be available and ready, whether or not they end up running.
Think of it as a retainer. The energy market pays for the work done. The capacity market pays for the promise to show up. This is meant to keep enough firm supply on the system for reliability.
Not all markets do this. ERCOT in Texas is famously "energy-only," relying on high price spikes during scarcity to signal that new plants are needed, rather than paying a capacity retainer. The two designs are an ongoing debate among regulators and economists.
Knowledge check
1. In a merit-order auction, what determines the price that all cleared generators receive?
2. A low-cost generator (like a wind farm offering near-zero) clears the auction alongside a pricier gas plant that ends up being marginal. Why does the wind farm still earn more than its offer?
3. What is the primary purpose of the real-time (balancing) market relative to the day-ahead market?
4. Select ALL correct answers about the role of ISOs/RTOs in competitive wholesale power markets.
Select all the correct answers.
5. Select ALL correct answers about how merit-order (economic) dispatch works.
Select all the correct answers.
Put it all in one picture of a single day:
1. Overnight: generators submit offers. The operator runs the day-ahead auction and publishes hourly prices and schedules for tomorrow.
2. Through the day: the real-time market adjusts every few minutes for surprises. If a big plant trips offline, real-time prices jump to pull more supply online fast.
3. Cheapest clears first: renewables and nuclear at the bottom, peakers at the top.
4. The marginal plant sets one price for everyone at that location.
5. Capacity markets (where they exist) pay separately to keep enough plants available for peak days.
The genius and the fragility both come from the same fact: electricity clears in real time, so price is a live signal of scarcity. Cheap when supply is plentiful. Extreme when it is tight. Negative when there is a glut.
If you run an energy-intensive business (a data center, a factory, a cold-storage warehouse), these mechanics are your cost structure. Shifting demand to cheap hours (running heavy loads at 3:00 a.m., pre-cooling before a peak) directly lowers your bill. This is the logic behind demand response and battery storage: buy or store when cheap, use or sell when expensive.
For investors and developers, merit order explains asset value. A plant's profit depends on how often the market price sits above its running cost. Renewables suppress midday prices (they flood the cheap end of the stack), which reshapes the economics of every other plant on the grid.