About Hex Calculator
Hexadecimal is the base-16 number system, using the digits 0 to 9 and the letters A to F for the values 10 to 15. This calculator reads two hexadecimal integers without a 0x prefix, applies arithmetic or a bitwise AND, OR, or XOR with exact big-integer arithmetic, and shows the result in binary, decimal, hexadecimal, and octal. Division discards the remainder. Letters can be upper or lower case; fractions are not supported.
How to use Hex Calculator
- Fill in "First number", "Operation" and "Second number".
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about Hex Calculator
What do AND, OR, and XOR do?
They compare two numbers bit by bit. AND gives 1 where both bits are 1, OR where at least one is 1, and XOR where exactly one is 1. For example, FF AND 1A is 1A.
Runs in your browser. Page last updated .