Skip to main content

Binary Math Calculator

Integer binary math and bitwise ops. Output in decimal, binary, hex, and octal. Stays in this tab.

Rated 4.7 out of 5 based on 340 reviews

Results

How to use Binary Math Calculator

  1. Choose input base first so the fields that apply to that job appear.
  2. Enter operand a, operand b. Leave a field blank only when the page says the value is missing.
  3. Read the result rows under the form. Errors appear in the status line. Nothing is uploaded.
  4. Rounding follows IEEE floating point in this browser unless the page says it uses integers or BigInt.

Binary Math Calculator

Add/sub/mul

ComputesInteger binary math and bitwise ops. Output in decimal, binary, hex, and octal. Stays in this tab.
IncludesAdd/sub/mul
IncludesBitwise
IncludesFour bases out
EnginenumberBase
UploadNone
AdviceArithmetic only

What Binary Math Calculator is

Add, subtract, and multiply use BigInt. AND/OR/XOR/NOT are bitwise. NOT masks to at least 8 bits, or the bit length of A if longer. Shifts take a count 0–256 in B.

The formula runs in this tab. CZNull does not receive the numbers.

How this page computes

Base conversion without arithmetic is the number base converter. This page is the calculator.

Entities and related jobs

Integer binary math and bitwise ops. Output in decimal, binary, hex, and octal. Stays in this tab. Named features: Add/sub/mul, Bitwise, Four bases out.

See also Number Base Converter, Order of Operations Calculator, Scientific Calculator, Percentage Calculator, Fraction Calculator, GCD Calculator.

Use cases

Masks, flags, and CS homework. Not a floating-point ALU and not two's-complement display beyond BigInt signs.

Limits

Invalid input appears in the status line. IEEE floating point applies unless a row says otherwise. CZNull does not receive the numbers.

Binary Math Calculator questions

Does this page upload my numbers?
No. The formula runs in the page you opened. CZNull does not receive the values.
What does Binary Math Calculator compute?
Add, subtract, and multiply use BigInt.
Why is this its own URL?
Search queries name this job. Nearby modes stay on their own pages so inputs do not mix. Related calculators are linked below Binary Math Calculator.
1010 + 0110?
10000 binary, 16 decimal.
Is this the base converter?
No. That converter does not add or AND.
Can I treat the result as official?
No. Rounding and real-world rules can differ. Use the page to check the arithmetic.