IEEE 754 Floating Point Converter
Convert between decimal numbers and their IEEE 754 binary floating point representation. View sign, exponent, and mantissa bit fields for single (32-bit) and double (64-bit) precision.
Decimal to IEEE 754
Hex / Binary to IEEE 754
Computation
How It Works
The IEEE 754 standard defines how floating point numbers are stored in binary. A number is split into three fields: sign, exponent, and mantissa (also called the significand).
Single Precision (32-bit)
- Sign: 1 bit (0 = positive, 1 = negative)
- Exponent: 8 bits (bias = 127)
- Mantissa: 23 bits (+ 1 implicit bit)
- Range: ~1.2 × 10-38 to ~3.4 × 1038
- Precision: ~7 decimal digits
Double Precision (64-bit)
- Sign: 1 bit (0 = positive, 1 = negative)
- Exponent: 11 bits (bias = 1023)
- Mantissa: 52 bits (+ 1 implicit bit)
- Range: ~2.2 × 10-308 to ~1.8 × 10308
- Precision: ~15–17 decimal digits
The value is computed as:
Special Values
| Value | Exponent | Mantissa | Meaning |
|---|---|---|---|
| +0 / -0 | All 0s | All 0s | Positive/Negative zero |
| Denormalized | All 0s | Non-zero | Very small numbers (no implicit 1) |
| ±Infinity | All 1s | All 0s | Overflow / division by zero |
| NaN | All 1s | Non-zero | Not a Number (0/0, sqrt(-1)) |
Common Use Cases
Debugging
- Understanding floating point rounding errors
- Inspecting float bit patterns in memory dumps
- Verifying serialization/deserialization
- Diagnosing precision loss in calculations
Education
- Learning binary number representation
- Computer architecture coursework
- Understanding why 0.1 + 0.2 ≠ 0.3
- Exploring denormalized numbers and special values
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence Generator
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- Prime Number
- Prime Factorization
- Prime Number Checker
- Roman Numeral Converter
- Scientific Notation Converter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tag Generator
- Meta Tag
- Mobile-Friendly Test
- Open Graph
- Open Graph Tag Generator
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Robots.txt Analyzer
- Structured Data
- XML Sitemap
- Structured Data Generator
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
- XML Sitemap Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Cooking
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-