Hex Calculator
Add, subtract, multiply, divide and combine hexadecimal numbers with AND, OR and XOR, and see the result in hex, decimal, binary and octal with the column-by-column steps.
- Free
- No sign-up
- Works on any device
About Hex Calculator
A hex calculator for programmers, students and hardware tinkerers who need exact hexadecimal arithmetic without converting by hand. It adds, subtracts, multiplies and divides base 16 numbers of up to 64 digits, gives a quotient and remainder for division, and also offers modulo, AND, OR and XOR. The result appears in hex, decimal, binary grouped in nibbles and octal, and a steps box shows the column work: carries for addition, borrows for subtraction, partial products for multiplication and digit-by-digit long division. For example 1A3F plus 2B7 is 1CF6, which is 7414 in decimal.
How to use Hex Calculator
- Type the first hex number using the digits 0 to 9 and the letters A to F.
- Choose the operation, then type the second hex number.
- Read the result in hex, decimal, binary and octal and follow the steps box to check the working.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
Also known as
Frequently asked questions
Does the hex calculator accept negative numbers and a 0x prefix?
Yes. A leading minus sign and a 0x prefix are accepted, and spaces or underscores are ignored. Step-by-step columns are shown for non-negative numbers; the result itself is exact for negatives too.
How does hex division work here?
Division gives a whole-number quotient and a remainder, both in hex and decimal. The steps list shows each digit being brought down and divided, like long division in base 16.
Why is the binary result written in groups of four bits?
Each hex digit equals exactly four bits, so grouping the binary in nibbles lets you match every hex digit with its bits at a glance.
Is Hex Calculator free?
Yes. Hex Calculator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put Hex Calculator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.