Math

Binary Fraction Converter

Convert a decimal value (with a fractional part) to binary.

Parameters Live Compute
Calculated Output
Binary 101.101
Formula: Whole part by division, fraction by repeated ×2
Step-by-Step Breakdown
1. Values used:
2. Decimal value = 5.625
3.
4. Binary = 101.101
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

Convert numbers with decimal fractions into binary, including the bits after the point.

The math behind it

Convert the whole part by division. For the fraction, repeatedly multiply by 2 and record each whole-number carry as the next binary bit.

Worked Example

5.625 = 101.101 in binary.

Frequently Asked Questions

Why might it not terminate?

Many decimal fractions repeat forever in binary (like 0.1), so the result is truncated.

Advertisement