Float64 bits (hex) to decimal
Type a value in float64 hex to get it in dec instantly.
1dec
1 is stored exactly in a 32-bit float.
Convert the other way: dec to float64 hex
What it means
Where does it sit in the float range?
Uses round-to-nearest, as every processor does by default. The binary form shows sign, exponent and fraction separated by spaces.
The math
How to convert float64 hex to dec
value = (−1)^sign × 1.fraction × 2^(exponent − bias), bias 127 for float32 and 1023 for float64. 1.0 = 0x3F800000.
Example: 3FF0000000000000 float64 hex = 1 dec.
Every unit
That number in every format
Tables
float64 hex to dec conversion table
| float64 hex | dec |
|---|---|
| C000000000000000 float64 hex | -2 dec |
| BFF0000000000000 float64 hex | -1 dec |
| 3FB999999999999A float64 hex | 0.1 dec |
| 3FC999999999999A float64 hex | 0.2 dec |
| 3FD0000000000000 float64 hex | 0.25 dec |
| 3FE0000000000000 float64 hex | 0.5 dec |
| 3FF0000000000000 float64 hex | 1 dec |
| 3FF8000000000000 float64 hex | 1.5 dec |
| 4000000000000000 float64 hex | 2 dec |
| 400921F9F01B866E float64 hex | 3.14159 dec |
| 4024000000000000 float64 hex | 10 dec |
| 4059000000000000 float64 hex | 100 dec |
| 408F400000000000 float64 hex | 1000 dec |
| 4170000000000000 float64 hex | 16777216 dec |
dec to float64 hex conversion table
| dec | float64 hex |
|---|---|
| -2 dec | C000000000000000 float64 hex |
| -1 dec | BFF0000000000000 float64 hex |
| 0.1 dec | 3FB999999999999A float64 hex |
| 0.2 dec | 3FC999999999999A float64 hex |
| 0.25 dec | 3FD0000000000000 float64 hex |
| 0.5 dec | 3FE0000000000000 float64 hex |
| 1 dec | 3FF0000000000000 float64 hex |
| 1.5 dec | 3FF8000000000000 float64 hex |
| 2 dec | 4000000000000000 float64 hex |
| 3.14159 dec | 400921F9F01B866E float64 hex |
| 10 dec | 4024000000000000 float64 hex |
| 100 dec | 4059000000000000 float64 hex |
| 1000 dec | 408F400000000000 float64 hex |
| 16777216 dec | 4170000000000000 float64 hex |
Quick answers
Quick answers
- How many dec is 3FF0000000000000 float64 hex?
- 3FF0000000000000 float64 hex is 1 dec.
- How many dec is 4024000000000000 float64 hex?
- 4024000000000000 float64 hex is 10 dec.
The units
About these units
Float64 bits (hex) (float64 hex)
The 64 bits of a double-precision float, in hex.
Decimal (dec)
The number in decimal, as many digits as a double needs.
Keep going