Track progress, take quizzes and save notes on this lesson.

Free forever · no card needed

Start free
Intermediate

Number Systems and Bases

4.5.1 Number systems·4.5.2 Number bases·4.5.3 Units of information

Aligned to the AQA 7517 specification

Level
Intermediate
Reading time
6 min
Published
13 June 2026
Updated
1 July 2026
On this page
  1. 1.Types of Numbers
  2. 2.Number Bases
  3. 3.Binary to Decimal Conversion
  4. 4.Decimal to Binary Conversion
  5. 5.Hexadecimal: Shorthand for Binary
  6. 6.Units of Information
  7. 7.Common Exam Mistakes

Key takeaways

  • The number sets satisfy ℕ ⊂ ℤ ⊂ ℚ ⊂ ℝ: every natural number is an integer, every integer is rational, and every rational number is real.
  • Not all square roots are irrational: √4 = 2 is rational, while √2 is irrational; only non-perfect-square roots are irrational.
  • Each hexadecimal digit represents exactly 4 binary bits (a nibble), making hex a compact, less error-prone shorthand for long binary strings.
  • In the repeated-division-by-2 method, the first remainder is the least significant bit; read the remainders from bottom to top to get the correct binary value.
  • 1 KiB = 2¹⁰ = 1 024 bytes (binary) while 1 KB = 10³ = 1 000 bytes (decimal); storage makers use decimal prefixes, which is why a 1 TB drive appears as ~931 GiB.

Types of Numbers

AQA requires knowledge of the following number sets:

SymbolNameDescriptionExamples
Natural numbersNon-negative whole numbers (including 0)0, 1, 2, 3, …
IntegersAll whole numbers (positive, negative, zero)…, −2, −1, 0, 1, 2, …
Rational numbersExpressible as a fraction (integers and fractions)1/2, 3, −4, 0.75
IrrationalIrrational numbersCannot be expressed as a fraction; non-terminating, non-repeating decimal, ,
Real numbersAll rational and irrational numbers combinedany point on the number line
OrdinalOrdinal numbersDescribe position in an ordered sequence1st, 2nd, 3rd, …

Key relationships: . Every natural number is an integer; every integer is rational (e.g. ); every rational number is real.

Purpose in computing:

  • Natural numbers are used for counting (array indices, loop counters)
  • Real numbers are used for measurement (temperatures, coordinates, probabilities)

Number Bases

A number base defines how many distinct digits are available and the place value of each digit position.

BaseNameDigitsPrefix/suffix
10Decimal0–9(default)
2Binary0, 10b or subscript ₂
16Hexadecimal0–9, A–F0x or subscript ₁₆

Place values:

Decimal (base 10): each column is a power of 10.

Binary (base 2): each column is a power of 2.

Hexadecimal (base 16): digits A=10, B=11, C=12, D=13, E=14, F=15.

Binary to Decimal Conversion

To convert binary to decimal, multiply each bit by its place value (power of 2) and sum the results.

Worked example — convert to decimal:

Bit position76543210
Place value1286432168421
Bit10110101
Contribution128032160401

Decimal to Binary Conversion

Method: repeated division by 2. Divide by 2 repeatedly; collect remainders from bottom to top.

Worked example — convert to binary:

DivisionQuotientRemainder
53 ÷ 2261 ← LSB
26 ÷ 2130
13 ÷ 261
6 ÷ 230
3 ÷ 211
1 ÷ 201 ← MSB

Read remainders from bottom to top:

Verify:

Worth saving these ideas?

Turn what you've read into instant revision cards. Free to get started.

Make flashcards

Hexadecimal: Shorthand for Binary

Each hexadecimal digit represents exactly 4 binary bits (a nibble). This makes hex a compact shorthand for long binary strings.

Hex digit table:

HexDecimalBinary
0–90–90000–1001
A101010
B111011
C121100
D131101
E141110
F151111

Binary to hex: group bits in fours from the right; convert each group.

Hex to binary: expand each hex digit to 4 bits.

