Fixed Point to Floating Point Converter

Fixed Point to Floating Point Converter calculator can be used to convert fixed point numbers to their floating point equivalents.

Input Parameters

Calculation Results

Calculation Formula

The floating point value is calculated as: (Fixed Point Value / (2^fractionBits))

Where:
- integerBits: Number of bits used for the integer part
- fractionBits: Number of bits used for the fractional part
- fixedPointValue: The fixed point number to be converted

Result

Fixed Point to Floating Point Converter Calculator Usage Guide

Learn how to use the Fixed Point to Floating Point Converter calculator and its working principles

How to Use the Calculator

  1. Enter the number of bits used for the integer part in the "Integer Bits" field.
  2. Enter the number of bits used for the fractional part in the "Fraction Bits" field.
  3. Enter the fixed point value you want to convert in the "Fixed Point Value" field.
  4. Click the "Calculate" button to convert the fixed point number to its floating point equivalent.
  5. The floating point result will be displayed in the "Floating Point Value" field.

Working Principle

Fixed point numbers represent real numbers using integer arithmetic by implicitly defining a fixed number of bits for the fractional part. The conversion to floating point involves interpreting the fixed point number as a fraction and then converting it to the standard floating point representation.

For example, if you have a fixed point number with 3 integer bits and 5 fraction bits, and the fixed point value is 25.1875, the floating point equivalent would be calculated as: (25.1875 / (2^5)) = 25.1875 / 32 = 0.7875.

Example

Suppose you have a fixed point representation with 2 integer bits and 4 fraction bits, and the fixed point value is 10.75. To convert this to floating point:

  • Integer bits = 2
  • Fraction bits = 4
  • Fixed point value = 10.75
  • Floating point value = 10.75 / (2^4) = 10.75 / 16 = 0.671875