To calculate result you have to disable your ad blocker first.
Two's (2's) Complement Calculator
Select the type of value and bit representation. Enter the decimal or binary value and hit the Calculate button to get the two’s complement using 2s complement calculator.
2s Complement Calculator
Two's complement calculator is an online tool that finds the two’s (2's) complement of the given decimal or binary number. It can convert the number using 4, 8, 12, 16, & any bit representations.
Two's (2's) complement converter also converts the given binary number into decimal and decimal to binary.
What is two’s complement?
Two's complement is a technique of storing integers so that common math problems become very simple to implement. It is a mathematical operation on binary numbers and is used in computing.
How to find two’s complement?
To calculate 2’s complement without using a calculator, follow the example given below.
Example:
Find the 2s complement of (50)10.
Solution:
Step 1: Convert the given decimal number to binary.
(50)10 = (00110010)2
Step 2: Take one’s complement of the binary number by converting each 0 to 1 and 1 to 0.
(00110010)2 = 11001101
Step 3: Add 1 to the one’s complement.
Two’s complement of (50)10 = 11001110
Two's complement Table
2's complement of -15 | 00001111 |
2s complement of 15 | 11110001 |
2's complement of -7 | 0000111 |
2s complement of -15 | 00001111 |
2s complement of -7 | 0000111 |
2's complement of -17 | 00010001 |
2s complement of -17 | 00010001 |
2's complement of -45 | 00101101 |
2's complement of -19 | 00010011 |
Two’s complement of decimal number - 50 is | 00110010 |
2's complement of -13 | 00001101 |
-13 in 2's complement is | 00001101 |
2's complement of 4 | 11111100 |
Two's complement of -44 | 00101100 |
2s complement of 8 | 11111000 |
2s complement of 6 | 11111010 |
2s complement of 12 | 11110100 |
What is the 2's complement of 22? | 11101010 |
What is the 2's complement of 5? | 11111011 |
What is the 2s complement of 10? | 1111010 |
What is the 2s complement of 12? | 11110100 |
The 2's complement of 1000 is | 110000011000 (12-bit) |
2's complement of 1010111 | 10101001 |
2's complement of 1010101 | 10101011 |
What is the 2's complement of 101101? | 11010011 |
Decimal | Two’s Complement | Decimal | Two’s Complement |
1 | 1111 1111 | -1 | 0000 0001 |
2 | 1111 1110 | -2 | 0000 0010 |
3 | 1111 1101 | -3 | 0000 0011 |
4 | 1111 1100 | -4 | 0000 0100 |
5 | 1111 1011 | -5 | 0000 0101 |
6 | 1111 1010 | -6 | 0000 0110 |
7 | 1111 1001 | -7 | 0000 0111 |
8 | 1111 1000 | -8 | 0000 1000 |
9 | 1111 0111 | -9 | 0000 1001 |
10 | 1111 0110 | -10 | 0000 1010 |
11 | 1111 0101 | -11 | 0000 1011 |
12 | 1111 0100 | -12 | 0000 1100 |
13 | 1111 0011 | -13 | 0000 1101 |
14 | 1111 0010 | -14 | 0000 1110 |
15 | 1111 0001 | -15 | 0000 1111 |
16 | 1111 0000 | -16 | 0001 0000 |
17 | 1110 1111 | -17 | 0001 0001 |
18 | 1110 1110 | -18 | 0001 0010 |
19 | 1110 1101 | -19 | 0001 0011 |
20 | 1110 1100 | -20 | 0001 0100 |
21 | 1110 1011 | -21 | 0001 0101 |
22 | 1110 1010 | -22 | 0001 0110 |
23 | 1110 1001 | -23 | 0001 0111 |
24 | 1110 1000 | -24 | 0001 1000 |
25 | 1110 0111 | -25 | 0001 1001 |
26 | 1110 0110 | -26 | 0001 1010 |
27 | 1110 0101 | -27 | 0001 1011 |
28 | 1110 0100 | -28 | 0001 1100 |
29 | 1110 0011 | -29 | 0001 1101 |
30 | 1110 0010 | -30 | 0001 1110 |
31 | 1110 0001 | -31 | 0001 1111 |
32 | 1110 0000 | -32 | 0010 0000 |
33 | 1101 1111 | -33 | 0010 0001 |
34 | 1101 1110 | -34 | 0010 0010 |
35 | 1101 1101 | -35 | 0010 0011 |
36 | 1101 1100 | -36 | 0010 0100 |
37 | 1101 1011 | -37 | 0010 0101 |
38 | 1101 1010 | -38 | 0010 0110 |
39 | 1101 1001 | -39 | 0010 0111 |
40 | 1101 1000 | -40 | 0010 1000 |
41 | 1101 0111 | -41 | 0010 1001 |
42 | 1101 0110 | -42 | 0010 1010 |
43 | 1101 0101 | -43 | 0010 1011 |
44 | 1101 0100 | -44 | 0010 1100 |
45 | 1101 0011 | -45 | 0010 1101 |
46 | 1101 0010 | -46 | 0010 1110 |
47 | 1101 0001 | -47 | 0010 1111 |
48 | 1101 0000 | -48 | 0011 0000 |
49 | 1100 1111 | -49 | 0011 0001 |
50 | 1100 1110 | -50 | 0011 0010 |
51 | 1100 1101 | -51 | 0011 0011 |
52 | 1100 1100 | -52 | 0011 0100 |
53 | 1100 1011 | -53 | 0011 0101 |
54 | 1100 1010 | -54 | 0011 0110 |
55 | 1100 1001 | -55 | 0011 0111 |
56 | 1100 1000 | -56 | 0011 1000 |
57 | 1100 0111 | -57 | 0011 1001 |
58 | 1100 0110 | -58 | 0011 1010 |
59 | 1100 0101 | -59 | 0011 1011 |
60 | 1100 0100 | -60 | 0011 1100 |
61 | 1100 0011 | -61 | 0011 1101 |
62 | 1100 0010 | -62 | 0011 1110 |
63 | 1100 0001 | -63 | 0011 1111 |
64 | 1100 0000 | -64 | 0100 0000 |
65 | 1011 1111 | -65 | 0100 0001 |
66 | 1011 1110 | -66 | 0100 0010 |
67 | 1011 1101 | -67 | 0100 0011 |
68 | 1011 1100 | -68 | 0100 0100 |
69 | 1011 1011 | -69 | 0100 0101 |
70 | 1011 1010 | -70 | 0100 0110 |
71 | 1011 1001 | -71 | 0100 0111 |
72 | 1011 1000 | -72 | 0100 1000 |
73 | 1011 0111 | -73 | 0100 1001 |
74 | 1011 0110 | -74 | 0100 1010 |
75 | 1011 0101 | -75 | 0100 1011 |
76 | 1011 0100 | -76 | 0100 1100 |
77 | 1011 0011 | -77 | 0100 1101 |
78 | 1011 0010 | -78 | 0100 1110 |
79 | 1011 0001 | -79 | 0100 1111 |
80 | 1011 0000 | -80 | 0101 0000 |
81 | 1010 1111 | -81 | 0101 0001 |
82 | 1010 1110 | -82 | 0101 0010 |
83 | 1010 1101 | -83 | 0101 0011 |
84 | 1010 1100 | -84 | 0101 0100 |
85 | 1010 1011 | -85 | 0101 0101 |
86 | 1010 1010 | -86 | 0101 0110 |
87 | 1010 1001 | -87 | 0101 0111 |
88 | 1010 1000 | -88 | 0101 1000 |
89 | 1010 0111 | -89 | 0101 1001 |
90 | 1010 0110 | -90 | 0101 1010 |
91 | 1010 0101 | -91 | 0101 1011 |
92 | 1010 0100 | -92 | 0101 1100 |
93 | 1010 0011 | -93 | 0101 1101 |
94 | 1010 00100 | -94 | 0101 1110 |
95 | 1010 0001 | -95 | 0101 1111 |
96 | 1010 0000 | -96 | 0110 0000 |
97 | 1001 1111 | -97 | 0110 0001 |
98 | 1001 1110 | -98 | 0110 0010 |
99 | 1001 1101 | -99 | 0110 0011 |
100 | 1001 1100 | -100 | 0110 0100 |
101 | 1001 1011 | -101 | 0110 0101 |
102 | 1001 1010 | -102 | 0110 0110 |
103 | 1001 1001 | -103 | 0110 0111 |
104 | 1001 1000 | -104 | 0110 1000 |
105 | 1001 0111 | -105 | 0110 1001 |
106 | 1001 0110 | -106 | 0110 1010 |
107 | 1001 0101 | -107 | 0110 1011 |
108 | 1001 0100 | -108 | 0110 1100 |
109 | 1001 0011 | -109 | 0110 1101 |
110 | 1001 0010 | -110 | 0110 1110 |
111 | 1001 0001 | -111 | 0110 1111 |
112 | 1001 0000 | -112 | 0111 0000 |
113 | 1000 1111 | -113 | 0111 0001 |
114 | 1000 1110 | -114 | 0111 0010 |
115 | 1000 1101 | -115 | 0111 0011 |
116 | 1000 1100 | -116 | 0111 0100 |
117 | 1000 1011 | -117 | 0111 0101 |
118 | 1000 1010 | -118 | 0111 0110 |
119 | 1000 1001 | -119 | 0111 0111 |
120 | 1000 1000 | -120 | 0111 1000 |
121 | 1000 0111 | -121 | 0111 1001 |
122 | 1000 0110 | -122 | 0111 1010 |
123 | 1000 0101 | -123 | 0111 1011 |
124 | 1000 0100 | -124 | 0111 1100 |
125 | 1000 0011 | -125 | 0111 1101 |
126 | 1000 0010 | -126 | 0111 1110 |
127 | 1000 0001 | -127 | 0111 1111 |
-128 | 1000 0000 |