Binary Calculator

Perform addition, subtraction, multiplication, or division on two non-negative integers and see the result rendered in any of four numeral systems — binary (base 2), decimal (base 10), hexadecimal (base 16) or octal (base 8). Type the two values as plain decimal numbers; the calculator treats them as if they were written in the chosen system and shows the answer in that same system. For example, with Numeral system = Binary, enter A = 204 and B = 170 to compute 11001100 + 10101010 = 101101110.

Your Result

-
ResultWhat it means?
ResultThe operation produced a finite numeric result in the chosen numeral system.
No resultInputs are out of range, negative, or otherwise invalid for the chosen numeral system.
Division by zeroDividing any number by zero is undefined — enter a non-zero divisor.
Non-integer resultIn binary, hexadecimal and octal there are no fractional places — the result is only shown when it is an exact integer.

How it works

=

Pick an operation and a numeral system, then enter the two values as decimal numbers that you want to see rendered in that base. The calculator performs A (op) B and shows the answer both in your chosen system and in decimal.