Converter
Input
Result
Sign
—
Exponent
—
Fraction
—
Convert IEEE 754 values between decimal numbers and raw hex bits for float32 and float64/double. Useful for UART/CAN payload decoding, memory dump analysis, and firmware debugging.
—
—
—
IEEE 754 stores floating-point values as sign, exponent, and fraction fields. This converter decodes hex to float, encodes float to hex, and shows the byte order used for the raw bit pattern.
Use these known IEEE 754 values as quick checks when debugging binary payloads or confirming that a float32 or float64 value was encoded with the expected byte order.
| Value | IEEE 754 HEX | Type | Meaning |
|---|---|---|---|
| 1.0 | 3F800000 | float32 | Common normalized value |
| -1.0 | BF800000 | float32 | Negative normalized value |
| 0.5 | 3F000000 | float32 | Fractional value |
| +Infinity | 7F800000 | float32 | Positive infinity |
| NaN | 7FC00000 | float32 | Quiet NaN example |
| 1.0 | 3FF0000000000000 | float64 | Double precision 1.0 |
A 32-bit float uses 1 sign bit, 8 exponent bits, and 23 fraction bits. A 64-bit double uses 1 sign bit, 11 exponent bits, and 52 fraction bits, which gives it a wider range and more precision.
Endianness controls how bytes are ordered in memory or on a wire. The mathematical IEEE 754 bit pattern is the same, but the byte sequence can be big-endian or little-endian depending on the protocol or CPU.
IEEE 754 reserves exponent patterns for special values. An all-ones exponent with zero fraction is Infinity, an all-ones exponent with a nonzero fraction is NaN, and an all-zero exponent can represent zero or subnormal values.
An IEEE 754 converter translates floating-point numbers between decimal values, raw hexadecimal bit patterns, bytes, and sign, exponent, and fraction fields.
Choose float32 or float64, paste the hex bits, select the byte order, and read the decoded decimal value and fields.
float32 uses 32 bits and float64 uses 64 bits. float64 has more exponent and fraction bits, so it can represent a wider range with more precision.
Endianness changes the byte order of the same bit pattern. If the byte order is interpreted incorrectly, the decoded floating-point value can be completely different.
Hex to Float · HEX ⇄ ASCII ⇄ Binary · UART Packet Time · CRC Calculator