Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Same situation
Logic Gate Simulator
More tools
Binary to Gray Code ConverterHEX CalculatorOctal CalculatorBitwise Calculator
Home Page > Math > Number System Converters

Binary Calculator

MiniWebtool’s Binary Calculator handles binary arithmetic (add, subtract, multiply, divide) and bitwise operations (AND, OR, XOR, NOT, shifts), with interactive step-by-step solutions and results in binary, decimal, and hexadecimal.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Binary CalculatorTry it now — free ▼
Binary addition is column addition: 1 + 1 = 10, write 0, carry 1

Enter two binary numbers and pick an operation below to get the answer in binary, decimal and hex, with the steps.

01
Binary Calculator Enter binary numbers using only 0s and 1s
0b
0b
Arithmetic
Bitwise

Embed Binary Calculator Widget

About Binary Calculator

Welcome to the Binary Calculator, a comprehensive free online tool for performing binary arithmetic and bitwise operations. Whether you are a student learning computer science, a programmer debugging low-level code, or an electronics enthusiast working with digital systems, this calculator provides detailed step-by-step solutions with results displayed in multiple number bases.

At a Glance

Binary Calculator performs arithmetic and bitwise operations on binary numbers. Results appear in binary, decimal and hexadecimal, with a step-by-step solution and bitwise diagrams.

Binary Calculator: features at a glance
FeatureWhat you getGood for
ArithmeticAdd, subtract, multiply and divide binary numbers, or take the modulo to get the remainder.Checking binary homework and hand calculations
Bitwise logicApply AND, OR, XOR and NOT. NOT needs only the first number.Working with bit masks and toggles in low-level code
Bit shiftsLeft shift and right shift move the bits by the number of positions you enter as the second number.Seeing how shifts multiply or divide by powers of 2
Three basesEvery result is shown in binary, decimal and hexadecimal.Checking a result in the base you need
Worked stepsA step-by-step breakdown and interactive bitwise diagrams show how the answer was reached.Students learning binary arithmetic
Example buttonsQuick example buttons load common calculations, and the operation can be chosen from buttons or a dropdown.Trying an operation before entering your own numbers

What is Binary?

Binary is a base-2 numeral system that uses only two digits: 0 and 1. Each digit in a binary number is called a bit (binary digit). Binary is the foundation of all modern computing because electronic circuits can easily represent two states: on (1) and off (0).

Binary Calculator: What is Binary?
BinaryDecimal
00
11
102
113
1004
1015
1106
1117
10008

Understanding Binary Place Values

Each position in a binary number represents a power of 2, starting from 20 (which equals 1) on the right:

11012 = 1×23 + 1×22 + 0×21 + 1×20 = 8 + 4 + 0 + 1 = 1310

Binary Arithmetic Operations

Binary Addition

Binary addition follows these simple rules:

Binary Subtraction

Binary subtraction uses borrowing when needed:

Binary Multiplication

Binary multiplication is simpler than decimal because you only multiply by 0 or 1:

Binary Division

Binary division works like long division in decimal but uses binary subtraction. This calculator handles both integer division and fractional results.

Bitwise Operations

AND Operation (&)

Returns 1 only when both corresponding bits are 1. Used for masking specific bits.

1010 AND 1100 = 1000

OR Operation (|)

Returns 1 when either corresponding bit is 1. Used for setting specific bits.

1010 OR 1100 = 1110

XOR Operation (^)

Returns 1 when corresponding bits are different. Used for toggling bits and simple encryption.

1010 XOR 1100 = 0110

NOT Operation (~)

Flips all bits: 0 becomes 1, and 1 becomes 0.

NOT 1010 = 0101

Left Shift (<<) and Right Shift (>>)

Shifts move all bits left or right by the specified number of positions:

How to Use This Calculator

  1. Enter first binary number: Type your first binary number using only 0s and 1s. You can use the quick example buttons to try common calculations.
  2. Select operation: Choose your operation: arithmetic (+, -, *, /, %) or bitwise (AND, OR, XOR, NOT, <<, >>). Click operation buttons or use the dropdown.
  3. Enter second binary number: Input your second binary number. For NOT operation, only the first number is needed. For shifts, this is the number of positions to shift.
  4. View results: Click Calculate to see results in binary, decimal, and hexadecimal formats with step-by-step solution breakdown and interactive diagrams.

Frequently Asked Questions

What is binary and how does it work?

Binary is a base-2 numeral system that uses only two digits: 0 and 1. Each digit represents a power of 2, from right to left. For example, 1010 in binary equals 1×8 + 0×4 + 1×2 + 0×1 = 10 in decimal. Computers use binary because electronic circuits can easily represent two states: on (1) and off (0).

How do you add binary numbers?

Binary addition follows simple rules: 0+0=0, 0+1=1, 1+0=1, and 1+1=10 (write 0, carry 1). Add column by column from right to left, carrying when the sum is 2 or more. For example, 1011 + 1101: starting from right, 1+1=10 (write 0, carry 1), 1+0+1=10 (write 0, carry 1), 0+1+1=10 (write 0, carry 1), 1+1+1=11 (write 1, carry 1). Result: 11000.

What are bitwise operations in binary?

Bitwise operations manipulate individual bits in binary numbers. AND (&) returns 1 only if both bits are 1. OR (|) returns 1 if either bit is 1. XOR (^) returns 1 if bits are different. NOT (~) flips all bits. Left shift (<<) moves bits left, multiplying by 2. Right shift (>>) moves bits right, dividing by 2. These are essential for low-level programming and optimization.

How do you multiply binary numbers?

Binary multiplication works like decimal multiplication but simpler: 0×0=0, 0×1=0, 1×0=0, 1×1=1. Multiply the multiplicand by each bit of the multiplier, shift left for each position, then add all partial products. For example, 101 × 11: 101×1=101, 101×1 shifted left = 1010, then add: 101 + 1010 = 1111 (15 in decimal, which is 5×3).

What is the difference between signed and unsigned binary?

Unsigned binary represents only positive numbers (0 and above). Signed binary uses the leftmost bit as a sign bit: 0 for positive, 1 for negative. The most common signed representation is two's complement, where negative numbers are represented by inverting all bits and adding 1. This calculator supports both positive and negative binary numbers for arithmetic operations.

Related Resources

Reference this content, page, or tool as:

"Binary Calculator" at https://MiniWebtool.com/binary-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 10, 2026

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Number System Converters:

Math SolverWhat would you like to solve?

Math Solver

Try
Browse expression examples

Choose an example to fill the input, edit its numbers, then Solve. log uses base 10; use ln for the natural logarithm.

Numbers & factors

Fractions & division

Powers, roots & logs

Algebra & equations

Calculus

Geometry & trigonometry

Top & Updated:

Binary ConverterBinary to Octal ConverterBinary to Decimal ConverterView all →
Home Page > Math > Number System Converters > Binary Calculator