# Binary to octal

This converter converts the binary to octal by default, enters the binary number, then clicks the **Convert Now** button, and you can also select other base numbers(8 10 16 32 36 58 64) for conversion. Hex to binary

To base | Conversion result | Description |

8 | ||

Other conversions: | ||

10 | ||

16 | ||

26 | Lower case letters | |

32 | Does not contain ILOU characters | |

36 | Number + lowercase | |

52 | Uppercase letters + lowercase letters | |

58 | Does not contain 0OlI characters | |

62 | Number + lowercase + uppercase | |

64 |

The range of safe integers specified in js is -2^53~2^53, so the number conversion greater than 9007199254740991 may have accuracy problems.

## Knowledge of converter

In mathematics and digital electronics, a binary number is a number expressed in the base-2 numeral system or binary numeral system, which uses only two symbols: typically 0 (zero) and 1 (one).

The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used by almost all modern computers and computer-based devices.

The octal numeral system, or oct for short, is the base-8 number system, and uses the digits 0 to 7. Octal numerals can be made from binary numerals by grouping consecutive binary digits into groups of three (starting from the right). For example, the binary representation for decimal 74 is 1001010. Two zeroes can be added at the left: (00)1 001 010, corresponding the octal digits 1 1 2, yielding the octal representation 112.

In the decimal system each decimal place is a power of ten. For example:

**65**_{10} = 6x10 ^{1} + 5x10 ^{0}

In the octal system each place is a power of eight. For example:

**123**_{8} = 1x 8^{2} + 2x8^{1} + 3x8^{0}

## Binary to octal conversion table

binary | octal |
---|---|

000 | 0 |

001 | 1 |

010 | 2 |

011 | 3 |

100 | 4 |

101 | 5 |

110 | 6 |

111 | 7 |