Hex Calculator

Perform hexadecimal arithmetic and bitwise operations. Convert between hexadecimal, decimal, binary, and octal number systems.

Results

Hexadecimal Result:
BE
Decimal Result:
190
Binary Result:
10111110
Octal Result:
276

About the Hex Calculator

The hexadecimal number system (base 16) is commonly used in computing and digital systems because it provides a more human-friendly representation of binary-coded values. This calculator allows you to perform arithmetic operations (addition, subtraction, multiplication, division) and bitwise operations (AND, OR, XOR, shift left, shift right) on hexadecimal values.

How to Use the Hex Calculator

  1. Enter two hexadecimal values in the input fields (0-9, A-F)
  2. Select the operation you want to perform
  3. Click "Calculate" to see the results in hexadecimal, decimal, binary, and octal formats

Hexadecimal Number System

Hexadecimal (or "hex") is a base-16 number system that uses sixteen distinct symbols: 0-9 to represent values zero to nine, and A-F to represent values ten to fifteen. Each hexadecimal digit represents four binary digits (bits), making it a convenient way to express binary numbers in a more compact form.

Bitwise Operations

Bitwise operations work directly on the binary representations of numbers: