Decimal 5842 in hex form conversion provides the detailed information on what is the hex equivalent of
(5842)10, and the step-by-step solution using the most simple method for how to convert decimal (base-10) number 5842 to its hex (base-16) equivalent.
(5842)10 in hex is equal to:
(5842)10 = (?)16
Perform successive MOD-16 operation for decimal 5842, and mark the initial remainder as LSB and the final remainder as MSB as like the below.
| MOD-16 of 5842 | 5842 / 16 = 365 | Remainder is 2 → LSB |
| MOD-16 of 365 | 365 / 16 = 22 | Remainder is 13 |
| MOD-16 of 22 | 22 / 16 = 1 | Remainder is 6 |
| MOD-16 of 1 | 1 / 16 = 0 | Remainder is 1 → MSB |
Arrange the remainders of MOD-16 of 5842 from MSB to LSB
(1 6 13 2) and replace each remainders by the corresponding hex equivalent by referring the below table forms the equivalent hex number for decimal 5842.
| Decimal | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| Hex | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F |
Decimal 1 in hex is 1 →
MSBDecimal 6 in hex is 6
Decimal 13 in hex is D
Decimal 2 in hex is 2 →
LSB
= 16D2
584210 = 16D216
Hence,
5842 in hex is 16D2
where,
5842
10 is the given decimal number,
10 in 5842
10 represents the base-10 or decimal number system,
16D2
16 is the hex equivalent of the decimal 5842,
16 in 16D2
16 represents the base-16 or hexadecimal number system.
Important Notes: (5842)10 in Hex
The below are some of the important notes to be remembered while converting the (base-10) decimal number 5842 into a (base-16) hexadecimal equivalent.
- The initial remainder of MOD-16 operation for 5842 is a Least Significant Bit (LSB).
- The last remainder of MOD-16 operation for 5842 is a Most Significant Bit (MSB).
- Arrange the reminders of mod-16 of 5842 from MSB to LSB and replace each reminder by the corresponding hex equivalent forms the actual hex value of decimal 5842.