Float Converter

Convert between decimal floats and IEEE 754 binary format.

Enter a decimal number to see IEEE 754 single and double precision representation.

IEEE 754 Format
  • Float32 (32-bit): 1 sign bit + 8 exponent bits + 23 mantissa bits, bias 127.
  • Float64 (64-bit): 1 sign bit + 11 exponent bits + 52 mantissa bits, bias 1023.
  • Sign bit: 0 for positive, 1 for negative.
  • Exponent: actual exponent = stored value - bias.
  • Mantissa: stores fractional part with implied leading 1.

Usage

Features

Supports bidirectional conversion between decimal and IEEE 754 single/double precision binary, with detailed breakdown of sign, exponent, mantissa and hex representation.

Steps

Select conversion direction → Enter decimal or IEEE 754 binary/hex → Select precision → Click "Convert" to view result

Notes

Float32 binary requires 32 bits, Float64 requires 64 bits; hex input must start with 0x.