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.
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
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
| Decimal number | IEEE 754 double-precision bits |
|---|---|
| 0.0781 | 00111111 10110011 11111110 01011100 10010001 11010001 01001110 00111100 |
| 0.125 | 00111111 11000000 00000000 00000000 00000000 00000000 00000000 00000000 |
| 0.1563 | 00111111 11000100 00000001 10100011 01101110 00101110 10110001 11000100 |
| 0.1953 | 00111111 11001000 11111111 10010111 00100100 01110100 01010011 10001111 |
| 0.2344 | 00111111 11001110 00000000 11010001 10110111 00010111 01011000 11100010 |
| 0.3125 | 00111111 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.