⇩ COMPLEMENT CALCULATORS ⇩

2'S COMPLEMENT CALCULATOR (ALTERNATIVE METHOD)

Enter a binary number.

RESULT

The 2's complement of 1010 is 0110.

DESCRIPTIONS

ðŸ”¹ Keep the least significant 0's and the first 1 unchanged.

ðŸ”¹ Replace the remaining 0's with 1's and 1's with 0's.

OTHER INFORMATION

👉 Assuming the most significant bit is the sign bit, the decimal equivalents of the entered number and its complement are as following.

• (1010)2 = (-6)10
• (0110)2 = (6)10
Copied to clipboard
Copy Text

⇩ COMPLEMENT CALCULATORS ⇩

INFORMATION

2'S COMPLEMENT OF A BINARY NUMBER

We can find the 2's complement of a number in two steps. We

• keep the least significant 0's and the first 1 unchanged and
• replace the remaining 0's with 1's and 1's with 0's.

To learn a different method for the 2's complement calculation, you can use the calculator below.

WHAT IS 2'S COMPLEMENT CALCULATOR (ALTERNATIVE METHOD)?

2's complement calculator,

• Computes the twos complement of an entered binary number,
• Graphically illustrates the calculation,
• Finds the decimal representaiton of the entered number and it complement and
• Describes the solution step by step.

HOW TO USE 2'S COMPLEMENT CALCULATOR (ALTERNATIVE METHOD)?

You can use 2's complement calculator in two ways.

• USER INPUTS

You can enter a binary number to the input box and click on the "CALCULATE" button. The result and explanations appaer below the calculator

• RANDOM INPUTS

You can click on the DIE ICON next to the input box. If you use this property, a random binary number is generated and entered to the calculator, automatically. You can see the result and explanations below the calculator. You can create your own examples and practice using this property.

• CLEARING THE INPUT BOX

To check the 2's complement of another binary number you can clear the input box by clicking on the CLEAR button under the input box.

• You can copy the generated solution by clicking on the "Copy Text" link, appaers under the solution panel.