How to Convert Octal to Decimal
Enter an integer using 0 through 7. The converter reads it in base 8 and writes the same value in base 10. Copy the output or reverse the direction to verify it. Whitespace grouping does not change the value.
How Octal and Decimal Represent Values
In octal, each place is a power of 8; in decimal, each place is a power of 10. Starting at the right, multiply each digit by its place value and add the results. Conversion changes notation, not magnitude.
Octal to Decimal Conversion Examples
For example, 52 in octal equals 42 in decimal, 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 Decimal
Converting octal to decimal 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.
- Write down the octal number and number each digit by its position, starting with 0 at the rightmost digit.
- Multiply every digit by 8 raised to the power of its position.
- Add all the products together. The total is the decimal value.
Worked example: 3736
Result: (3736)⁸ = (2014)¹⁰
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 Decimal System
Decimal is the base 10 system that almost every human culture settled on, most likely because we have ten fingers. It uses the digits 0 through 9, and each position is worth ten times the position to its right. The number 2345.67 means 2 thousands, 3 hundreds, 4 tens, 5 ones, 6 tenths, and 7 hundredths. It is the default for everything people read, which is why converting to and from decimal is the most common base conversion a programmer performs.
Decimal uses the digits 0 through 9.
Octal to Decimal Conversion Examples
Octal to Decimal 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 | Decimal |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | 4 |
| 5 | 5 |
| 6 | 6 |
| 7 | 7 |
| 10 | 8 |
| 11 | 9 |
| 12 | 10 |
| 13 | 11 |
| 14 | 12 |
| 15 | 13 |
| 16 | 14 |
| 17 | 15 |
| 20 | 16 |
| 21 | 17 |
| 22 | 18 |
| 23 | 19 |
| 24 | 20 |
| 25 | 21 |
| 26 | 22 |
| 27 | 23 |
| 30 | 24 |
| 31 | 25 |
| 32 | 26 |
| 33 | 27 |
| 34 | 28 |
| 35 | 29 |
| 36 | 30 |
| 37 | 31 |
| 40 | 32 |
| 41 | 33 |
| 42 | 34 |
| 43 | 35 |
| 44 | 36 |
| 45 | 37 |
| 46 | 38 |
| 47 | 39 |
| 50 | 40 |
| 51 | 41 |
| 52 | 42 |
| 53 | 43 |
| 54 | 44 |
| 55 | 45 |
| 56 | 46 |
| 57 | 47 |
| 60 | 48 |
| 61 | 49 |
| 62 | 50 |
| 63 | 51 |
| 64 | 52 |
| 65 | 53 |
| 66 | 54 |
| 67 | 55 |
| 70 | 56 |
| 71 | 57 |
| 72 | 58 |
| 73 | 59 |
| 74 | 60 |
| 75 | 61 |
| 76 | 62 |
| 77 | 63 |
| 100 | 64 |
| Octal | Decimal |
|---|---|
| 101 | 65 |
| 102 | 66 |
| 103 | 67 |
| 104 | 68 |
| 105 | 69 |
| 106 | 70 |
| 107 | 71 |
| 110 | 72 |
| 111 | 73 |
| 112 | 74 |
| 113 | 75 |
| 114 | 76 |
| 115 | 77 |
| 116 | 78 |
| 117 | 79 |
| 120 | 80 |
| 121 | 81 |
| 122 | 82 |
| 123 | 83 |
| 124 | 84 |
| 125 | 85 |
| 126 | 86 |
| 127 | 87 |
| 130 | 88 |
| 131 | 89 |
| 132 | 90 |
| 133 | 91 |
| 134 | 92 |
| 135 | 93 |
| 136 | 94 |
| 137 | 95 |
| 140 | 96 |
| 141 | 97 |
| 142 | 98 |
| 143 | 99 |
| 144 | 100 |
| 145 | 101 |
| 146 | 102 |
| 147 | 103 |
| 150 | 104 |
| 151 | 105 |
| 152 | 106 |
| 153 | 107 |
| 154 | 108 |
| 155 | 109 |
| 156 | 110 |
| 157 | 111 |
| 160 | 112 |
| 161 | 113 |
| 162 | 114 |
| 163 | 115 |
| 164 | 116 |
| 165 | 117 |
| 166 | 118 |
| 167 | 119 |
| 170 | 120 |
| 171 | 121 |
| 172 | 122 |
| 173 | 123 |
| 174 | 124 |
| 175 | 125 |
| 176 | 126 |
| 177 | 127 |
| 200 | 128 |
| Octal | Decimal |
|---|---|
| 201 | 129 |
| 202 | 130 |
| 203 | 131 |
| 204 | 132 |
| 205 | 133 |
| 206 | 134 |
| 207 | 135 |
| 210 | 136 |
| 211 | 137 |
| 212 | 138 |
| 213 | 139 |
| 214 | 140 |
| 215 | 141 |
| 216 | 142 |
| 217 | 143 |
| 220 | 144 |
| 221 | 145 |
| 222 | 146 |
| 223 | 147 |
| 224 | 148 |
| 225 | 149 |
| 226 | 150 |
| 227 | 151 |
| 230 | 152 |
| 231 | 153 |
| 232 | 154 |
| 233 | 155 |
| 234 | 156 |
| 235 | 157 |
| 236 | 158 |
| 237 | 159 |
| 240 | 160 |
| 241 | 161 |
| 242 | 162 |
| 243 | 163 |
| 244 | 164 |
| 245 | 165 |
| 246 | 166 |
| 247 | 167 |
| 250 | 168 |
| 251 | 169 |
| 252 | 170 |
| 253 | 171 |
| 254 | 172 |
| 255 | 173 |
| 256 | 174 |
| 257 | 175 |
| 260 | 176 |
| 261 | 177 |
| 262 | 178 |
| 263 | 179 |
| 264 | 180 |
| 265 | 181 |
| 266 | 182 |
| 267 | 183 |
| 270 | 184 |
| 271 | 185 |
| 272 | 186 |
| 273 | 187 |
| 274 | 188 |
| 275 | 189 |
| 276 | 190 |
| 277 | 191 |
| 300 | 192 |
| Octal | Decimal |
|---|---|
| 301 | 193 |
| 302 | 194 |
| 303 | 195 |
| 304 | 196 |
| 305 | 197 |
| 306 | 198 |
| 307 | 199 |
| 310 | 200 |
| 311 | 201 |
| 312 | 202 |
| 313 | 203 |
| 314 | 204 |
| 315 | 205 |
| 316 | 206 |
| 317 | 207 |
| 320 | 208 |
| 321 | 209 |
| 322 | 210 |
| 323 | 211 |
| 324 | 212 |
| 325 | 213 |
| 326 | 214 |
| 327 | 215 |
| 330 | 216 |
| 331 | 217 |
| 332 | 218 |
| 333 | 219 |
| 334 | 220 |
| 335 | 221 |
| 336 | 222 |
| 337 | 223 |
| 340 | 224 |
| 341 | 225 |
| 342 | 226 |
| 343 | 227 |
| 344 | 228 |
| 345 | 229 |
| 346 | 230 |
| 347 | 231 |
| 350 | 232 |
| 351 | 233 |
| 352 | 234 |
| 353 | 235 |
| 354 | 236 |
| 355 | 237 |
| 356 | 238 |
| 357 | 239 |
| 360 | 240 |
| 361 | 241 |
| 362 | 242 |
| 363 | 243 |
| 364 | 244 |
| 365 | 245 |
| 366 | 246 |
| 367 | 247 |
| 370 | 248 |
| 371 | 249 |
| 372 | 250 |
| 373 | 251 |
| 374 | 252 |
| 375 | 253 |
| 376 | 254 |
| 377 | 255 |
| 400 | 256 |
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 decimal?
Read the input as base 8 and express its value in base 10; 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 decimal result?
Convert decimal 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.