+150 XP

How wholesale power markets set the price of electricity

A single power plant just set the price for millions of people

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.

Who runs the market

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:

  • Day-ahead market: generators and buyers commit today for each hour of tomorrow. This is where most volume clears.
  • Real-time market: a balancing market that runs every few minutes to correct the gap between what was scheduled and what actually happens (a cloudy afternoon, a plant tripping offline).

Merit-order dispatch: cheapest first

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.

  • Solar and wind have near-zero fuel cost. Sun and wind are free. They offer very low, sometimes zero.
  • Nuclear is cheap to run once built and hard to turn off, so it usually offers low.
  • Natural gas costs money for every unit of fuel burned, so it offers higher.
  • Peaker plants (gas turbines that run only during peak demand) are expensive to operate and offer highest.

So the stack, from bottom to top, often looks like: renewables, then nuclear, then efficient gas, then older gas, then peakers.

The marginal plant sets the clearing price

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.

Why prices swing so hard

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.

How Do Electricity Markets Work?

Watch on YouTube

Negative prices: paying people to take power

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.

Capacity markets: paying for readiness, not power

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?

MULTIPLE CHOICE

4. Select ALL correct answers about the role of ISOs/RTOs in competitive wholesale power markets.

Select all the correct answers.

MULTIPLE CHOICE

5. Select ALL correct answers about how merit-order (economic) dispatch works.

Select all the correct answers.

How the pieces fit together

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.

Why this matters for business

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.

Key Takeaways

  • Cheapest first, one price for all. Grid operators dispatch generators in merit order, and the last (most expensive) plant needed sets the marginal clearing price paid to everyone who cleared.
  • Fuel cost drives the stack. Zero-fuel renewables and low-cost nuclear sit at the bottom; gas peakers sit at the top and often set the price during peak demand.
  • Volatility is a feature, not a bug. Because power cannot be easily stored, prices swing from very low (or negative) in gluts to capped highs during scarcity, giving live signals about supply and demand.
  • Negative prices signal oversupply, usually caused by inflexible plants that avoid shutdown costs or subsidized renewables that still profit below zero.
  • Capacity markets pay for readiness, a separate mechanism (used in PJM, not in energy-only ERCOT) that keeps rarely-used plants available for peak reliability.

Frequently asked questions

How is the wholesale price of electricity actually set?

Grid operators run auctions where generators submit offers, then stack them from cheapest to most expensive until demand is met. The last plant needed, the marginal unit, sets the clearing price, and every generator that cleared is paid that same price. So a single older gas plant can price electricity for an entire region for that hour.

What is merit-order dispatch and why do plants offer such different prices?

Merit order, or economic dispatch, ranks every available generator by its offer price and calls them in that order until demand is covered. The differences come mainly from fuel cost: solar and wind have near-zero fuel cost and offer very low, nuclear is cheap to run and hard to turn off, gas pays for every unit burned, and peaker plants sit at the top. The result is a stack running from renewables and nuclear at the bottom to peakers at the top.

What is the difference between the day-ahead market and the real-time market?

The day-ahead market is where generators and buyers commit today for each hour of tomorrow, and it clears most of the volume. The real-time market runs every few minutes to correct the gap between what was scheduled and what actually happens, like a cloudy afternoon or a plant tripping offline. When a large unit fails, real-time prices jump to pull replacement supply online quickly.

Why do electricity prices sometimes go negative?

Negative prices happen when supply exceeds what the system can absorb and some generators prefer to pay rather than stop. Inflexible plants, certain nuclear or coal units, face restart costs higher than a small negative price, and subsidized renewables earning a per-megawatt-hour incentive still profit below zero. These episodes are increasingly common in high-renewable regions such as parts of Texas, California and Germany, and they signal a lack of demand, storage or transmission at that moment.

Why do markets like PJM pay a capacity price on top of the energy price?

Because a peaker plant that runs 50 hours a year cannot cover its costs from energy sales alone. A capacity market pays generators to be available and ready for peak days, whether or not they end up producing, which keeps enough firm supply on the system. PJM is the best-known example; ERCOT in Texas is energy-only and relies instead on price spikes during scarcity to signal that new plants are needed.

How can an energy-intensive business lower its bill using these market mechanics?

By moving flexible consumption into hours when the marginal plant is cheap: running heavy loads at 3:00 a.m., pre-cooling a warehouse before the afternoon peak. That is the logic behind demand response and battery storage, which buy or store when prices are low and use or sell when they spike. For a data center, factory or cold-storage site, these hourly price swings are a direct part of the cost structure.

Related articles

Recent articles from the blog that build on this lesson.