Floating-Point Calculator

Convert decimal, binary, or hexadecimal IEEE 754 values with single and double precision. Inspect sign, exponent, fraction, and subnormal values.

Result
—

How to calculate

Round the decimal value directly to the requested binary precision using nearest-even rounding. Decode a normal word using its sign, biased exponent, and an implicit leading one. Subnormal words use a leading zero. Special patterns represent signed zero, infinity, or NaN.

Worked example

Use Convert Decimal to IEEE 754 word · Precision 32-bit single precision · Decimal value 0.1. The result is 3DCCCCCD.

Input and result notes

The main decimal rendering is rounded for display. The exact binary value shows an integer multiplied by a power of two. Use a full-width bit or hex word when decoding.

Oracle numerical computing guide to IEEE storage formats

Related calculators