Skip to content

The Fee Market

Every ten minutes or so, the Bitcoin network produces one new block, and that block can hold only so much. That hard limit turns block space into a scarce good — and where there’s a scarce good and many buyers, there’s a market. The fee market is how Bitcoin decides whose transactions get into the next block when not everyone can fit.

A block isn’t measured in “number of transactions.” It’s measured in weight units, capped at 4,000,000 weight units per block (often described as a “block size” of up to ~4 MB in the best case, ~1–2 MB in typical practice). Every transaction consumes some of that budget depending on how much data it takes to express.

The key facts:

  • Supply is fixed and inelastic. No matter how many people want to transact, each block offers ~4M weight units, and blocks arrive at a roughly steady rate set by difficulty. You cannot conjure more space by paying more — you can only out-bid others for the space that exists.
  • Demand is variable. Sometimes the network is quiet; sometimes a surge of activity wants in all at once.

When demand for space in the next block exceeds supply, something has to ration it. Bitcoin rations it with price.

Transactions don’t pay a flat fee — they pay a fee rate, measured in satoshis per virtual byte (sat/vB).

This is a continuous, blind auction. Each user attaches the fee rate they’re willing to pay; miners, acting purely in self-interest, sort the waiting transactions by fee rate and pack the highest payers into the next block until it’s full. The result is price discovery: there’s no posted price list, just thousands of independent bids resolving into a clearing rate, block after block.

The mempool, sorted by fee rate (high → low)
┌──────────────────────────────────────────────┐
│ 60 sat/vB ┐ │
│ 45 sat/vB ├─ fit into the NEXT block (top │ ← miners take
│ 30 sat/vB ┘ ~4M weight units of bids) │ the top bids
│ ─────────── clearing rate (the cutoff) ───── │
│ 12 sat/vB ┐ │
│ 5 sat/vB ├─ wait for a future, cheaper │ ← low bids
│ 1 sat/vB ┘ block │ wait
└──────────────────────────────────────────────┘

That waiting room of unconfirmed transactions is the mempool — each node’s view of pending bids.

Because supply is fixed and demand swings, fees are naturally volatile:

  • Quiet periods: if all waiting transactions fit in the next block, there’s nothing to bid against. Fee rates fall toward the network’s tiny minimum — you can transact for almost nothing.
  • Surges: when far more transactions arrive than fit, users start out-bidding each other for the scarce slots. The clearing rate spikes; low-fee transactions can wait hours, days, or get dropped from mempools entirely.
  • Self-correction: high fees suppress non-urgent demand (people wait), which eventually clears the backlog and pulls fees back down. It’s a thermostat made of incentives.

Your wallet’s “fast / medium / slow” options are just estimates of what rate is likely to clear in the next few blocks versus over the coming hours. Because a transaction’s fee can become stuck if conditions change, Bitcoin offers escape hatches: RBF (rebroadcast the same transaction at a higher fee) and CPFP (a child transaction pays to drag a stuck parent along). Those mechanics, and the question of when an unconfirmed transaction can be trusted, are covered in RBF/CPFP & the mempool. The arithmetic of how fees are actually deducted — inputs − outputs = fee, with change handled explicitly — lives in fees & change.

How the fee market helps strangers agree on one ledger

Section titled “How the fee market helps strangers agree on one ledger”

It’s worth pausing on the textbook’s recurring question here, because the fee market answers it in a way that’s easy to miss. Block space is the one truly scarce resource inside the system, and an open auction is a neutral, permissionless way to allocate it. No one decides whose payment matters more; no committee approves transactions. Anyone, anywhere, can bid, and the same rule (highest fee rate wins the scarce space) applies to all. That neutrality is part of why untrusting strangers can share one ledger: the rationing rule plays no favorites and requires no trusted gatekeeper.

In Bitcoin’s early decades, fees are a rounding error next to the block subsidy. But as covered in miner incentives, the subsidy halves toward zero, and eventually fees must carry the entire security budget. That makes the fee market not just a congestion mechanism but the long-run economic foundation of the network’s security.

  1. What exactly is the scarce good in the fee market, and what fixes its supply per block?
  2. Why do miners and wallets care about fee rate (sat/vB) rather than the total fee paid?
  3. Describe what happens to the clearing fee rate during a demand surge, and why it self-corrects.
  4. In what sense is the fee auction “neutral,” and how does that neutrality support a shared ledger among strangers?
  5. Why does the fee market become more important to Bitcoin’s security over time, not less?