IEEE 754 Floating Point Converter
Enter a decimal number to see its IEEE 754 single (32-bit) and double (64-bit) floating-point binary breakdown with sign, exponent, and mantissa fields.
Decimal Input
Quick examples
32 Single Precision (float32)
0
sign
01111111
exponent (8 bits)
00000000000000000000000
mantissa (23 bits)
Sign
+
Exponent (biased)
127
Exponent (actual)
0
Hex (big-endian)
3F800000
Special:
Normal number
64 Double Precision (float64)
0
sign
01111111111
exponent (11 bits)
0000000000000000000000000000000000000000000000000000
mantissa (52 bits)
Sign
+
Exponent (biased)
1023
Exponent (actual)
0
Hex (big-endian)
3FF0000000000000
Special:
Normal number
Precision note:
Copied!
Summary
Enter a decimal number to see its IEEE 754 single (32-bit) and double (64-bit) floating-point binary breakdown with sign, exponent, and mantissa fields.
How it works
- Enter any decimal number in the input field (e.g. 3.14, -0.5, 1e10).
- The tool extracts the sign bit (0 = positive, 1 = negative).
- It calculates the biased exponent by adding 127 (single) or 1023 (double) to the actual exponent.
- The mantissa (significand) stores the fractional part of the normalized binary value.
- Results are shown as color-coded binary strings and hexadecimal encoding.
- Special values like Infinity, NaN, and zero are handled and labeled automatically.
Use cases
- Debug floating-point precision issues in C, C++, Java, or embedded code.
- Learn how IEEE 754 represents real numbers at the bit level.
- Verify float/double encodings when working with binary file formats or network protocols.
- Understand why 0.1 + 0.2 != 0.3 by inspecting the actual bit patterns.
- Check NaN, Infinity, and subnormal number representations.
- Reverse-engineer hex dumps containing floating-point data.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu