# Decimal 21 to Octal Conversion

What is 21 decimal in octal? - converter, chart & solved example problem with step by step workout for how to carry out decimal 21 to octal conversion manually. The base-10 value of 21_{10} is equal to
base-8 value of 25_{8}.__In different representation__

21_{10} = 25_{8}

21 = 0o25

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

19.5 | 23.4 | 10011.1 |

20 | 24 | 10100 |

20.5 | 24.4 | 10100.1 |

21 | 25 | 10101 |

21.5 | 25.4 | 10101.1 |

22 | 26 | 10110 |

22.5 | 26.4 | 10110.1 |

23 | 27 | 10111 |

## Work to Find What is 21 Decimal in Octal

The below is the example problem with step by step work to find what is 21 decimal in octal.

step 1 Perform the successive MOD 8 for the given decimal number 21 and note down the remainder for each operation. The last remainder is the MSB (most significant bit) and the first remainder is the LSB (least significant bit).

21 / 8 = 2 : Remainder is 5 →

2 / 8 = 0 : Remainder is 2 →

step 2 Write the remainders from MSB to LSB provide the equivalent octal number

25

__21 Decimal To Octal Conversion:__step 1 Perform the successive MOD 8 for the given decimal number 21 and note down the remainder for each operation. The last remainder is the MSB (most significant bit) and the first remainder is the LSB (least significant bit).

21 / 8 = 2 : Remainder is 5 →

**LSB**2 / 8 = 0 : Remainder is 2 →

**MSB**step 2 Write the remainders from MSB to LSB provide the equivalent octal number

25

**21**_{10}= 25_{8}