Home > College Algebra calculators > 2's Complement Subtraction example

7's Complement Subtraction example ( Enter your problem )
  1. Example 402 - 314
  2. Example 342 - 614
  3. Example 465 - 371
  4. Example 1256 - 2702
  5. Example 31421 - 7253
Other related methods
  1. 1's Complement Subtraction
  2. 2's Complement Subtraction
  3. 7's Complement Subtraction
  4. 8's Complement Subtraction
  5. 9's Complement Subtraction
  6. 10's Complement Subtraction
  7. 15's Complement Subtraction
  8. 16's Complement Subtraction

  1. 1's Complement
  2. 2's Complement
  3. 7's Complement
  4. 8's Complement
  5. 9's Complement
  6. 10's Complement
  7. 15's Complement
  8. 16's Complement

2. 2's Complement Subtraction
(Previous method)
2. Example 342 - 614
(Next example)

1. Example 402 - 314





Method : 7's complement subtraction steps :
1. At first, find 7's complement of the B(subtrahend).
2. Then add it to the A(minuend).
3. If the final carry over of the sum is 1, then it is dropped and 1 is added to the result.
4. If there is no carry over, then 7's complement of the sum is the final result and it is negative.


1. Find Subtraction of 402 and 314 using 7's complement

Solution:
7's complement subtraction steps :
1. At first, find 7's complement of the B(subtrahend).
2. Then add it to the A(minuend).
3. If the final carry over of the sum is 1, then it is dropped and 1 is added to the result.
4. If there is no carry over, then 7's complement of the sum is the final result and it is negative.

Here A = 402, B = 314.
Find A - B = ? using 7's complement
First find 7's complement of B = 314

Note : 7's complement of a number is obtained by subtracting all bits from 777

Step-1: 7's complement of 314 is obtained by subtracting each digit from 777
777
-314

463



Step-2: Now Add this 463 to 402

402
+463

1065


Step by step solution of 402 + 463 = 1065

Write the numbers, so that each digit lines up vertically

402
+463


Step-1 :
`=2_8+3_8`
`=2_10+3_10`
`=5_10`
`=5_8`
Write the 5 in the sum place

402
+463

5

Step-2 :
`=0_8+6_8`
`=0_10+6_10`
`=6_10`
`=6_8`
Write the 6 in the sum place

402
+463

65

Step-3 :
`=4_8+4_8`
`=4_10+4_10`
`=8_10`
`=8xx1+0`
`=10_8`
Write the 10 in the sum place

402
+463

1065



The left most bit (1) of the result (1065) is called carry and add it to the rest part of the result (065)
065
+ 1

066



So answer is 066




This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



2. 2's Complement Subtraction
(Previous method)
2. Example 342 - 614
(Next example)






Share this solution or page with your friends.
 
 
Copyright © 2025. All rights reserved. Terms, Privacy
 
 

.