Free Online Hex Calculator
A hex calculator does arithmetic on hexadecimal numbers and shows the result in hex, decimal, and binary at the same time.
Your data is processed entirely in your browser and never sent to any server.
How to Use This Calculator
- Type two hex values using 0–9 and A–F.
- Pick the operation: +, −, ×, or ÷.
- Read the result in hex, decimal, and binary.
What Is a Hex Calculator?
Hexadecimal (base-16) is the compact representation developers use for bytes. Two hex digits cover the full 0–255 range of one byte, four cover a 16-bit word, and six are the standard for a CSS RGB color (#FF6600). Hex turns up in memory addresses, MAC addresses, hash digests, and assembly listings.
This calculator takes two hex inputs (digits 0–9 and letters A–F, case-insensitive) and one of four operations (+, −, ×, ÷) and returns the result in three forms — hex for the canonical representation, decimal to sanity-check, and binary for bit-level inspection. Division uses integer truncation, matching how most programming languages handle integer division.
If you only need a hex ↔ decimal conversion (no arithmetic), enter the value as operand A, set operand B to 0, and use addition — the result is unchanged but printed in all three bases.
Frequently Asked Questions
What is hexadecimal?
How do I convert hex to decimal?
Why is hex used in programming?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related Math & Calculators
Perform binary arithmetic: add, subtract, multiply, and divide binary numbers. See results in binary, decimal, and hex.
Full-featured scientific calculator with trig, log, exponents, and more. Use it free in your browser.
Convert numbers to Roman numerals and Roman numerals to numbers. Handles values from 1 to 3999.
Check if a number is prime. See nearest primes (next and previous) and prime factorization for small numbers.
Generate random numbers within a range. Pick integers or decimals. Perfect for games, sampling, and simulations.