# Decimal to Octal Converter

To use this **decimal to octal converter**, you must type a decimal value like 245 into the left field below, and then hit the Convert button. The converter will give you the octal equivalent of the given decimal number.

### Decimal to octal conversion result in base numbers

## Decimal System

**The decimal numeral system** is the most commonly used and the standard system in daily life. It uses the number 10 as its base (radix). Therefore, it has 10 symbols: The numbers from 0 to 9; namely 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.

As one of the oldest known numeral systems, the **decimal numeral system** has been used by many ancient civilizations. The difficulty of representing very large numbers in the decimal system was overcome by the Hindu–Arabic numeral system. The Hindu-Arabic numeral system gives positions to the digits in a number and this method works by using powers of the base 10; digits are raised to the n^{th} power, in accordance with their position.

For instance, take the number 2345.67 in the decimal system:

- The digit 5 is in the position of ones (10
^{0}, which equals 1), - 4 is in the position of tens (10
^{1}) - 3 is in the position of hundreds (10
^{2}) - 2 is in the position of thousands (10
^{3}) - Meanwhile, the digit 6 after the decimal point is in the tenths (1/10, which is 10
^{-1}) and 7 is in the hundredths (1/100, which is 10^{-2}) position - Thus, the number 2345.67 can also be represented as follows:
(2 * 10
^{3}) + (3 * 10^{2}) + (4 * 10^{1}) + (5 * 10^{0}) + (6 * 10^{-1}) + (7 * 10^{-2})

## The Octal System

The **octal number system** (or shortly oct) uses the number 8 as its base (radix). As a base-8 numeral system, it uses eight symbols: The numbers from 0 to 7, namely 0, 1, 2, 3, 4, 5, 6 and 7. Although it was used by some native American tribes until the 20th century, the octal system has become popular in the early ages of computing as a language of computer programming. This is because the octal system shortens binary by simplifying long and complex chains of binary displays used by computers.

The octal system is mainly used for counting binary in groups of three: Each octal digit represents three binary digits. Since 8 is 2 to the third power (2^{3}), the octal system became a perfect abbreviation of binary for machines that employ word sizes divisible by three - which were 6-bit, 12-bit, 24-bit or 36-bit. Nowadays, most modern systems use hexadecimal rather than octal. However, octal numbers are an important part of basic knowledge in electronics.

### How to Calculate Decimal to Octal

**Decimal to octal conversion** can be achieved by applying the repeated division and remainder algorithm. Simply put, the decimal number is repeatedly divided by the radix 8. In between these divisions, the remainders give the octal equivalent in reverse order.

Here is how to convert decimal to octal step by step:

**Step 1**: If the given decimal number is less than 8, the octal equivalent is the same. If the given number is greater than 7, divide the number by 8.**Step 2**: Write down the remainder.**Step 3**: Divide the part before the decimal point of your quotient by 8 again.**Step 4**: Write down the remainder.**Step 5**: Continue this process of dividing by 8 and noting the remainders until the last decimal digit you are left with is less than 8.**Step 6**: When the last decimal digit is less than 8, the quotient will be less than 0 and the remainder will be the digit itself.**Step 7**: The last remainder you get will be the most significant digit of your octal value while the first remainder from Step 3 is the least significant digit. Therefore, when you write the remainders in reverse order - starting at the bottom with the most significant digit and going to the top- you will reach the octal value of the given decimal number.

Now, let's apply these steps to, for example, the decimal number (501)_{10}

Step 1: As 501 is greater than 7, divide by 8. 501 ÷ 8 = 62.625 Step 2: To calculate the remainder, you need to multiply the part after the decimal point by 8. 0.625 * 8 = 5 So the first remainder (and the least significant digit in the octal) is 5. Step 3: Divide 62 (the part of the quotient that is before the decimal point) by 8. 62 ÷ 8 = 7.75 Step 4: Calculate the remainder. 0.75 * 8 = 6 Step 5: Divide the integer part of the last quotient by 8. 7 ÷ 8 = 0.875 Step 6: Calculate the remainder. 0.875 * 8 = 7 (Note that when you reached a number less than the radix 8 in Step 3, the remainder 7 was already obvious. This is because if a decimal number is less than 8, the octal equivalent has the same value.) Step 7: The remainders written from below to top give you the octal number (765)_{8}Therefore, (765)_{8}equals (501)_{10}

#### Decimal to Octal Conversion Examples

Example 1: (1465)_{10} = (2671)_{8}

1465 ÷ 8 = 183.125 0.125 * 8 = 1 (Remainder: 1) 183 ÷ 8 = 22.875 0.875 * 8 = 7 (Remainder 7) 22 ÷ 8 = 2.75 0.75 * 8 = 6 (Remainder 6) 2 ÷ 8 = 0.25 0.25 *8 = 2 (Remainder 2) Read the remainder from the most significant to the least - from bottom to top: 2671. This is the octal equivalent of (1465)_{10}

Example 2: (8)_{10} = (10)_{8}

8 ÷ 8 = 1 Remainder 0 1 ÷ 8 = 0.125 0.125 * 8 = 1 (Remainder 1) Read the remainder from the most significant to the least - from bottom to top: 10.

Example 3: (10)_{10} = (12)_{8}

10 ÷ 8 = 1.25 0.25 * 8 = 2 (Remainder 2) 1 ÷ 8 = 0.125 (Remainder 1) Read the remainder from the most significant to the least - from bottom to top: 12.

Example 4: (1234)_{10} = (2322)_{8}

1234 ÷ 8 = 154.25 (Remainder 2) 154 ÷ 8 = 19.25 (Remainder 2) 19 ÷ 8 = 2.375 (Remainder 3) 2 ÷ 8 = 0.25 (Remainder 2) The octal number is 2322.

