Reviewed Aug 2026
DE
BA-01 · LESSON 03

Bits, bytes, hex, and endianness

Computers store Bitcoin data as bits grouped into bytes. Hexadecimal is a compact way to display those bytes, while byte order determines how a number is read.

55 min Difficulty 1/5 Not started

Loading lesson visuals...

01

Learn the idea

A bit is one binary digit, either 0 or 1. Eight bits form a byte. Hexadecimal, or hex, writes each group of four bits as one character from 0 to 9 or a to f. Endianness is the order in which a multi-byte number is stored or displayed.

GUIDED EXPLANATION1/5 ideas inspected
1

Group bits into bytes

The binary value 10101100 is one byte. Its high four bits are 1010 and its low four bits are 1100.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionLittle-endian means reversing every hexadecimal character.

Endianness reverses byte order. Characters within each byte stay together, so 12 34 becomes 34 12, not 43 21.

02
FINISH LEARNING FIRST

The questions unlock after every required learning activity

Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.