Tools

Home
String to HexHex to Base64Base64 to HexBin to Hex
Add BinaryAND Binary

Add Hex Numbers

Add two or more hexadecimal numbers together. View the result in hex, decimal, and binary formats.

Your files never leave your browser
+
Hex
Decimal
Binary

Drop in two or more hex values, hit Calculate, and you'll get the sum in hex, decimal, and binary at once. Works with or without the 0x prefix, and BigInt handles numbers of any size without precision loss. And everything runs in your browser. Nothing gets uploaded.

How to Use

Enter hex values in the input fields. You can include the 0x prefix or omit it -- both formats work.

Add more inputs if you need to add more than two hex values by clicking the "Add More" button.

Click Calculate to add all hex values together. The result is shown in hexadecimal, decimal, and binary.

Copy any result using the copy button next to each output format.

Frequently Asked Questions

What is hexadecimal addition?

Hexadecimal addition works just like decimal addition, but in base 16. The hex digits are 0-9 and A-F, where A=10, B=11, C=12, D=13, E=14, and F=15. When a column sum exceeds 15, you carry 1 to the next column. For example, F + 1 = 10 in hex (16 in decimal).

Does this tool handle the 0x prefix?

Yes. You can enter hex values with or without the 0x prefix. The tool automatically strips the prefix before performing the calculation. For example, "0xFF" and "FF" are treated identically.

How many hex values can I add at once?

You can add as many hex values as you like. Start with two inputs and click "Add More" to add additional fields. Each field accepts any valid hexadecimal value. There is no hard limit on the number of inputs.

What is the maximum hex value supported?

This tool uses JavaScript's BigInt for calculations, so it can handle arbitrarily large hexadecimal numbers with full precision. There is no practical upper limit -- you can add hex values of any size.

Is the binary output padded?

The binary output is shown without leading zeros (except for the result 0, which displays as "0"). It represents the exact binary equivalent of the hexadecimal sum. You can copy the binary result and pad it as needed for your use case.

Share: