How Does Bitcoin Work? A Simple Step-by-Step Explanation
Bitcoin works by having you sign payments with a private key; nodes verify them and miners add them to the blockchain in blocks about every 10 minutes.

In this guide
How does bitcoin work? In short, you sign a payment with a secret key, broadcast it to a global network of computers, and miners lock it into a public ledger called the blockchain, where thousands of independent nodes verify it. No bank approves the transfer; the rules are enforced by software that anyone can run and check.
That sounds abstract, so this guide follows a single payment from start to finish. You will see exactly what your wallet does when you press “send,” where the transaction waits, how miners pick it up, why it needs “confirmations,” and how the fee is calculated, with real numbers.
If you want the bigger picture first, including Bitcoin’s history, supply cap and how to buy it, start with our pillar guide Bitcoin explained. Otherwise, read on for the mechanics.
How Does Bitcoin Work in Simple Terms?
Picture a giant public notebook that records every bitcoin payment ever made. Thousands of people around the world keep an identical copy. Every 10 minutes or so, someone adds a new page listing the latest payments, and everyone else checks that page against the rules before copying it into their notebook.
Three ideas make this work without a central bookkeeper:
- Digital signatures prove that the owner of some coins really approved spending them.
- A shared ledger, the blockchain, lets everyone see which coins have already been spent, which stops people spending the same coin twice.
- Proof of work makes adding a new page expensive, so rewriting old pages would cost more than any attacker could realistically spend.
The roles are split between users (who send and receive), nodes (computers that store the ledger and check every rule), and miners (nodes that also compete to write new pages, called blocks). Anyone can be any of the three.
The Building Blocks: Keys, Addresses and UTXOs
Private keys and public keys
Your bitcoin is controlled by a private key, which is just a very large random number, so large that guessing someone else’s is not realistically possible. From it, your wallet derives a public key using elliptic-curve math (Bitcoin uses a curve called secp256k1). The math only works one way: you can get the public key from the private key, but not the reverse.
Modern wallets generate all their keys from a single seed phrase of 12 or 24 words. Back up those words and you can restore every key the wallet ever made.
Addresses
An address is a shorter, encoded form of your public key (or of a script that says how coins can be spent). It is what you share to get paid. Today most wallets use addresses beginning with “bc1,” which are cheaper to spend from than older formats starting with “1” or “3.”
UTXOs: coins are really “unspent outputs”
Bitcoin does not store account balances the way your bank does. Instead, it tracks unspent transaction outputs, or UTXOs. Each UTXO is a chunk of bitcoin locked to an address, created by some earlier transaction.
Think of UTXOs as bills in a physical wallet. If you hold a 0.05 BTC “bill” and want to pay 0.01 BTC, you hand over the whole bill and get change back. Your wallet’s displayed balance is simply the sum of all the UTXOs your keys can spend. To learn how wallet apps manage this for you, see what a crypto wallet is and how it works.
How Does Bitcoin Work for Beginners, Step by Step
Here is the full life cycle of a transaction. We will put real numbers on it in the next section.
Step 1: The receiver shares an address
Bob opens his wallet and taps “receive.” The wallet shows a fresh address and QR code. Wallets typically generate a new address for each payment to improve privacy.
Step 2: The sender’s wallet builds a transaction
Alice enters Bob’s address and the amount. Her wallet chooses which of her UTXOs to spend (the inputs) and creates new outputs: one paying Bob, and usually one returning change to an address Alice controls. Whatever value the inputs have beyond the outputs is left for the miner as the fee. There is no separate “fee” field.
Step 3: The wallet signs it
Alice’s wallet signs the transaction with the private key for each input. The signature is unique to this exact transaction, so nobody can reuse it to send the coins elsewhere, and changing even one digit of the amount would make it invalid. The private key itself never leaves the wallet.
Step 4: Broadcast and the mempool
The wallet sends the signed transaction to one or more Bitcoin nodes. Each node independently checks it: valid signatures, inputs that exist and are unspent, outputs that do not exceed inputs, and a fee rate high enough to relay. If it passes, the node stores it in its mempool (memory pool) and passes it to its peers. Within seconds it has spread across the network.
At this point Bob’s wallet may show the payment as “pending” or “unconfirmed.” It is not final yet.
Step 5: Miners select transactions
Block space is limited. Since the 2017 SegWit upgrade, a block can hold up to 4 million weight units, equal to 1 million virtual bytes (vB). Miners want to earn as much as possible from that space, so they generally fill blocks with the transactions paying the highest fee rate, measured in satoshis per virtual byte (sat/vB). One satoshi is 0.00000001 BTC.
Step 6: Proof of work
A miner assembles a candidate block: a header (containing the previous block’s hash, a summary of all included transactions, a timestamp and a target) plus the transactions themselves. The first transaction, called the coinbase transaction, pays the miner the block subsidy (3.125 BTC since the April 2024 halving) plus all the fees.
The miner then hashes the header with SHA-256, twice, over and over, changing a number called the nonce each time. The goal is a hash below the network’s current target. Nobody can predict which nonce wins, so it is pure trial and error at enormous scale. The network retunes the target every 2,016 blocks so that, on average, someone succeeds about every 10 minutes. Our guide to Bitcoin mining explains the hardware and economics in detail.
Step 7: The block spreads and is verified
The winning miner broadcasts the block. Every node checks every transaction and the proof of work itself. If all is valid, they append it to their copy of the chain, remove its transactions from their mempools, and start building on top of it. Miners who cheated would simply have their block rejected and lose the reward, which is a powerful incentive to follow the rules.
Step 8: Confirmations
Alice’s transaction now has one confirmation. Each later block adds another. Occasionally two miners find blocks at nearly the same time, and the network briefly has two competing versions; the one that gets built on first wins and the other block is discarded. That is why people wait for a few confirmations before treating a large payment as final. Six confirmations, about an hour, is the traditional rule of thumb for big amounts, while many services credit smaller deposits after one to three.
Worked Example: Alice Sends Bob 0.01 BTC
Example: Alice wants to pay Bob 0.01 BTC.
Her wallet holds one UTXO worth 0.05 BTC, which is 5,000,000 satoshis. She wants to send 0.01 BTC, which is 1,000,000 sats.
1. Size the transaction. A typical transaction with one input and two outputs, using modern native SegWit (bc1q) addresses, is about 141 virtual bytes.
2. Pick a fee rate. Suppose the mempool is moderately busy and Alice’s wallet suggests 10 sat/vB to get into a block within the next hour or so. Fee = 141 vB × 10 sat/vB = 1,410 sats.
3. Calculate change. Change = 5,000,000 − 1,000,000 − 1,410 = 3,998,590 sats, or 0.0399859 BTC, sent back to a new address in Alice’s wallet.
4. Check the totals. Inputs: 5,000,000 sats. Outputs: 1,000,000 (Bob) + 3,998,590 (change) = 4,998,590 sats. The missing 1,410 sats is the miner’s fee.
5. Convert to dollars. At a hypothetical price of $60,000 per BTC, one sat is worth $60,000 ÷ 100,000,000 = $0.0006. The fee is 1,410 × $0.0006 = about $0.85, whether Alice sends $600 or $6 million in that same transaction shape.
Two points jump out. First, the fee depends on the transaction’s size in bytes, not on the amount of bitcoin moved. Second, if Alice’s coins were spread across many small UTXOs, her transaction would need more inputs, take up more space and cost more. Each extra native SegWit input adds roughly 68 vB.
What if the fee is too low?
If fees spike after Alice sends, her 10 sat/vB transaction may sit in the mempool for hours. She has options:
- Replace-by-fee (RBF): many wallets let you re-broadcast the same payment with a higher fee, replacing the stuck version.
- Child-pays-for-parent (CPFP): the receiver (or the sender, via the change output) spends the unconfirmed output with a high fee, so miners take both transactions together.
- Wait: nodes typically drop transactions that stay unconfirmed for about two weeks, after which the coins are effectively back in Alice’s control.
Why Nobody Can Fake or Reverse a Payment
Bitcoin’s security comes from several layers working together.
| Threat | What stops it |
|---|---|
| Someone spends your coins without permission | Only a valid signature from your private key can spend your UTXOs |
| Someone edits the amount after you sign | Any change invalidates the signature |
| You try to spend the same coin twice | Nodes reject any input already spent on the chain or in their mempool |
| A miner creates extra coins | Every node checks the block reward against the issuance schedule and rejects excess |
| Someone rewrites old blocks | They would need to redo all the proof of work since that block, faster than the honest network |
The last row is the famous “51% attack.” An attacker controlling most of the network’s mining power could, in principle, reverse their own recent transactions. They still could not steal coins from other people’s addresses or break the supply rules. Bitcoin’s total hash rate is so large that acquiring a majority would require an enormous investment in hardware and electricity.
Bitcoin uses proof of work to secure this process, while networks such as Ethereum use proof of stake. Our comparison of proof of stake vs proof of work explains the trade-offs.
Is Bitcoin Safe?
It depends which part you mean. The protocol has a strong track record: since 2009, nobody has broken its cryptography or forged a signature. Most real-world losses happen at the edges.
- Lost keys. If you lose your seed phrase and device, nobody can recover the coins. There is no “forgot password” link.
- Theft and scams. Phishing, fake wallet apps and social-engineering scams trick people into revealing keys or sending coins. Payments cannot be reversed.
- Exchange failures. Coins left on a platform depend on that company’s solvency and security.
- Price swings. The network may work perfectly while the price falls 50% or more. Technical safety is not investment safety.
- Address mistakes. Sending to the wrong address, or to an address on a different network, can mean permanent loss. Always copy and paste, then check the first and last several characters.
Tip: Before sending a large amount to a new address, send a small test payment first and confirm it arrives. The extra fee is cheap insurance.
On-Chain vs Lightning: Two Ways to Send Bitcoin
Everything above describes on-chain transactions recorded directly in Bitcoin blocks. Because block space is limited, the main chain handles only a modest number of transactions per second, and fees rise when demand is high.
The Lightning Network is a second layer that addresses this. Two parties lock bitcoin in a shared channel with one on-chain transaction, then exchange many instant payments between themselves (and across connected channels) without touching the blockchain. Only the final balance is settled on-chain when the channel closes.
| Feature | On-chain | Lightning |
|---|---|---|
| Speed | About 10 minutes per confirmation | Usually seconds |
| Fees | Based on transaction size and demand | Typically a few sats for small payments |
| Best for | Larger transfers, long-term storage | Small, frequent payments |
| Trade-off | Slower, fees can spike | Requires online wallet or channel management; less suited to very large sums |
Bottom Line
Bitcoin works by combining digital signatures, a shared public ledger and proof-of-work mining, so strangers can agree on who owns what without a bank. A transaction moves from your wallet to the mempool, into a miner’s block, and then gains confirmations until it is practically irreversible. Fees depend on bytes, not dollars, so modern addresses and fewer inputs save money. To go further, explore our crypto hub or learn how to keep your keys safe before you send your first payment.
Sources
Frequently asked questions
How does bitcoin work in simple terms?
You sign a payment with a secret key, broadcast it to the network, and miners add it to a shared public ledger called the blockchain. Thousands of independent computers check every transaction, so no bank is needed to approve it.
How long does a bitcoin transaction take?
A new block is found about every 10 minutes on average, so the first confirmation usually takes 10 minutes to an hour depending on your fee. Many services wait for one to six confirmations before treating a payment as final.
How are bitcoin fees calculated?
Fees are set by the sender and measured in satoshis per virtual byte (sat/vB). Multiply the transaction's size by the fee rate: a 141 vB transaction at 10 sat/vB costs 1,410 sats, regardless of the amount sent.
Is bitcoin safe?
The Bitcoin network's cryptography has not been broken since it launched in 2009. Most losses come from lost seed phrases, scams, exchange failures and price swings, so the risk is mostly in how you store and handle it.
Can a bitcoin transaction be reversed?
No. Once a transaction is confirmed, there is no bank or support desk that can undo it. An unconfirmed transaction can sometimes be replaced with a higher-fee version using replace-by-fee, but only by the sender.
What happens if I send bitcoin to the wrong address?
If the address is valid but belongs to someone else, the coins are almost certainly gone unless that person returns them. Always paste addresses, check the first and last characters, and send a small test amount first.