Clevix Ed

Binary Numbers

Coding & AI · Class 6–12 · Number systems

All simulations
Tap a bit to flip it between 0 and 1

What to explore

Key ideas

Binary is base 2: each place is worth twice the place on its right.

1101₂ = 1×8 + 1×4 + 0×2 + 1×1 = 13

n bits can store 2ⁿ different values, from 0 to 2ⁿ − 1. One hexadecimal digit stands for exactly 4 bits.

1101 0110₂ = D6₁₆ = 214

Computers store text as numbers: in ASCII, “A” is 65 = 0100 0001₂.

Teacher tip

Give five students cards showing 16, 8, 4, 2, 1 dots. Call out a number; they flip their cards face up or down to make it. That is binary.

For Class 11–12, switch on two's complement and ask why 1111 1111 means −1.

Exam corner

In your syllabus

A free coding & ai simulation for Class 6–12 and Olympiad.

Topics: binary, bits, hexadecimal, number systems, ASCII, two's complement, binary addition