# Octal to Decimal

This converter converts the given octal number to decimal number.

## Octal to Decimal

Octal to decimal conversion is the process of converting an octal (base-8) number into its decimal (base-10) representation.

In the octal system, numbers are represented using the digits 0 through 7.

## Steps to Convert Octal to Decimal

Here are the steps to convert an octal number to decimal:

- Assign decimal values to each octal digit (0-7).
- Multiply each digit by 8 raised to the power of its position (starting from the right, with the rightmost digit at position 0).
- Sum up all the results to get the final decimal equivalent.

## Example

Let's take an example to illustrate the process. Suppose we want to convert the octal number **345** to decimal:

- Convert each octal digit to its decimal value: 3 octal is 3 decimal, 4 octal is 4 decimal, and 5 octal is 5 decimal.
- Multiply each digit by 8 raised to the power of its position: 3 × 8
^{2}+ 4 × 8^{1}+ 5 × 8^{0}. - Sum up the results: 3 × 64 + 4 × 8 + 5 × 1 = 192 + 32 + 5 =
**229**.

The decimal equivalent is **229**.

Therefore, **345** in octal is equal to **229** in decimal.