What is Binary?
Binary is a base-2 number system that uses only two digits: 0 and 1. Each digit position represents a power of 2.
Binary to Decimal Conversion
To convert binary to decimal, multiply each digit by its place value and sum the results.
Example: 10112 = ?10
(1 × 8) + (0 × 4) + (1 × 2) + (1 × 1) = 8 + 0 + 2 + 1 = 1110
Decimal to Binary Conversion
To convert decimal to binary, divide the number by 2 repeatedly and track the remainders.
Example: 1310 = ?2
13 ÷ 2 = 6 remainder 1
6 ÷ 2 = 3 remainder 0
3 ÷ 2 = 1 remainder 1
1 ÷ 2 = 0 remainder 1
Reading remainders bottom up: 11012