Decimal Fraction to Binary Converter

Convert decimal numbers with fractions (like 5.375 or 0.1) to binary, with chosen precision.

Result

Binary
101.011
Exact?
Yes, exact
✓ Free⚡ Instant🔒 Runs in your browser📱 Mobile friendly∞ No limits

How to use the Decimal Fraction to Binary Converter

  1. Type or paste your value into the inputs above.
  2. The result is calculated instantly as you type — no button needed.
  3. Press Copy to copy any result, or Example to see a worked example (5.375, 24).

How decimal to binary fraction works

Multiply the fractional part by 2 repeatedly; each time the result reaches 1, write 1 and subtract 1, otherwise write 0.

Frequently asked questions

How do I use the Decimal Fraction to Binary Converter?

Enter your value in the box above. The result updates instantly as you type. Use the Copy button next to any result to copy it, Example to load a sample, or Clear to start again.

Is this decimal to binary fraction tool free?

Yes. Binary Tool Hub is completely free, needs no sign-up and has no usage limits.

Is my data private?

Yes. Every calculation runs locally in your browser with JavaScript. Nothing you type is uploaded to a server.

Does it work on mobile?

Yes. The Decimal Fraction to Binary Converter works on iPhone, Android, tablets and desktop browsers, and even offline once the page has loaded.

How does the decimal to binary fraction conversion work?

Multiply the fractional part by 2 repeatedly; each time the result reaches 1, write 1 and subtract 1, otherwise write 0.