August 13, 2020
Octal Number System
Octal notation offers another means of representing numeric values. Unlike decimal, it is based on 8, or radix of 8, rather than 10, i.e. increasing powers of 8. Octal numbers can be represented by using a combination of 0, 1, 2, 3, 4, 5, 6, 7. For example, the decimal number 1209 is represented in the octal 2271
= 2x512 + 2x64 + 7x8 + 1x1
8^{3}=512 | 8^{2}=64 | 8^{1}=8 | 8^{0}=1 |
2 | 2 | 8 | 1 |
2x512=1024 + 2x64=128 + 7x8=56 + 1x1=1
An octal digit (0 to 7) can represent 3 bits (000 to 111). Consequently it
can be regarded as a shorthand version of binary.
Octal notation was widely used to provide a more readable view of binary data.
It has been mostly replaced by hexadecimal notation.
Next page » Hexadecimal Number System
Previous page « Binary Number System
⇑ Up to top of page