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