Caffeinated Coder
Book an appointment
Lesson 01 · Numbers in computers

Number systems: decimal, binary and hex

Computers store every number as bits, and programmers often write those bits in hex. Follow one number, 173, as it is spelled three ways: 173 in decimal, 10101101 in binary and AD in hex. Watch place value add it up, repeated division turn it into bits, and groups of four bits become hex digits.

12 min10 steps5 questionsBeginner
Fig 1 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.