Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Hex Calculator

Perform arithmetic operations on hexadecimal (base 16) numbers. Add, subtract, multiply, divide hex values with results in multiple formats.

The Hex Calculator performs arithmetic operations on hexadecimal (base 16) numbers. Hexadecimal uses digits 0-9 and letters A-F, and is widely used in programming for colors, memory addresses, and data representation.

  1. Enter the first hexadecimal number (using 0-9 and A-F)
  2. Select an arithmetic operator: +, −, ×, ÷, or %
  3. Enter the second hexadecimal number
  4. Click Calculate or press Enter to see results in all number bases
  • Full arithmetic operations: addition, subtraction, multiplication, division, modulo
  • Results displayed in binary, octal, decimal, and hexadecimal
  • Support for large numbers using BigInt
  • Case-insensitive input (both 'a' and 'A' are valid)
  • Quick examples for common hex calculations
What is hexadecimal?
Hexadecimal is a base-16 number system using 0-9 for values 0-9 and A-F for values 10-15. Each hex digit represents 4 binary bits. For example, FF equals 255 in decimal.
Why is hex used in programming?
Hex provides a compact way to represent binary data. One byte (8 bits) can be written as exactly 2 hex digits. It's used for colors (#RRGGBB), memory addresses, and debugging.
How do I convert hex to decimal?
Multiply each digit by its place value (powers of 16) and sum. For example: A5₁₆ = 10×16¹ + 5×16⁰ = 160 + 5 = 165₁₀.
0x
0x
BIN
OCT
DEC
HEX
Enter values to calculate
Try examples
Operator Name Example
+ Addition 1010 + 0101 = 1111
Subtraction 1010 − 0011 = 0111
× Multiplication 1010 × 0010 = 10100
÷ Division 1010 ÷ 0010 = 0101
% Modulo 1010 % 0011 = 0001
Enter hex numbers using digits 0-9 and letters A-F
Supports arithmetic operations: +, −, ×, ÷, %
Results shown in BIN, OCT, DEC, and HEX formats
Hex is widely used in programming for colors, memory addresses, and more
Want to learn more? Read documentation →
1/5

Base Arithmetic Calculator

Binary Calculator Hex Calculator (current page) Octal Calculator
Start typing to search...
Searching...
No results found
Try searching with different keywords