Floating Point Converter
A floating point converter that decodes numbers into their IEEE 754 sign, exponent and mantissa fields for both 32-bit and 64-bit formats. It reveals exactly how a decimal value is stored in memory.
Your input is processed locally in your browser and is not uploaded or stored.
What this tool does
The binary representation of real numbers using sign, exponent and fraction fields. This floating point converter is free, works on desktop and mobile, and requires no sign-up.
Also useful for: binary to float, binary to floating point, binary to floating point calculator, binary to floating point converter, decimal to float calculator, decimal to float converter, decimal to floating point, decimal to floating point converter.
Features
- Single and double precision
- Shows sign, exponent and mantissa bits
- Hex representation of the raw bytes
- Live decoding
How to use it
- Enter a decimal number
- Choose 32 or 64-bit
- Inspect the bit fields
Examples
0.156250 01111100 01000000000000000000000 Common uses
- Debugging rounding surprises
- Understanding precision loss
- Teaching numeric representation
Good to know
- Very large or tiny values may display as infinity or zero per the format rules
Related standards and concepts: IEEE 754.
Frequently asked questions
Why does 0.1 look imprecise?
Most decimal fractions cannot be represented exactly in binary floating point, so the stored value is the nearest representable one.