Follow Us

Hex Calculator

Do maths with hexadecimal numbers — add, subtract, multiply, divide, AND, OR, XOR — and see the answer in hex, decimal and binary.

Result

Hex

–
Decimal–
Binary–
Octal–

How to Use Hex Calculator

Work with memory addresses, colours, offsets and hex homework in seconds.

1

Enter Two Hex Numbers

Type digits 0–9 and letters A–F, like 1A3F and FF. A 0x in front is fine.

2

Pick an Operation

Choose +, −, ×, ÷ or a bitwise operation: AND, OR or XOR.

3

Read the Answer

See the result in hex, decimal, binary and octal, with the working shown underneath. Switch to Convert to change between number systems.

Maths

+ − × ÷

Bitwise

AND, OR, XOR

Shows

Hex, decimal, binary, octal

Number size

Any length

Works on

Phone & computer

Price

100% free

Hex Calculator: Quick Reference

Hex digits and their decimal and binary values.

HexDecimalBinary
0 – 90 – 90000 – 1001
A101010
B111011
C121100
D131101
E141110
F151111
10161 0000
FF2551111 1111

What Can You Use It For?

Popular ways people use Hex Calculator.

Programming

Work out memory addresses, offsets and bit masks.

Colours

Check HEX colour values like FF or 80 as numbers.

Homework

Check hex addition and conversion answers.

Networking

Read MAC addresses and IPv6 parts as numbers.

Tips for the Best Result

  • Each hex digit is exactly 4 binary digits — that's why hex is used as short-hand for binary.
  • Letters can be upper or lower case, and a 0x in front is ignored.
  • Use Convert mode to change decimal to hex (or back) in one step.

Frequently Asked Questions

Quick answers about Hex Calculator.

A base-16 number system. It uses 0–9 and the letters A–F, where A = 10 and F = 15. One hex digit stands for exactly 4 binary digits.

Add digit by digit from the right. If a column reaches 16 or more, write the extra and carry 1 — for example 9 + 8 = 17 = 11 in hex (write 1, carry 1).

Switch to Convert, choose Hex → Decimal and type the number, like FF (= 255).

Choose Decimal → Hex in Convert mode and type your number — for example 4096 becomes 1000.

They compare the numbers bit by bit. AND gives 1 where both bits are 1, OR where at least one is 1, and XOR where the bits are different.

Yes. 0x1A3F and 1A3F are read the same way. Upper and lower case letters both work.

No. The calculator uses big-number maths, so long hex numbers like 64-bit addresses work exactly.

Yes — 100% free, with no sign-up. Everything is calculated in your browser.

Related Free Tools

Ready to Use Hex Calculator?

Scroll up and get your result in seconds. 100% free, no sign-up needed.

Start Now

Ad Blocker Detected

Toolszu provides free access to over 1,000 tools. We rely on minimal ads to maintain our servers and keep improving the site for everyone.

Please pause or disable your ad blocker to continue using Toolszu.