What the Hexadecimal works out
The Hexadecimal turns the figures below into hexadecimal, using the formula Convert integers, calculate, then convert back to the selected base. Integer division truncates toward zero.
What each field means
- First number
- Entered as text rather than a single number — the example uses A. Keep the same separators shown there.
- Second number
- Entered as text rather than a single number — the example uses 3. Keep the same separators shown there.
- Operation
- Choose between Add, Subtract, Multiply, Divide. The worked example below uses Add, and switching it changes which rule set the calculator applies.
A worked example
With the values this page opens on — First number A, Second number 3, Operation Add — the answer is D. The supporting detail reads: Decimal: 13. Reset restores exactly these numbers.
Reading the result
The headline number is hexadecimal. Change any field and the figure, along with the graph beside it, is recomputed from the values you typed — nothing is rounded before the arithmetic runs.
Assumptions and limits
Integer division truncates toward zero. Remainder is separately shown.
Your privacy
Nothing you type leaves your browser.