IEEE 754 Calculator
Convert floating-point numbers (float/double) to binary representation. View the Sign, Exponent, and Mantissa bits clearly for single and double precision numbers.
An IEEE 754 converter splits a floating-point number into a sign bit, an exponent, and a fraction.
Example: 1 = 0 01111111 00000000000000000000000 in binary32
Text tools on this site use UTF-8 (the letter A is the byte 01000001). This page converts a whole number between bases and does not encode characters.
Last updated . Full ASCII table (decimal, hexadecimal, octal, and binary).
How IEEE 754 works for 3.14159
0 indicates a positive number.
Binary: 10000000
Decimal: 128
Actual: 1 (Bias 127)
Binary: 10010010000111111010000
Represents the precision bits. The leading 1 is implicit.
What is IEEE 754?
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) defines how computers store fractional numbers. Use this float to binary calculator to inspect the exact Sign, Exponent, and Mantissa bits for single precision (32-bit) and double precision (64-bit).
Parts of a Float:
- Sign Bit: 1 bit determining if the number is positive (0) or negative (1).
- Exponent: Determines the magnitude of the number, using a bias (127 for single, 1023 for double).
- Mantissa (Fraction): The precision bits representing the significant digits.