IEEE 754 Float Converter

Show how a decimal number is stored as an IEEE 754 floating-point value, in hex and in bits. It runs in your browser.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the IEEE 754 Float Converter

  1. Type the decimal number.
  2. Choose 32-bit or 64-bit.
  3. Read the hex and the bits in the result.

Frequently asked questions

What is an IEEE 754 float?

It is the standard way computers store decimal numbers, as a sign bit, an exponent and a fraction.

Why is the stored value not exactly what I typed?

Most decimal numbers, such as 0.1, cannot be stored exactly in binary, so the computer keeps the nearest value.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.