← GlossaryMining
What Is Block Height? How Blocks Are Numbered on the Chain
Block height is the number of a block's position in the chain, counted from the genesis block at height 0, and it is used to schedule halvings and rule changes and to count confirmations.
Key takeaways
- The genesis block is height 0 and each new block adds 1.
- Halving schedules are defined in blocks, so they follow height rather than dates.
- Confirmations equal the current height minus the block's height, plus one.
- Bitcoin's BIP-34 puts the height inside the coinbase transaction.
What height means
Every block has a height: the count of blocks that come before it in the chain. The first block ever mined, the genesis block, has height 0, the next is 1, and so on. The best chain's tip has the greatest height. Two blocks can share a height only if they belong to competing branches, which is what happens briefly when a block goes stale.
Why protocols use it
Protocol rules use height as a clock that cannot be faked. The issuance schedule is defined in blocks: the chain parameters give the halving interval as a number of blocks, 210,000 for Bitcoin, 840,000 for Litecoin and 100,000 for Dogecoin in their source code. Upgrades are also often scheduled for a particular height, so nodes switch rules together.
Height and confirmations
A transaction in a block at height 800,000 has one confirmation when the tip is at 800,000, two when it is at 800,001, and so on. The number of confirmations is therefore the tip height minus the block height plus one. Wallets and explorers compute this for you.
Height inside the block
Because the height is not part of a Bitcoin block header, BIP-34 added a rule that the coinbase transaction must include it. That let nodes tell otherwise identical coinbase transactions apart and made the height verifiable from the block itself. Block height is also the best way to talk about a point in a chain's history, because unlike timestamps it is exact.
Example
A chain has its tip at height 2,500,000. A payment included in block 2,499,995 has 2,500,000 − 2,499,995 + 1 = 6 confirmations.
Formula Confirmations = tip height − block height + 1
Put it into practice
Check confirmations on a block explorer
Open any transaction in your preferred block explorer from Scrypt Wallet to see its block height and current confirmation count.
Create a free wallet Get Scrypt for AndroidSources and verification
Last reviewed 2026-10-02 by the Scrypt Wallet team. The factual claims on this page, and where each comes from:
- BIP-34 requires the block height in the coinbase. [2]
- Bitcoin's subsidy halving interval is 210,000 blocks. [3]
- Litecoin's subsidy halving interval is 840,000 blocks. [4]
- Dogecoin's initial subsidy halving interval is 100,000 blocks. [5]
Sources
- Bitcoin developer guide: Block chain · Bitcoin.org · primary source
- BIP-34: Block v2, height in coinbase · bitcoin/bips on GitHub · primary source
- Bitcoin Core chainparams.cpp · bitcoin/bitcoin on GitHub · primary source
- Litecoin chainparams.cpp · litecoin-project/litecoin on GitHub · primary source
- Dogecoin chainparams.cpp · dogecoin/dogecoin on GitHub · primary source
Primary sources are protocol papers, specifications, source code or a project's own documentation; secondary sources are wikis and explainers. We checked each claim against the source text on the review date. Found an error? Tell us and we will correct it.
Frequently asked questions
Is block height the same as block number?
In practice yes. Both mean the block's position counted from the genesis block.
Can two blocks have the same height?
Only on competing branches. Only one of them ends up on the best chain; the other becomes stale.
Why do halvings use height and not dates?
Block times vary, so a block count gives an exact, verifiable schedule that all nodes agree on.
Written by the Scrypt Wallet team · Updated 2026-10-02. General education, not financial, tax or legal advice.