Report

Help us improve this tool

Fixed Point Converter

Convert between decimal, Q format fixed-point, and raw integer bit patterns with configurable width.

O M T

Fixed-point binary representations

Convert decimals to scaled integers for embedded Q formats, or decode hex, binary, and decimal integers back to real values. Configure total bit width and fractional bits to match your firmware layout.

Related: Hex Text, Binary Calculator.

Frequently Asked Questions

What does Qm.n mean?

With total bits m+n and n fractional bits, the value is the signed integer divided by $2^n$.

Why might conversion fail?

The scaled integer must fit in the signed bit width you selected.

Can I paste hex literals?

Yes. Prefix with 0x or enter binary strings of 0 and 1.