2's Complement Calculator

Input
Results

Enter a number

Results will appear here instantly

About 2's Complement

Two's complement is the standard method for representing signed integers in computer systems.

How it works:

  • • Positive numbers: Standard binary format
  • • Negative numbers: Flip all bits, then add 1
  • • Range: For n bits, from -2^(n-1) to 2^(n-1) - 1

Why use it?

  • • Same circuitry for addition and subtraction
  • • Only one representation for zero
  • • Standard in all modern computers