Converter de decimalComo converter o número de decimal em binário, hexadecimal, octal? | |
| Decimal em:
binário
hexadecimal
octal
|
ExemplosRegra de conversão em tabela |
Decimal em Binário |
|
Converter o número decimal 1805410 em binário: 1805410 = 1000110100001102 |
| Dividido por 2 | Resultado | Resto | Bit # |
| 18054/2 | 9027 | 0 | 0 |
| 9027/2 | 4513 | 1 | 1 |
| 4513/2 | 2256 | 1 | 2 |
| 2256/2 | 1128 | 0 | 3 |
| 1128/2 | 564 | 0 | 4 |
| 564/2 | 282 | 0 | 5 |
| 282/2 | 141 | 0 | 6 |
| 141/2 | 70 | 1 | 7 |
| 70/2 | 35 | 0 | 8 |
| 35/2 | 17 | 1 | 9 |
| 17/2 | 8 | 1 | 10 |
| 8/2 | 4 | 0 | 11 |
| 4/2 | 2 | 0 | 12 |
| 2/2 | 1 | 0 | 13 |
| 1/2 | 0 | 1 | 14 |
Decimal em OctalConverter 1805410 em octal:1805410 = 432068 |
| Dividido por 8 | Resultado | Resto | Bit # |
| 18054/8 | 2256 | 6 | 0 |
| 2256/8 | 282 | 0 | 1 |
| 282/8 | 35 | 2 | 2 |
| 35/8 | 4 | 3 | 3 |
| 4/8 | 0 | 4 | 4 |
Decimal em HexadecimalConverter 1805410 em hexadecimal:1805410 = 468616 |
| Dividido por 8 | Resultado | Resto (decimal) |
Resto (hexa) |
Bit # |
| 18054/16 | 1128 | 6 | 6 | 0 |
| 1128/16 | 70 | 8 | 8 | 1 |
| 70/16 | 4 | 6 | 6 | 2 |
| 4/16 | 0 | 4 | 4 | 3 |