Number and bit inspector
You need to see a register value in hex, binary and signed form, or pull apart an IEEE-754 float bit by bit. Bit-level view of any 8, 16, 32 or 64-bit value with bases, two's complement, IEEE-754 field breakdown, click-to-toggle bits and endian swap.
Open the calculator in EM·LINKBelow is a worked example. The working calculator runs free in EM·LINK.
Worked example
Example inputs
Example result
Sign 1, exponent 128 (2¹), significand 1.5707964.
| View | Value |
|---|---|
| Hex | 0xC0490FDB |
| Unsigned | 3226013659 |
| Signed | −1068953637 |
| Sign / exponent / fraction | 1 / 128 / 0x490FDB |
| Byte swapped | DB 0F 49 C0 |
| Swapped as float | −4.033 × 10¹⁶ |
1100 0000 0100 1001 0000 1111 1101 1011
In EM·LINK you can click any bit to toggle it.
Conversion runs in your browser. Nothing is sent to us.
The working calculator is Number & Bit Inspector in EM·LINK, our free browser tool. The button opens it directly.
How to read the result
Toggle a bit and watch hex, decimal, signed and float values update together.
Endian swap shows what the value looks like when it crosses a bus with the other byte order.
How this is calculated
The bits are read once and shown every way at once. For floats, the sign, exponent and fraction fields are split out and combined as below.
The full derivation, step by step, is in the EM·LINK documentation.
Calculated per IEEE 754. These tools are an engineering aid, not a certification.
Next step
Shipping hundreds of units? Get OTA updates and remote config without building it yourself.
Common questions
How do I decode a hex value as a float?
Paste the hex and read the IEEE-754 breakdown of sign, exponent and mantissa.
How do I read a two's complement value?
If the top bit is set, subtract 2^N from the unsigned value.
Does it support 64-bit doubles?
Yes.
Related tools
- Fixed-point Q format converter, when the value is fixed point rather than float.
- C struct layout and padding, to see where the value sits inside a record.
- Intel HEX and S-Record inspector, to find the bytes in a firmware image.