Skip to content

Hex Calculator

Hexadecimal arithmetic and conversions with binary and octal alongside.

Digits 0-9 and A-F.

1A3F + 2B in hex

1A6A

= 6,762 in decimal

Result (hex)
1A6A
Result (decimal)
6,762
Result (binary)
1101001101010
Result (octal)
15152

How it was calculated

  1. 1A3F₁₆ = 6,719 in decimal
  2. 2B₁₆ = 43 in decimal
  3. 6,719 + 43 = 6,762
  4. 6,762 in hex = 1A6A₁₆

Calculations run on this device and your inputs are not uploaded. A share link puts your inputs in the URL, so anyone with the link can read them.

More Math Calculators

All calculators

How the hex calculator works

Hexadecimal (base 16) uses the digits 0 to 9 and the letters A to F for the values 10 to 15. Each position is worth 16 times the one to its right, so 1A3F = 1×4096 + 10×256 + 3×16 + 15 = 6719.

Programmers use hex because one hex digit is exactly four binary bits, which makes memory addresses, color codes (#FF8800) and byte values short and easy to read.

To convert decimal to hex, divide by 16 repeatedly and read the remainders from bottom to top. Division here gives a whole-number quotient and a remainder. Numbers of any length work exactly.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

Multiply each digit by 16 raised to its position (0 on the right) and add them. 2F = 2×16 + 15 = 47.

FF is 15×16 + 15 = 255, the largest value one byte can hold. That's why color channels in #RRGGBB codes go from 00 to FF.

No. 1a3f and 1A3F are the same number. Results are shown in upper case.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.