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