binary addition, subtraction, multiplication and division calculator

binary number a:
binary number b:
binary
addition:=
subtraction:=
multiplication:=
division:=

binary multiplication and addition are both implemented by shifting binary numbers. the shift is equivalent to ×2. the computer calculates how many bits to shift based on the given addition formula and multiplication formula.