What is a blockchain? Explained in simple terms

3 min read· Published · Updated

Blockchain Explained in 3 Minutes. Plays from YouTube when you tap it.
Read the video transcript

Imagine a notebook that strangers all over the world keep at the same time. Anyone can read it. Nobody can secretly change a line. That notebook is a blockchain. Let's see how it works.

Say you and your friends split a pizza. Who paid, and who owes what? Usually one person writes it down. But what if they make a mistake, or quietly change it?

Online, that one person is usually a bank or a company. A blockchain removes the single record keeper.

Instead, everyone keeps a copy of the same notebook. The copies live on computers all over the world, called nodes. When something new happens, every copy gets the same new line.

New lines aren't added one by one. They're collected into a page. That page is called a block.

Now the clever part. Every page gets a fingerprint, called a hash. It's a short code calculated from everything on the page. Change one tiny detail, even one letter, and the fingerprint is completely different.

Too abstract? Let's make it simple. Take "Alex paid 10". Its fingerprint starts with 7645. Now change it to "Alex paid 11".

The fingerprint starts with d0c7. One tiny change, a totally different code.

Each new page also writes down the fingerprint of the page before it. That's the chain.

So if someone changes an old page, its fingerprint changes, and it no longer matches what the next page wrote down. Everyone can see the break.

Think of pages sealed to each other. Peel one, and every seal after it breaks. To hide the change, you'd have to redo every page after it. And every new page makes that harder.

So who gets to write the next page? On Bitcoin, computers race to solve a hard puzzle, and the winner writes the page. That's proof of work. On Ethereum, people lock up coins as a deposit, and one of them is picked at random to write each page. That's proof of stake.

Either way, the network agrees on one next page. So: a shared notebook, pages called blocks, fingerprints called hashes, and every page sealed to the one before. That's a blockchain. And the next time you tap send, your transaction is just a new line, waiting for the next page.

Short answer

A blockchain is a shared notebook that many computers around the world keep at the same time. Anyone can read it, and nobody can secretly change a line.

On this page

Why not just let one person keep the record?

Say you and your friends split a pizza. One person writes down who paid and who owes what. That works, until they make a mistake or quietly change a number.

Online, that one person is usually a bank or a company. You trust their record because it is the only one.

A blockchain removes the single record keeper. Many computers each keep a copy of the same notebook. These computers are called nodes. When a new line is added, every copy gets it. Bitcoin’s own site calls this a shared public ledger: a ledger is just a record of who paid whom.

What is a block?

New lines are not added one at a time. They are collected into a page, and that page is called a block.

Most lines are transactions: someone sending coins to someone else. ethereum.org sums it up in one sentence: “Blocks are batches of transactions with a hash of the previous block in the chain.” The next two sections explain the hash part.

What is a hash, and why does one letter change everything?

A hash is a fingerprint for data. It is a short code calculated from everything on the page. Change one letter and the code is completely different.

Here is the example from the video. It uses SHA-256, a standard recipe for calculating hashes:

Text Its hash starts with
Alex paid 10 7645733a…
Alex paid 11 d0c7733e…

One digit changed, and nothing about the new code tells you how close the text was. However long the text, a SHA-256 code is always 64 characters. A whole page gets a fingerprint as short as one line, which makes it a good seal.

Why can’t anyone secretly change an old block?

Each page also writes down the fingerprint of the page before it. That is the chain.

Four pages drawn in a row, joined by arrows. Each page after the first notes the previous page's fingerprint under 'prev'.Four pages drawn in a row, joined by arrows. Each page after the first notes the previous page's fingerprint under 'prev'.
Each page notes the fingerprint of the one before. The codes are shortened and only for illustration.

Now say someone edits an old page. Its fingerprint changes, so it no longer matches what the next page wrote down. The break shows, and every other copy still has the original.

To hide the edit, they would have to redo every page after it. On Bitcoin, the cost of that grows with every new block added on top.

Who decides which block comes next?

Someone has to write the next page, and everyone has to agree on it. Blockchains pick that writer in different ways:

  • Proof of work (Bitcoin). Computers race to solve a hard puzzle. The winner writes the next block.
  • Proof of stake (Ethereum). People lock up coins as a deposit. They are called validators. One of them is picked at random to propose each block.

Why bother with a rule at all? If two people wrote different pages at the same moment, the copies would stop matching. One writer per block, checked by everyone else, keeps every copy the same.

Either way, the network agrees on one next page, and every copy adds it.

Where do I fit in?

When you send crypto, your transaction is a new line waiting for the next page. Your coins are recorded in this notebook too.

That raises the next question. If your coins live in the notebook, what does a crypto wallet actually hold?

Check yourself

3 quick questions. Your answers stay on this device.

  1. 1You change “paid 10” to “paid 11” on an old page. What happens to that page’s fingerprint?
    Show the answer

    b) It becomes a completely different code. A hash is calculated from everything on the page, so any change gives a new code.

  2. 2Someone edits a block from last year on their own copy. Why doesn’t it stick?
    Show the answer

    c) The next block still holds the old fingerprint, so the break shows, and every other copy still has the original. Each block records the previous block’s hash, and many computers keep their own copy.

  3. 3On a proof-of-stake chain like Ethereum, how is the next block writer chosen?
    Show the answer

    a) At random, among people who locked up coins as a deposit. Validators lock up ETH as a deposit, and one of them is picked at random to propose each block.

Words in this lesson

Blockchain
A shared record kept by many computers at once, written in blocks that are chained together by hashes.
Block
A batch of transactions added to the chain together: one page of the shared notebook.
Hash
A short code calculated from data. Change the data even slightly and the code is completely different.
Node
A computer that keeps its own copy of the blockchain and checks new blocks.

FAQ

Is a blockchain the same as Bitcoin?

No. Bitcoin is one blockchain and Ethereum is another. Both keep a shared record in blocks. They choose who writes the next block in different ways.

Can a blockchain be hacked or changed?

Its old records are very hard to change. Editing an old block breaks the link to every block after it, and the other copies still hold the original. On Bitcoin, hiding the edit means redoing the work for every later block, and each new block makes that harder.

Who owns a blockchain?

On a public blockchain such as Bitcoin or Ethereum, no single person keeps the record. Many independent computers each hold a copy and check every new block.

Watch more

Something wrong or out of date? Report a problem with this page.

Type to search the docs, Learn topics and the blog.