Decimal 118 in binary conversion provides the detailed information on what is the binary equivalent of (118)10, and the step-by-step work for how to convert the decimal (base-10) number 118 to its binary (base-2) equivalent.
(118)10 in binary is equal to:
(118)10 = (?)2
Perform successive MOD-2 operation for decimal 118, and mark the initial remainder as LSB and the final remainder as MSB as like the below.
118 MOD-2 | 118 / 2 = 59 | Remainder is 0 → LSB |
59 MOD-2 | 59 / 2 = 29 | Remainder is 1 |
29 MOD-2 | 29 / 2 = 14 | Remainder is 1 |
14 MOD-2 | 14 / 2 = 7 | Remainder is 0 |
7 MOD-2 | 7 / 2 = 3 | Remainder is 1 |
3 MOD-2 | 3 / 2 = 1 | Remainder is 1 |
1 MOD-2 | 1 / 2 = 0 | Remainder is 1 → MSB |
Arrange the remainders from MSB to LSB forms the binary equivalent of 118.
11810 = 11101102
Hence,
118 in binary is 1110110
where,
118
10 is the given decimal number,
10 in 118
10 represents the base-10 or decimal number system,
1110110
2 is the binary equivalent of the decimal 41,
2 in 1110110
2 represents the base-2 or binary number system.
Important Notes: (118)10 in Binary
The below are some of the important notes to be remembered while converting the base-10 number 118 into a binary number.
- The initial or first remainder while performing MOD-2 operation for 118 is a Least Significant Bit (LSB).
- The last remainder while performing MOD-2 operation for 118 is a Most Significant Bit (MSB).
- The remainders of MOD-2 operation for 118 should be written from MSB to LSB to form the binary equivalent for the given decimal number (118)10.