🔢 Math Calculator
Binary Calculator
Add, subtract, multiply binary numbers and convert between binary, decimal, hexadecimal, and octal — with full step-by-step solutions.
BINARY RESULT—
DECIMAL RESULT—
INPUT A (decimal)—
INPUT B (decimal)—
Only 0s and 1s allowed
DECIMAL—
HEXADECIMAL—
OCTAL—
BIT LENGTH—
Enter any positive integer
BINARY—
HEXADECIMAL—
OCTAL—
BIT LENGTH—
BINARY (Base 2)—
DECIMAL (Base 10)—
HEXADECIMAL (Base 16)—
OCTAL (Base 8)—
📖 How to Use the Binary Calculator
1
Arithmetic tab — enter two binary numbers and choose +, −, ×, AND, OR, or XOR to perform the operation.
2
Binary → Dec tab — enter a binary string (0s and 1s) to convert to decimal, hex, and octal.
3
Dec → Binary tab — enter any decimal integer to convert to binary, hex, and octal with step-by-step division method.
4
All Bases tab — select input base (decimal, binary, hex, or octal) and convert to all other number systems instantly.
5
Copy results with one tap per format, or Reset to clear all fields.
⚡ Why Use Our Binary Calculator?
01
4 Modes
Arithmetic, Binary↔Decimal, and full multi-base converter.
🔢
Logic Gates
AND, OR, and XOR bitwise operations supported.
📋
Step-by-Step
Division method shown clearly for conversion steps.
📱
Mobile-Friendly
Works perfectly on all phones, tablets, and desktops.
⚡
Real-Time
Results update instantly as you type.
🆓
100% Free
No sign-up — completely free forever.
❓ Frequently Asked Questions
Repeatedly divide the decimal number by 2 and record the remainder (0 or 1). Read the remainders from bottom to top. Example: 13 → 13÷2=6 R1, 6÷2=3 R0, 3÷2=1 R1, 1÷2=0 R1 → Binary = 1101.
Binary addition rules: 0+0=0, 0+1=1, 1+0=1, 1+1=10 (0 carry 1), 1+1+1=11 (1 carry 1). Add column by column from right to left, carrying over as needed. Our Arithmetic tab shows the full working.
These are bitwise logical operations. AND: output is 1 only if both bits are 1. OR: output is 1 if either bit is 1. XOR (exclusive OR): output is 1 if bits are different. They are fundamental in computer science and digital circuits.
🔗 Related Math Calculators
© 2025 MathTools · Privacy Policy · Terms · Contact