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