February 4, 2026  ·  The Bitcoin Course

How Bitcoin Transaction Fees Work: Mempool, Sats/Byte, and Fee Calculation Explained


Every time you send or receive Bitcoin, you pay a transaction fee. That part is well known. What's less understood is how those fees are actually calculated — and why they sometimes spike unexpectedly.

In this guide, I'll explain the three core concepts that determine Bitcoin fees: the mempool, the satoshis-per-byte rate, and how your final fee is calculated.

Quick Recap: How Bitcoin Works

Before we get into fees, it helps to briefly understand how Bitcoin works.

Bitcoin is a blockchain. Roughly every ten minutes, a new block is added to the chain, and each block contains a batch of transactions.

Miners are the participants who collect new transactions, package them into blocks, and add those blocks to the blockchain.

Here's what's critical to understand: blocks are limited in size. Each block can only store a certain amount of data, which means it can only include a limited number of transactions. Not every transaction can fit into the next block — especially when demand is high.

This limitation is where transaction fees come from.

Why Bitcoin Fees Exist

When you broadcast a transaction, you're competing with every other transaction waiting to be confirmed.

Miners are economically incentivized to choose the transactions that pay the highest fees relative to the space they consume in a block. If you want your transaction confirmed quickly, your fee needs to be competitive.

What Is the Mempool?

All unconfirmed transactions sit in a waiting area called the mempool.

The mempool is essentially a queue of transactions that have been broadcast to the network but not yet included in a block.

Here's how it works:

  1. Miners look at the mempool
  2. They sort transactions by fee rate
  3. They select the most profitable ones to include in the next block

If your fee is high enough, your transaction gets picked quickly. If it isn't, your transaction simply waits.

A tool like mempool.space is useful for visualizing this. It shows blocks that have already been mined, transactions currently waiting in the mempool, and the fee rates required to get into the next few blocks. It gives you a live view of the Bitcoin fee market as it exists right now.

How Bitcoin Fees Are Calculated

Now let's talk about how fees are actually calculated, because this is where most beginners get confused.

Bitcoin fees are not based on the amount of bitcoin you send.

Whether you send 0.001 BTC or 10 BTC, the fee could be exactly the same. What matters is not the value being transferred, but how much data your transaction uses.

Transaction Size Determines Your Fee

Every transaction takes up space in a block. Think of it like files on a computer or photos on your phone. Larger files take up more storage. Smaller files take up less. Because block space is limited, transactions that consume more space must pay more to be included.

Several factors influence how large a transaction is:

The Delivery Truck Analogy

An easy way to think about this: imagine a delivery truck that drives through town once per day. The truck has limited space. If you're sending a small package, you take up very little room and pay less. If you're sending a large package, you occupy more space and pay more. Bitcoin works the same way — the more block space your transaction consumes, the higher the fee.

Understanding Satoshis Per Byte (Sats/Byte)

To measure fees, Bitcoin uses satoshis per byte.

First, a quick definition:

Bitcoin fees are measured in how many satoshis you pay per byte of data.

Total Fee (sats) = Fee Rate (sats/byte) × Transaction Size (bytes)

Example 1: Small Transaction

Example 2: Larger Transaction (same fee rate)

A Quick Note on Virtual Bytes

Technically, modern Bitcoin uses something called "virtual bytes" (vBytes) rather than raw bytes. This gives newer address formats — the ones starting with bc1 — a fee discount compared to older legacy addresses. But the concept is the same: you're paying for the space your transaction uses. Your wallet handles this calculation automatically.

Why This System Matters

This system makes it easy for miners to compare transactions. A higher sats/byte rate means higher priority. A lower rate means lower priority and potentially longer confirmation times.

The concepts all connect: fees are determined by competition for limited block space, measured by how much data your transaction uses, and by how many sats you're willing to pay per byte.

Bringing It All Together

When you send a Bitcoin transaction:

  1. Your wallet calculates the transaction size based on inputs, outputs, and address types
  2. You choose a fee rate (sats/byte) based on how quickly you want confirmation
  3. The wallet multiplies fee rate × size to determine your total fee
  4. Your transaction enters the mempool
  5. Miners select the highest-paying transactions for the next block

Understanding this system helps you make informed decisions about fee rates, avoid overpaying, and know when to wait for lower fees.

Want to master Bitcoin self-custody from the ground up? The Bitcoin Course walks you through wallet fundamentals, security models, and professional hardware wallet setups — so you understand exactly what controls your Bitcoin and how to secure it properly. Learn more here.

C

Cole — Southern Bitcoiner

Bitcoin security specialist with 7+ years in Bitcoin and 5+ years focused on security. Has guided clients globally in securing millions of dollars worth of Bitcoin. Conference speaker at Adopting Bitcoin 2025. YouTube educator at @SouthernBitcoiner (9K+ subscribers).