Home · Everyday · Tech, Text & Media · Floating-Point Calculator

Floating-Point Calculator

Any decimal number as IEEE 754 double-precision bits — sign, exponent and fraction, field by field.

Your figures

Example result — edit the figures to make it yours

00111111 11000100 00000000 00000000 00000000 00000000 00000000 00000000

IEEE 754 double-precision bits

64 bits: 1 sign, 11 exponent (biased by 1023), 52 fraction. The value is (−1)^sign × 1.fraction × 2^(exponent − 1023) for normal numbers. The headline figure is the true exponent.

Sign bit0 (positive)
Exponent bits01111111100 (stored 1020, true -3)
Classnormal
Hexadecimal0x3FC4000000000000

What this calculator does

Any decimal number as IEEE 754 double-precision bits — sign, exponent and fraction, field by field. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

1 sign bit, 11 exponent bits (bias 1023), 52 fraction bits

The value is stored as a 64-bit double: 1 sign bit, 11 exponent bits (bias 1023) and 52 fraction bits.

The decomposition shown is the exact stored value, not a rounded display value.

Very small numbers near zero become subnormal and lose precision — the tool reports the stored exponent.

Worked example

With the example inputs this page opens with (decimal number 0.15625), the result is 00111111 11000100 00000000 00000000 00000000 00000000 00000000 00000000 — ieee 754 double-precision bits. 64 bits: 1 sign, 11 exponent (biased by 1023), 52 fraction. The value is (−1)^sign × 1.fraction × 2^(exponent − 1023) for normal numbers. The headline figure is the true exponent.

Quick reference

Quick reference — varying decimal number
Decimal numberIEEE 754 double-precision bits
0.078100111111 10110011 11111110 01011100 10010001 11010001 01001110 00111100
0.12500111111 11000000 00000000 00000000 00000000 00000000 00000000 00000000
0.156300111111 11000100 00000001 10100011 01101110 00101110 10110001 11000100
0.195300111111 11001000 11111111 10010111 00100100 01110100 01010011 10001111
0.234400111111 11001110 00000000 11010001 10110111 00010111 01011000 11100010
0.312500111111 11010100 00000000 00000000 00000000 00000000 00000000 00000000

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Floating-Point Calculator work?

Any decimal number as IEEE 754 double-precision bits — sign, exponent and fraction, field by field. Number → 64-bit pattern. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Floating-Point Calculator need?

Number → 64-bit pattern. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Floating-Point Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.