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
How to use Binary Math Calculator
- Choose input base first so the fields that apply to that job appear.
- Enter operand a, operand b. Leave a field blank only when the page says the value is missing.
- Read the result rows under the form. Errors appear in the status line. Nothing is uploaded.
- Rounding follows IEEE floating point in this browser unless the page says it uses integers or BigInt.
Binary Math Calculator
Add/sub/mul
| Computes | Integer binary math and bitwise ops. Output in decimal, binary, hex, and octal. Stays in this tab. |
|---|---|
| Includes | Add/sub/mul |
| Includes | Bitwise |
| Includes | Four bases out |
| Engine | numberBase |
| Upload | None |
| Advice | Arithmetic 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.