Intermediate

Binary Numbers and Denary Conversion

AicademyAicademy
·GCSE Computer Science·AQA 8525·7 slides
3.3.1 Number bases·3.3.2 Converting between number bases

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.

4 more slides

Continue this lesson

Create a free account to unlock all 7 slides, track your progress, and ask the AI tutor for help.

Related lessons

7 Slides

Lesson

Hexadecimal Representation

GCSE Computer Science · AQA 8525

1 day ago

7 Slides

Lesson

Binary Addition and Logical Shifts

GCSE Computer Science · AQA 8525

6 hours ago

7 Slides

Lesson

ASCII and Unicode: Character Encoding

GCSE Computer Science · AQA 8525

1 day ago