##### Decimal to Octal Conversion Chart Table

Decimal | Octal |
---|---|

1 | 1 |

2 | 2 |

3 | 3 |

4 | 4 |

5 | 5 |

6 | 6 |

7 | 7 |

8 | 10 |

9 | 11 |

10 | 12 |

11 | 13 |

12 | 14 |

13 | 15 |

14 | 16 |

15 | 17 |

16 | 20 |

17 | 21 |

18 | 22 |

19 | 23 |

20 | 24 |

21 | 25 |

22 | 26 |

23 | 27 |

24 | 30 |

25 | 31 |

26 | 32 |

27 | 33 |

28 | 34 |

29 | 35 |

30 | 36 |

31 | 37 |

32 | 40 |

33 | 41 |

34 | 42 |

35 | 43 |

36 | 44 |

37 | 45 |

38 | 46 |

39 | 47 |

40 | 50 |

41 | 51 |

42 | 52 |

43 | 53 |

44 | 54 |

45 | 55 |

46 | 56 |

47 | 57 |

48 | 60 |

49 | 61 |

50 | 62 |

51 | 63 |

52 | 64 |

53 | 65 |

54 | 66 |

55 | 67 |

56 | 70 |

57 | 71 |

58 | 72 |

59 | 73 |

60 | 74 |

61 | 75 |

62 | 76 |

63 | 77 |

64 | 100 |

Decimal | Octal |
---|---|

65 | 101 |

66 | 102 |

67 | 103 |

68 | 104 |

69 | 105 |

70 | 106 |

71 | 107 |

72 | 110 |

73 | 111 |

74 | 112 |

75 | 113 |

76 | 114 |

77 | 115 |

78 | 116 |

79 | 117 |

80 | 120 |

81 | 121 |

82 | 122 |

83 | 123 |

84 | 124 |

85 | 125 |

86 | 126 |

87 | 127 |

88 | 130 |

89 | 131 |

90 | 132 |

91 | 133 |

92 | 134 |

93 | 135 |

94 | 136 |

95 | 137 |

96 | 140 |

97 | 141 |

98 | 142 |

99 | 143 |

100 | 144 |

101 | 145 |

102 | 146 |

103 | 147 |

104 | 150 |

105 | 151 |

106 | 152 |

107 | 153 |

108 | 154 |

109 | 155 |

110 | 156 |

111 | 157 |

112 | 160 |

113 | 161 |

114 | 162 |

115 | 163 |

116 | 164 |

117 | 165 |

118 | 166 |

119 | 167 |

120 | 170 |

121 | 171 |

122 | 172 |

123 | 173 |

124 | 174 |

125 | 175 |

126 | 176 |

127 | 177 |

128 | 200 |

Decimal | Octal |
---|---|

129 | 201 |

130 | 202 |

131 | 203 |

132 | 204 |

133 | 205 |

134 | 206 |

135 | 207 |

136 | 210 |

137 | 211 |

138 | 212 |

139 | 213 |

140 | 214 |

141 | 215 |

142 | 216 |

143 | 217 |

144 | 220 |

145 | 221 |

146 | 222 |

147 | 223 |

148 | 224 |

149 | 225 |

150 | 226 |

151 | 227 |

152 | 230 |

153 | 231 |

154 | 232 |

155 | 233 |

156 | 234 |

157 | 235 |

158 | 236 |

159 | 237 |

160 | 240 |

161 | 241 |

162 | 242 |

163 | 243 |

164 | 244 |

165 | 245 |

166 | 246 |

167 | 247 |

168 | 250 |

169 | 251 |

170 | 252 |

171 | 253 |

172 | 254 |

173 | 255 |

174 | 256 |

175 | 257 |

176 | 260 |

177 | 261 |

178 | 262 |

179 | 263 |

180 | 264 |

181 | 265 |

182 | 266 |

183 | 267 |

184 | 270 |

185 | 271 |

186 | 272 |

187 | 273 |

188 | 274 |

189 | 275 |

190 | 276 |

191 | 277 |

192 | 300 |

Decimal | Octal |
---|---|

193 | 301 |

194 | 302 |

195 | 303 |

196 | 304 |

197 | 305 |

198 | 306 |

199 | 307 |

200 | 310 |

201 | 311 |

202 | 312 |

203 | 313 |

204 | 314 |

205 | 315 |

206 | 316 |

207 | 317 |

208 | 320 |

209 | 321 |

210 | 322 |

211 | 323 |

212 | 324 |

213 | 325 |

214 | 326 |

215 | 327 |

216 | 330 |

217 | 331 |

218 | 332 |

219 | 333 |

220 | 334 |

221 | 335 |

222 | 336 |

223 | 337 |

224 | 340 |

225 | 341 |

226 | 342 |

227 | 343 |

228 | 344 |

229 | 345 |

230 | 346 |

231 | 347 |

232 | 350 |

233 | 351 |

234 | 352 |

235 | 353 |

236 | 354 |

237 | 355 |

238 | 356 |

239 | 357 |

240 | 360 |

241 | 361 |

242 | 362 |

243 | 363 |

244 | 364 |

245 | 365 |

246 | 366 |

247 | 367 |

248 | 370 |

249 | 371 |

250 | 372 |

251 | 373 |

252 | 374 |

253 | 375 |

254 | 376 |

255 | 377 |

## Recent Comments

Absolutely wonderful explanation. Loved it!!

Thanks the process is very simple

this site is Amazing thanks for your help

This step is very easy to understand, thanks for putting together the materials.

This was really helpful, best explanation i have found.

This was very helpful

Awesome it help me so much thanks

VERY GOOD , I USE TO CHEAT ALL TESTS

Good Job