Skip to content

Hex Calculator

Hexadecimal arithmetic and conversions with binary and octal alongside.

  • 100% Free
  • Instant Results
  • No Sign Up

Hex Calculator

Hexadecimal math and hex to decimal conversion

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₁₆

More Math Calculators

View all calculators

Every calculator you need.

Free, fast, and easy to use.

Browse all 204 calculators
Calculators
204+
Free to use
100%
Results as you type
Instant

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