Table of Contents
Octal Number System
đ§Ž Octal Number System
đ Introduction:
The Octal Number System is a base-8 number system.
It uses eight digits:0 to 7
Since it uses 8 as the base, each position in an octal number represents a power of 8.
đĸ Digits Used:
0, 1, 2, 3, 4, 5, 6, 7
đ§ Positional Value Concept:
Like other positional systems, the value of each digit depends on its position (right to left) and the base raised to that position.
đ§Ž General Formula:
Value of an Octal number
dâ dâââ ... dâ=dâ × 8âŋ + dâââ × 8âŋâģ¹ + ... + dâ × 8¹ + dâ × 8â°
â Example 5 (Corrected):
= 6 à 8² + 5 à 8š + 7 à 8â°
= 6 Ã 64 + 5 Ã 8 + 7 Ã 1
= 384 + 40 + 7
= (431)ââ
(657)â
â Another Example:
(123)â
= 1 à 8² + 2 à 8š + 3 à 8â°
= 64 + 16 + 3
= (83)ââ
đ Octal to Decimal Table:
| Octal | Decimal |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 10 | 8 |
| 11 | 9 |
| 12 | 10 |
đĄ Applications of Octal:
Used in early computer systems
Easier to convert to/from binary (1 octal digit = 3 binary digits)
Still used in Unix file permissions (e.g.,
chmod 755)
đ§ž Summary:
| Feature | Description |
|---|---|
| Base | 8 |
| Digits Used | 0 to 7 |
| Positional System | Yes |
| Easy to Convert With | Binary |
| Used In | Legacy computing, Unix permissions |