Why hex is used: binary strings are hard to read and write. 0xAE3F is far less error-prone than 1010111000111111. Hex is used in memory addresses, colour codes (e.g. #FF5733), machine code, and network addresses.

Units of Information

UnitSizeApproximate size
Bit1 bit (0 or 1)
Byte8 bitsCan store values
Kibibyte (KiB) = 1 024 bytes~1 000 bytes
Mebibyte (MiB) = 1 048 576 bytes~1 000 000 bytes
Gibibyte (GiB) bytes~1 000 000 000 bytes
Tebibyte (TiB) bytes~1 000 000 000 000 bytes

Binary vs decimal prefixes:

BinarySizeDecimalSize
1 KiB = 1 024 bytes1 KB = 1 000 bytes
1 MiB bytes1 MB bytes
1 GiB bytes1 GB bytes

Storage manufacturers use decimal prefixes (so a "1 TB" drive holds bytes). Operating systems typically report in binary units (GiB). This is why a "1 TB" drive appears as ~931 GiB in Windows.

How many values can bits represent? distinct values. bits can represent integers from 0 to (unsigned).

Common Exam Mistakes

1. Confusing rational and irrational numbers

is rational (it equals 2). is irrational. Not all square roots are irrational — only non-perfect-square roots.

2. Reading binary remainders in the wrong order

In the repeated-division method, the first remainder is the least significant bit (rightmost). Read remainders from bottom to top to get the correct binary value.

3. Forgetting to pad hex digits to 4 bits

When converting hex to binary, each digit must become exactly 4 bits. becomes 0011, not 11. Missing leading zeros produces an incorrect binary value.

4. Confusing binary (KiB) and decimal (KB) units

1 KiB = 1 024 bytes (binary). 1 KB = 1 000 bytes (decimal). These are different. AQA expects students to distinguish them and know which context uses which convention.

Key terms

Natural numbers (ℕ)
Non-negative whole numbers including 0, used in computing for counting such as array indices and loop counters.
Integers (ℤ)
All whole numbers, positive, negative, and zero.
Rational numbers (ℚ)
Numbers expressible as a fraction p/q of integers, including integers and fractions.
Irrational numbers
Numbers that cannot be expressed as a fraction, having a non-terminating, non-repeating decimal, such as √2, π, and e.
Real numbers (ℝ)
All rational and irrational numbers combined; any point on the number line.
Number base
A system that defines how many distinct digits are available and the place value of each digit position, such as decimal (10), binary (2), and hexadecimal (16).
Nibble
A group of 4 binary bits, which is exactly what one hexadecimal digit represents.
Byte
A unit of 8 bits, able to store 2⁸ = 256 values.
Kibibyte (KiB)
A binary storage unit equal to 2¹⁰ = 1 024 bytes, distinct from the decimal kilobyte (KB) of 1 000 bytes.

Frequently asked questions

No. Only non-perfect-square roots are irrational. For example √2 is irrational, but √4 = 2 is rational because it equals the whole number 2.

Each hex digit represents exactly 4 binary bits (a nibble), so hex is a compact, far less error-prone shorthand for long binary strings; 0xAE3F is easier to handle than 1010111000111111. Hex is used in memory addresses, colour codes, machine code, and network addresses.

1 KiB equals 2¹⁰ = 1 024 bytes (binary), while 1 KB equals 10³ = 1 000 bytes (decimal). They are different: storage manufacturers use decimal prefixes, so a 1 TB drive holding 10¹² bytes appears as about 931 GiB in an OS that reports in binary units.

Generate revision on any topic you study

Type any topic you're studying and Aicademy generates a complete lesson, quiz, and flashcard set, personalised to your level.

Lessons on anything

Structured, level-matched lessons on any topic you study

Practice quizzes

Find out what you actually know before the exam does

Flashcard sets

Lock in key concepts with instant revision cards

Ask Aica

Stuck on something? Get a clear explanation, any time

Prev

Turing Machines

Next

Binary Number Representations

Related lessons

Top students don’t revise more. They revise what counts.

Start revising free

Free to start. No card needed.