Web4College

Float to Hex Converter

Convert a decimal floating-point number to its IEEE 754 single-precision (32-bit) hexadecimal representation. See each step: sign bit, biased exponent, and mantissa encoding.

Key Terms

TermLabelDetails
IEEE 754StandardBinary floating-point standard

The international standard for binary floating-point arithmetic. It defines the exact bit layout (sign, exponent, mantissa) and special values (NaN, ±Infinity, ±0) for 32-bit, 64-bit, and other precision formats.

Sign BitSignPlus or minus
Biased ExponentPowerExponent + 127
MantissaFractionDecimal part
Hidden BitImplicitUnstored leading 1
Normalised NumberNormal1.f × 2^e form
Special ValuesExceptionsNaN, ±Infinity, Zero

Frequently Asked Questions