IEEE 754 Float to Hex
See how a decimal number is stored as a 32-bit or 64-bit float.
What it does
Shows how a decimal number is stored as a 32-bit or 64-bit floating point value (IEEE 754). Useful when reading binary data or wondering why 0.1 is not exact. You see the hex bytes, the sign, exponent and fraction bits, and the value actually stored.
How to use the IEEE 754 Float to Hex
- Choose the Precision: 32-bit float or 64-bit double.
- Type a decimal number to see its bits and hex, or a 0x… hex value to decode it.
- Compare the stored value with your number to see the rounding error.
Related tools
More in Numbers
Number Base Converter
Convert a number between any bases from 2 to 36.
Binary to Decimal
Turn a binary number into decimal, with the working shown.
Hex to Decimal
Turn a hexadecimal number into decimal.
Decimal to Binary
Turn a decimal number into binary.
Decimal to Hex
Turn a decimal number into hexadecimal.
Roman Numerals
Convert numbers to Roman numerals and back.
Octal Converter
Convert octal numbers to decimal, binary and hex.
Number to Words
Write a number out in English words.
IEEE 754 Float to Hex questions
How do I use the IEEE 754 Float to Hex?
Enter the values in the fields of the tool and read the result below them.