💻 Binary Converter
Convert between binary, decimal, octal, and hex
How Binary Conversion Works
Formula
Decimal = Σ(bit × 2^position)
- 1Enter a number in any supported base (binary, decimal, octal, hex).
- 2Select the target base for conversion.
- 3Binary to decimal: multiply each bit by its power of 2 and sum.
- 4Decimal to binary: repeatedly divide by 2, collect remainders.
- 5The step-by-step process and result are displayed instantly.
About Binary Converter
Convert between binary, decimal, octal, and hexadecimal number systems. See step-by-step conversion process. Supports integers and fractional numbers with bit-level explanation.
Frequently Asked Questions
What is binary?
Binary is a base-2 number system using only 0 and 1. Every digital device uses binary internally. Each digit (bit) represents a power of 2: 1, 2, 4, 8, 16, etc.
How do I convert binary to decimal?
Multiply each bit by its position value (powers of 2 from right to left) and add them up. For example, 1101 = 1×8 + 1×4 + 0×2 + 1×1 = 13.
What is the binary of 255?
255 in binary is 11111111 (eight 1s). This is significant because it's the maximum value of an 8-bit byte, used in IP addresses and color codes (RGB values range 0-255).