LESS FRICTION. MORE CONVERSION.

Hex Calculator / Converter

Two bases. Side by side. Calculate in one, see the other instantly.

Connected by designEvery entry, instantly converted.
friendly / HEXREADY
32-BIT HEXADECIMAL
00000000
 
HEXADECIMAL CALCULATOR● ● ●
0–9, A–F & operators
friendly / DECREADY
DECIMAL
0
 
DECIMAL CALCULATOR● ● ●
0–9 & operators
Start in either calculator. We’ll take care of the conversion.32-bit precision
Decimal input range -2,147,483,648 to 4,294,967,295All calculations stay in your browser
SMALL DETAILS. CLEARER NUMBERS.

A friendly way to work in hex.

Made for developers, students, and curious minds.

⇄

One input, two perspectives

Enter a number or calculation in either base. The other display converts it as you go. Press equals or clear to switch sides.

±

Signed numbers, understood

Choose 8, 16, 24, or 32 bits. Hex values with a leading 1 bit show both unsigned and signed decimal interpretations.

⌨

Click. Type. Calculate.

Use the keys or type in an expression field. + − * / are operators, ^ squares, r finds a square root, Enter equals, and Esc clears.

How does hex-to-decimal conversion work?

Hexadecimal uses sixteen digits: 0–9 and A–F. Each position represents a power of 16. For example, 2A is (2 × 16) + 10 = 42 in decimal. This hexadecimal converter updates both displays with each entry.

How are negative numbers and overflow handled?

Negative decimal values use two’s complement. At 2 hex digits (8 bits), −1 converts to FF. Decimal input accepts −128 through 255, while hex input accepts 00 through FF. Positive decimal values above 127 also show their equivalent negative two’s-complement value on the second line. The range scales with the selected width. Calculations use the selected width’s range and show an overflow error if exceeded; values never wrap. Changing the width clears the calculation.

What happens with division and square roots?

Input is whole numbers only. Calculations run from left to right. Both calculators show whole-number results. Division truncates the quotient toward zero and shows any remainder on the second line. Square root shows the whole-number root and the remainder: the original number minus the root squared (for example, √10 = 3, remainder 1). Remainders are shown in decimal units on both displays. Further calculations use the displayed whole-number result. A new entry after equals starts a fresh calculation.