Diagram of IEEE 754 float layout showing sign, exponent, and mantissa fields with hexadecimal bytes.

IEEE 754 Floating Point

Binary layout

Enter a decimal number for each format. Values are stored in IEEE 754 binary32 (single) and binary64 (double). Byte order shown is big-endian (network order).

32-bit float (binary32)

Fields

64-bit double (binary64)

Fields

Exponent is stored with a bias (127 for float, 1023 for double). Subnormal numbers, infinity, and NaN follow IEEE 754 rules.