The IEEE-754 single-precision format is how almost every computer stores a 32-bit floating-point number. This inspector takes any decimal you type, rounds it to the nearest representable float, and dissects the exact bits into sign, exponent and mantissa.
How it works
A binary32 value packs 32 bits into three fields. The first bit is the sign: 0 for positive, 1 for negative. The next 8 bits are the exponent, stored with a bias of 127 so the true exponent is the stored field minus 127. The final 23 bits are the mantissa, or fraction.
For a normal number the actual value is (-1)^sign × 1.fraction × 2^(exponent − 127), where the leading 1 before the fraction is implied and not stored. That hidden bit gives 24 bits of significand from only 23 stored. The tool obtains the true bit pattern by writing the value into a 32-bit float and reading the same memory back as a 32-bit unsigned integer, so the result reflects the CPU’s exact round-to-nearest-even conversion.
Special cases
exponent all zeros, mantissa zero -> ±0
exponent all zeros, mantissa nonzero -> subnormal (gradual underflow)
exponent all ones, mantissa zero -> ±Infinity
exponent all ones, mantissa nonzero -> NaN
Example
The value 0.15625 is exactly representable. Its bits are sign 0, exponent 01111100 (124, so unbiased −3), and mantissa 01000000000000000000000. That decodes as 1.25 × 2⁻³ = 0.15625, and the full pattern is 0x3E200000.
Tips and notes
Use this inspector to understand rounding error, to debug binary file formats, or to see why two decimals that look equal compare as different. Because 32-bit floats only hold about 7 significant decimal digits, the stored value line will reveal any rounding the moment you enter a number that cannot be represented exactly. All processing happens locally in your browser.