Binary to Decimal Converter
Type binary or decimal numbers, one per line, and they convert instantly.
Your text and files never leave your browser — nothing is sent to a server.
How to use
- Choose a direction and type one number per line. Spaces, underscores and the 0b prefix are ignored.
- Fractions work both ways: binary 0.101 is decimal 0.625. Decimal fractions that never end in binary (like 0.1) are cut at “Max fraction bits” and marked with “…”.
- Pick an 8, 16, 32 or 64-bit width to read or write negative whole numbers in two’s complement (11111111 → -1 in 8-bit).
- Turn on “Group binary in 4s” to make long bit strings easier to read.
FAQ
How do you convert binary to decimal by hand?
Multiply each bit by its power of two and add them up. 1011 = 1×8 + 0×4 + 1×2 + 1×1 = 11. After the point the powers are ½, ¼, ⅛…, so 0.101 = 0.5 + 0.125 = 0.625.
Why does 0.1 never end in binary?
Only fractions whose denominator is a power of two terminate in binary. 0.1 is 1/10, so its binary form repeats forever (0.000110011…). This is also why 0.1 + 0.2 is not exactly 0.3 in floating-point maths.
Does the width apply to fractions?
No. Two’s complement is applied only to whole numbers; fractional values keep a minus sign.
Related tools
All tools
Unit Converters
- Unit Converter
- Temperature Converter
- Weight Converter
- Area Converter
- Length Converter
- Angle Converter
- Calorie Converter
- Data Size Converter
- Dry Volume Converter
- Electric Charge Converter
- Energy Converter
- Flow Rate Converter
- Force Converter
- Fuel Economy Converter
- Luminous Intensity Converter
- Magnetomotive Force Converter
- Power Converter
- Pressure Converter
- Radiation Dose Converter
- Speed Converter
- Time Unit Converter
- Volume Converter