What are bits and bytes, and how are storage capacities measured?
Understand the bit and byte, the units of information capacity, binary and decimal prefixes (kibi versus kilo), and how the number of bits limits the range of values that can be represented.
A focused answer to AQA A-Level Computer Science 4.5.8, covering the bit and the byte, the units of information capacity, binary prefixes (kibi, mebi) versus decimal prefixes (kilo, mega), and how the number of bits limits the range of values.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
Jump to a section
What this dot point is asking
AQA wants you to define a bit and a byte, state the units of information capacity, distinguish binary prefixes (kibi, mebi) from decimal prefixes (kilo, mega), and explain how the number of bits limits the values that can be stored.
Bits and bytes
A byte became the standard unit because 8 bits is enough to hold a single character in the ASCII or extended character sets, and computer architectures address memory in whole bytes rather than individual bits. Word size (16, 32 or 64 bits) describes how many bits the processor handles at once, but storage is still counted in bytes and their multiples. Memory addresses, file sizes and data type widths are therefore all expressed in bytes, which keeps measurements consistent across very different machines.
It helps to keep the hierarchy straight: a single bit is the smallest unit and carries one yes or no decision; a nibble is 4 bits and maps to one hex digit; a byte is 8 bits and holds one character or a small integer; larger quantities are counted in multiples of bytes using prefixes. Bits are also the unit for network speed (megabits per second), which is why an 8 Mbps connection downloads at about 1 megabyte per second once you divide by 8.
Units of capacity and prefixes
This distinction explains why a "1 TB" drive (using bytes) appears smaller when an operating system reports capacity using powers of two: dividing the same byte count by gives roughly TiB. The mismatch is not faulty hardware; it is two valid but different counting conventions.
How many bits, how many values
The number of bits available sets the range of distinct values: bits give combinations. So 1 bit gives 2 values, 4 bits give 16, 8 bits give 256, and 16 bits give 65 536. To represent distinct values you need at least bits. This is why widening a data type (more bits) increases the range it can hold, and why designers must size fields carefully: too few bits and values overflow; too many and storage is wasted.
Exam-style practice questions
Practice questions written in the style of AQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
AQA 20193 marksA file is 3 mebibytes (MiB) in size. Calculate the number of bytes this represents and explain why a file manager might report a different figure to the value printed on the storage device packaging.Show worked answer →
A mebibyte is bytes, so bytes.
Device packaging usually quotes capacity using decimal (SI) prefixes, where 1 megabyte bytes, while many file managers compute and label sizes using the binary powers of two (). Because is larger than , the same number of bytes appears as a smaller figure when divided using binary prefixes, so a "1 TB" drive shows as roughly 0.91 TiB.
Markers reward the correct byte calculation () and a clear explanation that the two prefix systems use different bases (powers of ten versus powers of two).
AQA 20212 marksA system needs to assign a unique binary code to each of 600 different products. State the minimum number of bits required and justify your answer.Show worked answer →
With bits you can represent distinct codes. , which is fewer than 600, so 9 bits are insufficient. , which is at least 600, so 10 bits are required.
Equivalently, the minimum is bits.
Markers award one mark for the answer (10 bits) and one for the justification that .
Related dot points
- Understand the decimal, binary and hexadecimal number systems, why computers use binary and hexadecimal, and how to convert between the three bases.
A focused answer to AQA A-Level Computer Science 4.5.1, covering the decimal, binary and hexadecimal number systems, why computers use binary and hexadecimal, and how to convert between the three bases.
- Understand unsigned and signed binary using two's complement, binary addition and subtraction, fixed point and floating point representation of real numbers, and the effects of overflow and rounding.
A focused answer to AQA A-Level Computer Science 4.5.2 to 4.5.7, covering unsigned and signed binary using two's complement, binary addition and subtraction, fixed and floating point representation of real numbers, and overflow and rounding errors.
- Understand character encoding using ASCII and Unicode, the limitations of ASCII, why Unicode was introduced, and the relationship between a character set and a character code.
A focused answer to AQA A-Level Computer Science 4.5.9, covering character encoding using ASCII and Unicode, the limitations of ASCII, why Unicode was introduced, and the relationship between a character set and its codes.
- Understand how bitmap images are represented using pixels, colour depth and resolution, how analogue sound is sampled, and the effect of sample rate, resolution and metadata on quality and file size.
A focused answer to AQA A-Level Computer Science 4.5.10 and 4.5.11, covering bitmap images with pixels, colour depth and resolution, the sampling of analogue sound, and the effect of sample rate, resolution and metadata on quality and file size.
- Understand lossy and lossless compression, run length encoding and dictionary-based compression, symmetric and asymmetric encryption, and error-checking methods such as parity and check digits.
A focused answer to AQA A-Level Computer Science 4.5.12 to 4.5.14, covering lossy and lossless compression, run length encoding and dictionary-based compression, symmetric and asymmetric encryption, and error checking with parity and check digits.
Sources & how we know this
- AQA A-level Computer Science (7517) specification — AQA (2015)