Skip to content

We're upgrading our operations to serve you better. Orders ship as usual from Laval, QC. Questions? Contact us

Bitcoin accepted at checkout  |  Ships from Laval, QC, Canada  |  Expert support since 2016

Bits

Advanced Mining Basics

Also known as: nBits, Compact target

Definition

The ‘bits’ field is a 4-byte compact representation of the 256-bit target value. The first byte indicates the number of bytes in the target, and the remaining three bytes are the most significant digits. This compact format allows the 32-byte target to fit in just 4 bytes of the block header.

For example, bits value 0x170c3141 encodes a target with the leading non-zero bytes 0c3141 shifted to start at byte position 0x17 (23). The actual target is a very large number, but still far smaller than the maximum possible 256-bit value.

In Simple Terms

A compact encoding of the mining difficulty target stored in each block header.

A compact 4-byte encoding of the difficulty target stored in the block header. Represents the threshold that a valid block hash must be below.

Explore the Full Glossary

Browse all Bitcoin mining terms from A to Z. Whether you are a beginner or expert, deepen your understanding of the mining ecosystem.

Mining Glossary

ASIC Miner Database

Compare 500+ miners with real-time profitability data, home mining scores, and detailed specs.

Compare Miners