toolery

Two’s complement calculator

Convert a binary number to its two’s complement, with every step of the inversion and addition shown.

Two’s complement
Signed value

How it works

1 Start with the original bits:
2 Invert every bit:
3 Add 1 to the result:
Used this in a paper or lesson?