Bits, bytes and nibbles
Beginner · 5 min read · Updated 28 November 2026
In shortA bit is a single 0 or 1. Four bits make a nibble (one hex digit, 16 values) and eight bits make a byte (256 values, 0–255). A kilobyte is 1,000 bytes in SI units, while a kibibyte (KiB) is 1,024 bytes — which is why a "1 TB" drive shows as about 931 GB on some computers.
The ladder of units
| Unit | Size | Different values | Notes |
|---|---|---|---|
| Bit | 1 bit | 2 | 0 or 1 |
| Nibble | 4 bits | 16 | Exactly one hex digit |
| Byte | 8 bits | 256 | One ASCII character |
| 16-bit word | 2 bytes | 65,536 | Old games consoles, Unicode BMP |
| 32-bit | 4 bytes | ~4.29 billion | IPv4 addresses, many colours (RGBA) |
| 64-bit | 8 bytes | ~18.4 quintillion | Modern CPUs |
The rule: n bits can hold 2ⁿ values. The biggest unsigned number is 2ⁿ − 1, so one byte tops out at 255.
Kilobytes vs kibibytes
| Decimal (SI) | Bytes | Binary (IEC) | Bytes |
|---|---|---|---|
| kilobyte (kB) | 1,000 | kibibyte (KiB) | 1,024 |
| megabyte (MB) | 1,000,000 | mebibyte (MiB) | 1,048,576 |
| gigabyte (GB) | 10⁹ | gibibyte (GiB) | 1,073,741,824 |
| terabyte (TB) | 10¹² | tebibyte (TiB) | 1,099,511,627,776 |
Storage makers and network providers use decimal units. Some operating systems use binary units but label them KB/MB/GB, which causes the “missing space” confusion.
Bits vs bytes in everyday Australia
- NBN and mobile speeds are quoted in megabits per second (Mbps). Divide by 8 for megabytes per second.
- Mobile data allowances are in gigabytes (GB) — bytes.
- A lowercase b means bits; an uppercase B means bytes.
Frequently asked questions
How many bits are in a byte?
Eight. This has been standard since the 1960s IBM System/360, though very early computers used other sizes.
Why does my 1 TB hard drive show 931 GB?
The manufacturer counts 1 TB as 1,000,000,000,000 bytes. Windows divides by 1,024 three times and labels the result “GB”, giving about 931. Both are correct; they just use different units (GB vs GiB).
Is internet speed measured in bits or bytes?
Bits. A 100 Mbps NBN plan is 100 megabits per second, which is about 12.5 megabytes per second of download speed.
Next: Binary arithmetic – addition, subtraction, multiplication and division →