Calculator-Online.net

Calculator Online

Calculator-Online.net

Calculator Online

Follow Us On:

Your Result is copied!

Two's Complement Calculator

Enter any logical number (binary, decimal, or hexadecimal), select the number of binary digits, and hit the calculate button to find the two's complement with detailed steps.

Advertisement
Simple
Advance

Decimal Number Range-128 to 127

Hex Number Range8 Digits (without leading zeros)

Binary Number Range0-9 and A-F (16-Digits)

Advertisement

Two's Complement Calculator

This free two’s complement calculator allows you to calculate 2’s complement of the given decimal, binary or hexadecimal number. No doubt, number conversion is complicated to express but the 2s complement calculator changes the entered number into one's complement, two’s complement, signed binary to decimal, and hexadecimal.

What Is Two's Complement?

There is a simple mathematical operation on different binary numbers and used in computing as the method of signed number representation. To get 2’s complement of a binary system, just transpose the certain number and add one to the LSB (Least Significant Bit) of given results.

Example: Convert decimal 20 to 2's complement (8-bit):

  • Decimal 20 → Binary: 00010100
  • One's complement: 11101011
  • Add 1 → Two's complement: 11101100

How the Two's Complement Calculator Works?

The 2’s complement calculator works as follows to find the 2s complement to decimal of entered values, add, or subtract them.

Input:

  • First of all, you need to select the option either you want to find twos complement to decimal with decimal, binary or hexadecimal number form.
  • Once selected, you have to add the values into the given fields.
  • Select any number of binary digits from the drop-down menu according to your need.
  • Once done, hit the "CALCULATE" button.

Output:

  • Two complements of a given number.
  • Also shows the results in binary, decimal, hexadecimal, and 1’s complement.

For Two’s Complement Addition/Subtraction:

Input:

  • Write down the first two’s complement binary number
  • Repeat the same for second number
  • Select the operation from the middle
  • Tap the "CALCULATE" button

Output:

  • Addition of Two’s complement binary numbers
  • Subtraction of Two’s complement binary numbers

Reference

Wikipedia: Two's complement representation. Calculation proceeds from the least significant bit (LSB) to the most significant bit (MSB).

animal image
sales modal popup close

Easter into Action, Save With Satisfaction

UPTO

50 %

OFF

Online Calculator

Calculator Online

Get the ease of calculating anything from the source of calculator online

Email us at

Contact Us

© Copyrights 2026 by Calculator-Online.net