How to Convert Octal to Binary
Enter an integer using 0 through 7. The converter reads it in base 8 and writes the same value in base 2. Copy the output or reverse the direction to verify it. Whitespace grouping does not change the value.
How Octal and Binary Represent Values
In octal, each place is a power of 8; in binary, each place is a power of 2. Starting at the right, multiply each digit by its place value and add the results. Conversion changes notation, not magnitude.
Octal to Binary Conversion Examples
For example, 52 in octal equals 101010 in binary, and both equal decimal 42. Work through the positional sum on a small example before converting a long identifier. Leading zeros affect display width but not the integer value.
Common Uses and Edge Cases
The tool accepts signed integers and uses exact integer arithmetic. It does not interpret a negative value as a fixed-width two’s-complement bit pattern. Fractions and scientific notation are not supported. Use the text translators for encoded bytes rather than treating a whole message as one number.
More examples and technical details
How to Convert Octal to Binary
Converting octal to binary by hand is straightforward once you know the routine. The converter above does it instantly, but working through the steps yourself is the fastest way to understand what is actually happening to the digits.
- Take each octal digit on its own.
- Replace every digit with its 3 digit binary equivalent, keeping leading zeros.
- Join the groups together in the same order.
- Drop any leading zeros if you want the shortest form.
Worked example: 755
Result: (755)⁸ = (111101101)²
The Octal System
Octal is the base 8 numeral system and uses the digits 0 through 7. Its usefulness comes from the fact that one octal digit maps exactly onto three binary digits, so it is a compact way to write binary without doing real arithmetic. Octal was common on early minicomputers with 12, 24, and 36 bit words. Today the place most developers still meet it is Unix file permissions, where a command such as chmod 755 sets read, write, and execute bits three at a time.
Octal uses the digits 0 through 7.
The Binary System
Binary is the base 2 numeral system. It uses only two symbols, 0 and 1, and each digit is called a bit. Every digital circuit ever built relies on it, because a transistor has two reliable states, on and off, which map directly onto 1 and 0. Place values double as you move left: 1, 2, 4, 8, 16, 32 and so on. Eight bits make one byte, which can hold 256 distinct values, enough for every character in the original ASCII set.
Binary uses the digits 0 and 1.
Octal to Binary Conversion Examples
Octal to Binary Conversion Chart
A full reference table for the values 1 to 256. Use it to check a conversion quickly or to look up a common value without typing anything.
| Octal | Binary |
|---|---|
| 1 | 00000001 |
| 2 | 00000010 |
| 3 | 00000011 |
| 4 | 00000100 |
| 5 | 00000101 |
| 6 | 00000110 |
| 7 | 00000111 |
| 10 | 00001000 |
| 11 | 00001001 |
| 12 | 00001010 |
| 13 | 00001011 |
| 14 | 00001100 |
| 15 | 00001101 |
| 16 | 00001110 |
| 17 | 00001111 |
| 20 | 00010000 |
| 21 | 00010001 |
| 22 | 00010010 |
| 23 | 00010011 |
| 24 | 00010100 |
| 25 | 00010101 |
| 26 | 00010110 |
| 27 | 00010111 |
| 30 | 00011000 |
| 31 | 00011001 |
| 32 | 00011010 |
| 33 | 00011011 |
| 34 | 00011100 |
| 35 | 00011101 |
| 36 | 00011110 |
| 37 | 00011111 |
| 40 | 00100000 |
| 41 | 00100001 |
| 42 | 00100010 |
| 43 | 00100011 |
| 44 | 00100100 |
| 45 | 00100101 |
| 46 | 00100110 |
| 47 | 00100111 |
| 50 | 00101000 |
| 51 | 00101001 |
| 52 | 00101010 |
| 53 | 00101011 |
| 54 | 00101100 |
| 55 | 00101101 |
| 56 | 00101110 |
| 57 | 00101111 |
| 60 | 00110000 |
| 61 | 00110001 |
| 62 | 00110010 |
| 63 | 00110011 |
| 64 | 00110100 |
| 65 | 00110101 |
| 66 | 00110110 |
| 67 | 00110111 |
| 70 | 00111000 |
| 71 | 00111001 |
| 72 | 00111010 |
| 73 | 00111011 |
| 74 | 00111100 |
| 75 | 00111101 |
| 76 | 00111110 |
| 77 | 00111111 |
| 100 | 01000000 |
| Octal | Binary |
|---|---|
| 101 | 01000001 |
| 102 | 01000010 |
| 103 | 01000011 |
| 104 | 01000100 |
| 105 | 01000101 |
| 106 | 01000110 |
| 107 | 01000111 |
| 110 | 01001000 |
| 111 | 01001001 |
| 112 | 01001010 |
| 113 | 01001011 |
| 114 | 01001100 |
| 115 | 01001101 |
| 116 | 01001110 |
| 117 | 01001111 |
| 120 | 01010000 |
| 121 | 01010001 |
| 122 | 01010010 |
| 123 | 01010011 |
| 124 | 01010100 |
| 125 | 01010101 |
| 126 | 01010110 |
| 127 | 01010111 |
| 130 | 01011000 |
| 131 | 01011001 |
| 132 | 01011010 |
| 133 | 01011011 |
| 134 | 01011100 |
| 135 | 01011101 |
| 136 | 01011110 |
| 137 | 01011111 |
| 140 | 01100000 |
| 141 | 01100001 |
| 142 | 01100010 |
| 143 | 01100011 |
| 144 | 01100100 |
| 145 | 01100101 |
| 146 | 01100110 |
| 147 | 01100111 |
| 150 | 01101000 |
| 151 | 01101001 |
| 152 | 01101010 |
| 153 | 01101011 |
| 154 | 01101100 |
| 155 | 01101101 |
| 156 | 01101110 |
| 157 | 01101111 |
| 160 | 01110000 |
| 161 | 01110001 |
| 162 | 01110010 |
| 163 | 01110011 |
| 164 | 01110100 |
| 165 | 01110101 |
| 166 | 01110110 |
| 167 | 01110111 |
| 170 | 01111000 |
| 171 | 01111001 |
| 172 | 01111010 |
| 173 | 01111011 |
| 174 | 01111100 |
| 175 | 01111101 |
| 176 | 01111110 |
| 177 | 01111111 |
| 200 | 10000000 |
| Octal | Binary |
|---|---|
| 201 | 10000001 |
| 202 | 10000010 |
| 203 | 10000011 |
| 204 | 10000100 |
| 205 | 10000101 |
| 206 | 10000110 |
| 207 | 10000111 |
| 210 | 10001000 |
| 211 | 10001001 |
| 212 | 10001010 |
| 213 | 10001011 |
| 214 | 10001100 |
| 215 | 10001101 |
| 216 | 10001110 |
| 217 | 10001111 |
| 220 | 10010000 |
| 221 | 10010001 |
| 222 | 10010010 |
| 223 | 10010011 |
| 224 | 10010100 |
| 225 | 10010101 |
| 226 | 10010110 |
| 227 | 10010111 |
| 230 | 10011000 |
| 231 | 10011001 |
| 232 | 10011010 |
| 233 | 10011011 |
| 234 | 10011100 |
| 235 | 10011101 |
| 236 | 10011110 |
| 237 | 10011111 |
| 240 | 10100000 |
| 241 | 10100001 |
| 242 | 10100010 |
| 243 | 10100011 |
| 244 | 10100100 |
| 245 | 10100101 |
| 246 | 10100110 |
| 247 | 10100111 |
| 250 | 10101000 |
| 251 | 10101001 |
| 252 | 10101010 |
| 253 | 10101011 |
| 254 | 10101100 |
| 255 | 10101101 |
| 256 | 10101110 |
| 257 | 10101111 |
| 260 | 10110000 |
| 261 | 10110001 |
| 262 | 10110010 |
| 263 | 10110011 |
| 264 | 10110100 |
| 265 | 10110101 |
| 266 | 10110110 |
| 267 | 10110111 |
| 270 | 10111000 |
| 271 | 10111001 |
| 272 | 10111010 |
| 273 | 10111011 |
| 274 | 10111100 |
| 275 | 10111101 |
| 276 | 10111110 |
| 277 | 10111111 |
| 300 | 11000000 |
| Octal | Binary |
|---|---|
| 301 | 11000001 |
| 302 | 11000010 |
| 303 | 11000011 |
| 304 | 11000100 |
| 305 | 11000101 |
| 306 | 11000110 |
| 307 | 11000111 |
| 310 | 11001000 |
| 311 | 11001001 |
| 312 | 11001010 |
| 313 | 11001011 |
| 314 | 11001100 |
| 315 | 11001101 |
| 316 | 11001110 |
| 317 | 11001111 |
| 320 | 11010000 |
| 321 | 11010001 |
| 322 | 11010010 |
| 323 | 11010011 |
| 324 | 11010100 |
| 325 | 11010101 |
| 326 | 11010110 |
| 327 | 11010111 |
| 330 | 11011000 |
| 331 | 11011001 |
| 332 | 11011010 |
| 333 | 11011011 |
| 334 | 11011100 |
| 335 | 11011101 |
| 336 | 11011110 |
| 337 | 11011111 |
| 340 | 11100000 |
| 341 | 11100001 |
| 342 | 11100010 |
| 343 | 11100011 |
| 344 | 11100100 |
| 345 | 11100101 |
| 346 | 11100110 |
| 347 | 11100111 |
| 350 | 11101000 |
| 351 | 11101001 |
| 352 | 11101010 |
| 353 | 11101011 |
| 354 | 11101100 |
| 355 | 11101101 |
| 356 | 11101110 |
| 357 | 11101111 |
| 360 | 11110000 |
| 361 | 11110001 |
| 362 | 11110010 |
| 363 | 11110011 |
| 364 | 11110100 |
| 365 | 11110101 |
| 366 | 11110110 |
| 367 | 11110111 |
| 370 | 11111000 |
| 371 | 11111001 |
| 372 | 11111010 |
| 373 | 11111011 |
| 374 | 11111100 |
| 375 | 11111101 |
| 376 | 11111110 |
| 377 | 11111111 |
| 400 | 100000000 |
Need a different pair of bases? Browse every number converter tool including binary, octal, decimal, and hexadecimal in both directions.
Frequently asked questions
How do I convert octal to binary?
Read the input as base 8 and express its value in base 2; enter it here for an automatic result.
Can this converter handle negative or large values?
Yes. Signed and large integers use exact BigInt arithmetic, subject to practical browser resource limits. Fractions are not supported.
How can I verify the binary result?
Convert binary back to octal and compare the numeric value; leading zeros may be normalized.
Is the conversion processed in my browser?
Yes. No number is sent to a conversion server.