Number bases · Place values

Octal · Base 8

Eight choices in every place.
The digits are 0 through 7. Each step to the left is worth eight times as much.

Try a boundary:

Same number, different bases

Each row below represents the same quantity. The digits and place values depend on the base.

Number systemWritten number
Binary · Base 2
Octal · Base 8
Decimal · Base 10
Hexadecimal · Base 16

Why the powers start at zero

The rightmost place is 80 = 1. Moving one place left multiplies its value by 8. The next places are 81, 82, and 83. Change a digit above to see how much it contributes.

Octal groups binary bits in threes. Three bits have 2³ = 8 possible patterns, so one octal digit can stand for three binary bits.

For example, octal 17 means 1 × 8 + 7 × 1 = 15 in decimal.

Watch a digit carry

Choose the last one-digit number with the boundary buttons, then press Add 1. Watch it become 0010. The small base label beneath a number tells you which place values to use.