# Octal Arithmetic

## Octal Number System

Following are the characteristics of an octal number system.

Uses eight digits, 0,1,2,3,4,5,6,7.

Also called base 8 number system

Each position in a octal number represents a 0 power of the base (8). Example 8

^{0}Last position in a octal number represents a x power of the base (8). Example 8

^{x}where x represents the last position - 1.

### Example

Octal Number: 12570_{8}

Calculating Decimal Equivalent:

Step | Octal Number | Decimal Number |
---|---|---|

Step 1 | 12570_{8} | ((1 x 8^{4}) + (2 x 8^{3}) + (5 x 8^{2}) + (7 x 8^{1}) + (0 x 8^{0}))_{10} |

Step 2 | 12570_{8} | (4096 + 1024 + 320 + 56 + 0)_{10} |

Step 3 | 12570_{8} | 5496_{10} |

**Note: **12570_{8} is normally written as 12570.

## Octal Addition

Following octal addition table will help you greatly to handle Octal addition.

To use this table, simply follow the directions used in this example: Add: 6_{8} and 5_{8}.Locate 6 in the A column then locate the 5 in the B column. The point in sum area where these two columns intersect is the sum of two numbers.

6_{8} + 5_{8} = 13_{8}.

### Example - Addition

## Octal Subtraction

The subtraction of octal numbers follows the same rules as the subtraction of numbers in any other number system. The only variation is in borrowed number. In the decimal system, you borrow a group of 10_{10}. In the binary system, you borrow a group of 2

_{10}. In the octal system you borrow a group of 8

_{10}.