How it works
Each bit multiplies 2 raised to its position index (usually from right at 2⁰) and sums to the decimal value.
How to use Binary to Decimal Converter
- Enter a binary string, optionally with spaces between bytes.
- Run conversion to decimal.
- Use decimal-to-binary to reverse or check your work.
Worked examples
Concrete numbers and cases you can check against the tool above.
Byte 10101010
128+32+8+2 = 170 decimal — common pattern when learning place values.
When to use Binary to Decimal Converter
Reading long bit strings mentally is tedious. This confirms homework and interprets hardware register dumps quickly.
Common use cases
- Decode an 8-bit ASCII code in decimal before looking up the character.
- Interpret a single flag bit field documented in binary.
- Verify place-value expansion exercises.
Inputs and outputs
- Binary strings of 0 and 1
- Optional grouping spaces
Privacy
This tool runs entirely in your browser. Your data never leaves your device — nothing is uploaded to our servers.
Frequently asked questions
- MSB first or LSB first?
- Standard notation is leftmost as highest bit; the tool should document its bit order if ambiguous.
- Leading zeros?
- They do not change value but may matter for fixed bit width display.
- Invalid characters?
- Digits 2–9 are rejected in strict binary mode.