Computer Science Online Calculators

Professional online calculators for bits, number systems and binary operations

Number System Converters

Decimal, Hex, Bin, Octal Converter
Convert between decimal, hexadecimal, binary and octal number systems

Bit Operations

Bit Shift Operations
Shift bits left or right - left shift and right shift operations
Set Bit
Set a specific bit in a binary number to 1
Clear Bit
Clear a specific bit in a binary number (set to 0)

Bitwise Logical Operations

&
Bitwise AND Operation (&)
AND operation on the bits of two integers
|
Bitwise OR Operation (|)
OR operation on the bits of two integers
^
Bitwise XOR Operation (^)
Exclusive OR operation on the bits of two integers

About Computer Science Calculators

These calculators are essential for computer science and programming. They help in understanding and calculating:

  • Number Systems - Base conversions
  • Bit Manipulation - Set, clear, shift
  • Logical Operations - AND, OR, XOR
  • Hardware Programming - Register manipulation
  • Algorithms - Bitwise optimizations
  • Cryptography - Bit operations
Important Operations
Number System Conversion
42₁₀ = 101010₂ = 2A₁₆
Base conversion between systems
Bit Shifting
n << k = n × 2^k
Fast multiplication/division
AND Operation (&)
1010 & 1100 = 1000
Bit masking and filtering
OR Operation (|)
1010 | 0101 = 1111
Set bits and combine
Tip: Bitwise operations are fundamental for low-level programming and performance optimization in software development.
Quick Reference
42₁₀ = 2A₁₆
Conversion
n << 2
Shift
A & B
AND
A | B
OR
A ^ B
XOR
Binary Basics
Dec
Bin
Hex

0
0000
0
8
1000
8
15
1111
F
255
11111111
FF
Related Calculator Categories