Hash Rate and Difficulty

What it is

Two measures of the network's mining power and security. Miners use specialized computers to process transactions and add new blocks to the blockchain. To add a block, a miner must find a valid solution to a computational puzzle by trying a huge number of guesses; each guess is called a hash. Hash rate shows how many hashes all miners produce per second. Difficulty shows how many hashes, on average, are needed to find one block.

How it is calculated

Difficulty — set by the protocol and expressed as the estimated number of hashes required to mine one block. The protocol adjusts it regularly so that blocks keep coming at a steady pace: if blocks are found faster than the target, difficulty goes up; if slower, it goes down.

Hash Rate — cannot be measured directly, so it is estimated from difficulty and the number of blocks actually found:

Hash Rate = Difficulty * Blocks per Day / 86,400

Blocks per Day — the number of blocks added to the blockchain during the day.

86,400 — the number of seconds in a day.

Hash rate is the daily average, expressed in hashes per second (often in units such as TH/s, one trillion hashes per second, or EH/s, one quintillion hashes per second).

How to read it

Rising hash rate — more computing power is being directed at the network. Miners are investing in hardware, which usually signals confidence in the network and makes it more secure.

Falling hash rate — miners are switching off equipment, often because mining has become unprofitable after a price drop or a reduction in block rewards.

Rising difficulty — follows a rise in hash rate with a short delay, keeping block production steady.

Falling difficulty — follows a fall in hash rate; mining becomes easier for the miners that remain, which supports their profitability.

Hash rate changes from day to day, while difficulty changes in steps at each adjustment. Long-term trends matter more than short-term moves.

What it is used for

Assessing network security, since the more computing power protects the network, the harder and more expensive it is to attack. Also used to track miners' confidence and investment, and to anticipate changes in mining profitability.

Limitations

Hash rate is an estimate based on how quickly blocks are found, which is partly random, so daily values can be noisy; averages over several days are more reliable. Difficulty reacts to hash rate changes with a delay. Both metrics show the amount of computing power but not who controls it, so they do not reveal how concentrated mining is among large miners or mining pools. They apply only to networks secured by mining (proof of work).