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

Free forever · no card needed

Start free
Intermediate

Binary Numbers and Denary Conversion

3.3.1 Number bases·3.3.2 Converting between number bases

Aligned to the AQA 8525 specification

Level
Intermediate
Reading time
6 min
Published
3 June 2026
Updated
1 July 2026
On this page
  1. 1.Binary and the Base-2 System
  2. 2.Binary Place Values
  3. 3.Converting Binary to Denary
  4. 4.Converting Denary to Binary: Division Method
  5. 5.Converting Denary to Binary: Subtraction Method
  6. 6.Why Hexadecimal?
  7. 7.Common Exam Mistakes

Key takeaways

  • Binary is a base-2 number system using only the digits 0 and 1, carrying at 2, because transistors have exactly two stable states: off (0) and on (1).
  • In an 8-bit number the place values from right to left are 1, 2, 4, 8, 16, 32, 64, 128, so a byte holds values from 0 to 255, a range of 2^8 = 256 distinct values.
  • To convert binary to denary, mark which bits are 1 in the place value table and add those place values together.
  • The division-by-2 method converts denary to binary by repeatedly dividing by 2 and recording remainders, which are read bottom to top and padded to 8 bits.
  • Hexadecimal is shorthand for humans because each hex digit corresponds to exactly 4 binary bits (one nibble); computers still store everything in binary.

Binary and the Base-2 System

Binary is a base-2 number system that uses only two digits: 0 and 1.

Every number system has a base that defines how many unique digits exist before the count carries into the next place. Denary (everyday numbers) is base 10 — it uses digits 0 through 9 and carries at 10. Binary uses only 0 and 1, carrying at 2.

SystemBaseDigits usedDenary value 10 written in this system
Denary100–910
Binary20, 11010
Hexadecimal160–9, A–FA

Computers represent all data in binary because transistors — the fundamental switches inside every processor and memory chip — have exactly two stable states: off (0) and on (1). Any more complex signal would require analogue electronics, which are far less reliable at speed and scale.

A single binary digit is a bit. Eight bits form one byte. Every piece of data a computer processes — text, images, sound, video, programs — is ultimately stored and processed as sequences of 0s and 1s.

AQA 8525 uses 8-bit (one byte) binary numbers throughout. All examples in this lesson are 8-bit; the maximum value is 255.

Binary Place Values

Each bit in a binary number represents a power of 2, starting from at the rightmost position and doubling with each step to the left.

For an 8-bit binary number, the place values are:

1286432168421

Worked example — read the value of 10110100:

1286432168421
10110100

Bits set to 1: 128, 32, 16, 4

Value = 128 + 32 + 16 + 4 = 180

An 8-bit byte holds values from 0 to 255 — a range of distinct values. The maximum 8-bit value 11111111 equals .

Converting Binary to Denary

To convert binary to denary: write the place value table, mark which bits are 1, then add those place values together.

Worked example 1 — convert 01101001 to denary:

1286432168421
01101001

Value = 64 + 32 + 8 + 1 = 105

Worked example 2 — convert 11001010 to denary:

1286432168421
11001010

Value = 128 + 64 + 8 + 2 = 202

Always write the full 8-bit place value table before reading any binary number. Pad short values with leading zeros: 01101001, not 1101001.

Converting Denary to Binary: Division Method

Use the division-by-2 method: repeatedly divide by 2 and record the remainder each time. Read the remainders from bottom to top for the binary result.

Steps:

  1. Divide the number by 2; record the remainder (0 or 1)
  2. Divide the quotient by 2; record the remainder
  3. Repeat until the quotient reaches 0
  4. Read remainders bottom to top
  5. Pad to 8 bits with leading zeros if needed

Worked example — convert 109 to binary:

DivisionQuotientRemainder
109 ÷ 2541
54 ÷ 2270
27 ÷ 2131
13 ÷ 261
6 ÷ 230
3 ÷ 211
1 ÷ 201

Remainders bottom to top: 1101101 → padded to 8 bits: 01101101

Check: 64 + 32 + 8 + 4 + 1 = 109

Want more lessons like this one?

Generate lessons on anything you study. Free account, no card needed.

Start generating

Converting Denary to Binary: Subtraction Method

An alternative to repeated division is the subtraction method: work left to right through the place values, subtracting each one that fits into the remaining total.

