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.
Two bases. Side by side. Calculate in one, see the other instantly.
Made for developers, students, and curious minds.
Enter a number or calculation in either base. The other display converts it as you go. Press equals or clear to switch sides.
Choose 8, 16, 24, or 32 bits. Hex values with a leading 1 bit show both unsigned and signed decimal interpretations.
Use the keys or type in an expression field. + − * / are operators, ^ squares, r finds a square root, Enter equals, and Esc clears.
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.
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.
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.