| Convert 21 from decimalHow to convert number 21 from decimal to binary, octal, hexadecimal? | |
| Decimal to:  
				binary  
				octal  
				hexadecimal | 
| 
 | ||
| 
 | ||
| 
 | ||
| Decimal to Binary | 
| Convert number decimal 2110 to binary: 2110 = 101012 | 
| Divided by 2 | Quotient | Remainder | Bit # | 
| 21/2 | 10 | 1 | 0 | 
| 10/2 | 5 | 0 | 1 | 
| 5/2 | 2 | 1 | 2 | 
| 2/2 | 1 | 0 | 3 | 
| 1/2 | 0 | 1 | 4 | 
| Decimal to OctalConvert 2110 to octal:2110 = 258 | 
| Divided by 8 | Quotient | Remainder | Bit # | 
| 21/8 | 2 | 5 | 0 | 
| 2/8 | 0 | 2 | 1 | 
| Decimal to HexadecimalConvert 2110 to hexadecimal:2110 = 1516 | 
| Divided by 8 | Quotient | Remainder (decimal) | Remainder (hexa) | Bit # | 
| 21/16 | 1 | 5 | 5 | 0 | 
| 1/16 | 0 | 1 | 1 | 1 | 
| Convert other numbers: | 
| 16 17 18 19 20 21 22 23 24 25 26 |