IEEE-754 Float32 Converter

Binary32 single precision

Toggle the 32 bits, type a decimal, type a binary, or paste hex in either byte order — everything else updates live.

IEEE 754 Converter
Sign Exponent Mantissa
Value: +1 20 1 + 0
Encoded as: 0 0 0
Binary:
 
Presets:

How it works

A 32-bit IEEE-754 float is laid out as sign · 2exponent − 127 · (1 + mantissa/223). The sign is one bit, the exponent is 8 bits (bias 127), and the mantissa is 23 bits of fraction. If the exponent is zero, the value is a subnormal and the leading 1 is dropped. If the exponent is 0xFF, the value is ±Infinity (mantissa = 0) or NaN (mantissa ≠ 0).

Hex byte order: Big-endian shows the IEEE-754 bit string in network byte order (MSB byte first), e.g. 3F800000 for 1.0. Little-endian is the way x86 / ARM-LE dump the same value to memory or to a MODBUS register pair, e.g. 0000803F. Both encode the same float — just byte-swapped.

Comments