BinaryBirthday

Binary code

Binary code writes everything with two digits, 0 and 1. Try it below, then read how it works.

What binary code is

Binary is a number system with two digits. Computers use it because a circuit is either off (0) or on (1). Each digit is a bit, and 8 bits make a byte.

Three things binary can store

Questions

Who invented binary code?

Gottfried Leibniz described the modern binary system in 1703. Claude Shannon showed in 1937 that circuits could use it for logic.

Is binary the same as machine code?

Machine code is stored in binary, but binary itself is just a way of writing numbers.

More binary tools