IEEE 754 floating point

Visualizes and converts between a floating point number and the IEEE 754 floating point format.

This tool requires an up-to-date browser because it makes use of several new JavaScript functions. If you are experiencing any problems, please consider upgrading to the latest version of your browser.

Input number

JavaScript toString()

Float representation (32 bit)


Double representation (64 bit)


Sign Exponent Mantissa

See also

Binary to decimal conversion · Decimal to binary conversion

Additional information

IEEE Standard for Binary Floating-Point Arithmetic: "This standard is a product of the Floating-Point Working Group of the Microprocessor Standards Subcommittee of the Standards Committee of the IEEE Computer Society. This work was sponsored by the Technical Committee on Microprocessors and Minicomputers. Draft 8.0 of this standard was published to solicit public comments. Implementation techniques can be found in An Implementation Guide to a Proposed Standard for Floating-Point Arithmetic by J.T. Coonen, which was based on a still earlier draft of the proposal. This standard defines a family of commercially feasible ways for new systems to perform binary floating-point arithmetic." Read more

Source code

JavaScript source code (ieee-754-floating-point.js)


ieee 754 floating point standard float double