Web Tools
IEEE 754 Float Inspector
Visualize how floating-point numbers are stored in IEEE 754 binary format. Inspect sign bit, exponent, and mantissa for both 32-bit (single) and 64-bit (double) precision floats. Understand floating-point representation, NaN, Infinity, and precision limitations. Runs entirely in your browser — your data never leaves your machine.
ieee754 float binary number precision
Published May 31, 2026
All interactive tools run entirely in your browser. Your data never leaves your device.
How It Works
Enter any number (including special values like NaN, Infinity, -0) and select single or double precision. The inspector shows the exact binary layout: sign bit, exponent bits, and mantissa bits, along with their decoded values.
Features
- Dual precision: inspect both 32-bit (single) and 64-bit (double) floats
- Bit-level visualization: color-coded sign, exponent, and mantissa fields
- Special values: correctly handles NaN, +/-Infinity, positive/negative zero
- Hex representation: shows the raw hex encoding
- Exponent details: displays both biased and unbiased exponent values
- Scientific notation: accepts numbers in scientific notation (e.g.,
1.5e10) - 5 preset examples: Pi, 0.1 + 0.2, Max Float32, Negative Zero, Infinity
- Private: all computation runs in your browser — no data transmitted
Use Cases
- Understanding why
0.1 + 0.2 !== 0.3in floating-point arithmetic - Debugging precision issues in numerical computing
- Learning IEEE 754 binary representation for computer science courses
- Analyzing special float values (NaN, Infinity, denormalized numbers)
- Comparing single vs double precision for performance-critical code