Two's Complement Converter
See how a computer stores negative numbers and decimals. Enter a value in decimal, binary or hex, and flip bits to watch the number change. Switch to IEEE 754 to see sign, exponent and fraction, and the exact value that gets stored.
What you can do
- 8, 16 and 32-bit two's complement, with the flip and add one working
- Every bit can be flipped by tapping it
- IEEE 754 single precision split into sign, exponent and fraction
- The exact stored value, so you can see why 0.1 is not quite 0.1
- Zero, subnormals, infinity and NaN all handled