Decimal 342 in binary conversion provides the detailed information on what is the binary equivalent of (342)10, and the step-by-step work for how to convert the decimal (base-10) number 342 to its binary (base-2) equivalent.
(342)10 in binary is equal to:
(342)10 = (?)2
Perform successive MOD-2 operation for decimal 342, and mark the initial remainder as LSB and the final remainder as MSB as like the below.
342 MOD-2 | 342 / 2 = 171 | Remainder is 0 → LSB |
171 MOD-2 | 171 / 2 = 85 | Remainder is 1 |
85 MOD-2 | 85 / 2 = 42 | Remainder is 1 |
42 MOD-2 | 42 / 2 = 21 | Remainder is 0 |
21 MOD-2 | 21 / 2 = 10 | Remainder is 1 |
10 MOD-2 | 10 / 2 = 5 | Remainder is 0 |
5 MOD-2 | 5 / 2 = 2 | Remainder is 1 |
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 342.
34210 = 1010101102
Hence,
342 in binary is 101010110
where,
342
10 is the given decimal number,
10 in 342
10 represents the base-10 or decimal number system,
101010110
2 is the binary equivalent of the decimal 41,
2 in 101010110
2 represents the base-2 or binary number system.
Important Notes: (342)10 in Binary
The below are some of the important notes to be remembered while converting the base-10 number 342 into a binary number.
- The initial or first remainder while performing MOD-2 operation for 342 is a Least Significant Bit (LSB).
- The last remainder while performing MOD-2 operation for 342 is a Most Significant Bit (MSB).
- The remainders of MOD-2 operation for 342 should be written from MSB to LSB to form the binary equivalent for the given decimal number (342)10.