Hex Calculator
Add, subtract, multiply and divide hexadecimal values — the programmer’s favourite base — with every operand and the result laid out in all four common bases. Invalid hex digits are flagged before any calculation happens.
TheCalculators — Hex Calculator
Printed thecalculators.com
1A3F + 2B (base 16)
1A6A
Decimal: 6,762 · Addition in Hexadecimal (base 16)
- Base
- Hexadecimal (base 16)
- First value (A)
- 1A3F
- Second value (B)
- 2B
- Operation
- + Addition
- Result (base 16)
- 1A6A
- Result (decimal)
- 6,762
- A in decimal
- 6,719
- B in decimal
- 43
- GCD(A, B)
- 1
Conversion table (all bases)
How the result was computed
- 1Validate digitsHexadecimal (base 16) accepts digits 0–15. "1A3F" and "2B" both pass.
- 2Convert to decimalA = 1A3F₁16 → 6,719; B = 2B → 43
- 3Apply addition6,719 + 43 = 6,762
- 4Convert result back6,762 in base 16 → 1A6A
Most useful next
Formula
Result = (A)base op (B)base, computed in decimal and converted back
Pro tips
- • One hex digit encodes exactly 4 bits — FF is 11111111 in binary and 255 in decimal.
- • Colors like #1A3F are just hex numbers for red, green and blue channels.
- • Switch the base selector to 10 and the same tool works as a plain integer calculator.
FAQ
Related Calculators
More Developer tools you might need.
Binary Calculator
Add, subtract, multiply or divide binary values and convert between base 2, 8, 10 and 16.
CalculateIp Subnet Calculator
Split IPv4 networks — network, broadcast, host range, mask, wildcard and usable hosts from any CIDR.
CalculateBig Number Calculator
Add, subtract, multiply, divide and exponentiate very large numbers, with E-notation support.
CalculateScientific Calculator
Full scientific keypad — sin, cos, tan, logs, roots, powers, memory and Deg/Rad, with instant exact results.
Calculate