Steps:

  1. Start with the largest place value (128)
  2. If it fits (remaining value ≥ place value), write 1 and subtract it
  3. If it does not fit, write 0 and move right
  4. Repeat for each place value until the total reaches 0

Worked example — convert 178 to binary:

Place value1286432168421
Fits?178 ≥ 128 ✓50 < 64 ✗50 ≥ 32 ✓18 ≥ 16 ✓2 < 8 ✗2 < 4 ✗2 ≥ 2 ✓0 < 1 ✗
Bit10110010
Remaining50501822200

Result: 10110010

Check: 128 + 32 + 16 + 2 = 178

Both methods produce identical results. The division method is systematic for any number; the subtraction method is often faster in exam conditions once you know the place values.

Why Hexadecimal?

AQA 8525 requires you to explain why hexadecimal (hex) appears frequently in computer science. The core reason: each hex digit corresponds to exactly 4 binary bits (one nibble).

Binary nibbleHex digitDenary
000000
000111
010155
100199
1010A10
1011B11
1100C12
1101D13
1110E14
1111F15

An 8-bit byte such as 10110100 (180 in denary) converts to B4 in hex — two characters instead of eight. This compactness makes hex practical wherever binary values are written down by humans: memory addresses, RGB colour codes (#FF8800), MAC addresses, error codes.

Hex is not a different form of storage — computers store everything in binary. Hex is a shorthand notation for humans to read and write binary values more efficiently.

The full worked examples for binary↔hex and denary↔hex conversion are in the related lesson on Hexadecimal Representation.

Common Exam Mistakes

1. Reading the division table in the wrong direction

The division-by-2 method produces remainders that must be read bottom to top. Reading top to bottom gives the bit-reversed value — an entirely different number.

2. Forgetting to pad to 8 bits

1101101 is 7 bits. AQA 8525 uses 8-bit numbers. Always pad with a leading zero: 01101101. Omitting the leading zero is one of the most common arithmetic errors in binary conversion questions.

3. Using the wrong place values

The 8 place values are 128, 64, 32, 16, 8, 4, 2, 1 — not 256, 128, 64, 32, 16, 8, 4, 2. The least significant bit (rightmost) is always 1 (). Writing the table before reading any number prevents this error.

4. Confusing bit and byte

A bit is a single binary digit (0 or 1). A byte is 8 bits. These are not interchangeable. An 8-bit binary number is 1 byte — not 8 bytes.

5. Stopping the division method early

The division-by-2 method must continue until the quotient reaches exactly 0. Students who stop when the quotient is 1 miss the final remainder (which is always 1), losing the most significant bit of the result.

Key terms

Binary
A base-2 number system that uses only the digits 0 and 1 and carries at 2.
Base
The number of unique digits a number system uses before the count carries into the next place; denary is base 10, binary is base 2.
Denary
The everyday base-10 number system, using digits 0 to 9 and carrying at 10.
Bit
A single binary digit, either 0 or 1.
Byte
Eight bits; an 8-bit binary number holds values from 0 to 255.
Place value
The power of 2 each bit represents, starting at 2^0 = 1 on the right and doubling leftward to 128 in an 8-bit number.
Transistor
The fundamental switch inside processors and memory with two stable states, off (0) and on (1), which is why computers use binary.
Hexadecimal
A base-16 shorthand notation for binary, using digits 0–9 and A–F, where each digit represents 4 bits.
Nibble
A group of 4 binary bits, represented by a single hexadecimal digit.

Frequently asked questions

Write the 8-bit place value table (128, 64, 32, 16, 8, 4, 2, 1), mark which bits are set to 1, then add those place values together. For example, 10110100 has 128 + 32 + 16 + 4 = 180.

A bit is a single binary digit, either 0 or 1, while a byte is 8 bits. They are not interchangeable, so an 8-bit binary number is 1 byte, not 8 bytes.

Each hex digit corresponds to exactly 4 binary bits (one nibble), so an 8-bit byte writes as just two hex characters instead of eight. This compactness makes hex practical for memory addresses, RGB colour codes and MAC addresses, though computers still store everything in binary.

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

Robust and Secure Programming

Next

Hexadecimal Representation

Related lessons

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

Start revising free

Free to start. No card needed.