Use this hexadecimal calculator to add, subtract, multiply, or divide two hex (base 16) numbers. Results display in hex with conversions to all bases.
Hexadecimal calculator
Table of Contents show ▼
Using the calculator
Enter two hexadecimal numbers in the Number 1 and Number 2 fields. Use digits 0-9 and letters A-F. Select your operation from the Operation dropdown: addition, subtraction, multiplication, or division.
Results calculate instantly in hex, with conversions to binary, octal, and decimal shown below. Use the Binary, Octal, Decimal, or Hex buttons to switch input bases.
What is hexadecimal?
Hexadecimal (base 16) uses digits 0-9 plus letters A-F (representing 10-15). Each hex digit maps to exactly 4 binary digits, making it the preferred format for representing memory addresses, color codes, and other computer data.
