Convert between binary (base-2) and decimal (base-10) number systems with step-by-step explanations.
Enter binary digits (0s and 1s) only. Supports fractional binary numbers.
Enter decimal numbers. Supports fractional decimal numbers.
Each binary digit (bit) represents a power of 2. Starting from the rightmost bit (2⁰ = 1), each subsequent bit doubles in value (2¹ = 2, 2² = 4, 2³ = 8, etc.).
Divide the decimal number by 2 repeatedly, recording the remainders. The remainders (from bottom to top) form the binary representation.