Base & Number Converters
Convert hex to and from decimal, binary, octal, and other bases, or run addition, subtraction, multiplication, and division directly on hex values.
- Hex to DecimalConvert base-16 values like FF into decimal numbers like 255.
- Decimal to HexConvert a decimal number into its hexadecimal equivalent.
- Hex to BinaryConvert hex digits into 4-bit binary groups.
- Binary to HexConvert a binary string into compact hexadecimal.
- Hex to OctalConvert hex values into base-8 octal.
- Octal to HexConvert an octal value into its hexadecimal equivalent.
- Hex to Base36Convert hex into the compact base36 alphanumeric system.
- Base36 to HexConvert a base36 value into its hexadecimal equivalent.
- Hex to Base2Convert hex into base2 (binary) digits.
- Base2 to HexConvert a base2 value into its hexadecimal equivalent.
- Hex to Base8Convert hex into base8 (octal) digits.
- Base8 to HexConvert a base8 value into its hexadecimal equivalent.
- Hex to Base10Convert hex into base10 (decimal) digits.
- Base10 to HexConvert a base10 value into its hexadecimal equivalent.
- Hex to Base16Normalize a hex value — base16 and hex are the same system.
- Base16 to HexNormalize a base16 value into standard hex formatting.
- Hex to Base32Encode hex bytes as RFC 4648 Base32 (TOTP secrets, Crockford IDs).
- Base32 to HexDecode a Base32 string back into raw hex bytes.
- Hex to Base64Encode hex bytes as RFC 4648 Base64 (data URIs, JWTs).
- Base64 to HexDecode a Base64 string back into raw hex bytes.
- Base12 to HexConvert a base12 (dozenal) value into its hexadecimal equivalent.
- Hex CalculatorAdd, subtract, multiply, and divide hex values directly.
- Hex Addition CalculatorAdd two hexadecimal numbers with a full carry-by-carry breakdown.
- Hex Subtraction CalculatorSubtract hex values with a full borrow-by-borrow breakdown.
- Hex Multiplication CalculatorMultiply hex values with a full partial-product breakdown.
- Hex Division CalculatorDivide hex values and see the quotient and remainder.
- Hex Modulo CalculatorFind the remainder of dividing one hex value by another.
- Hex Average CalculatorFind the average of two hex values.
- Hex Power CalculatorRaise a hex value to a power.
- Hex Square CalculatorSquare a hex value.
- Hex Square Root CalculatorFind the square root of a hex value.
- Hex Percentage CalculatorFind what percentage one hex value is of another.
- Hex to Negative DecimalInterpret a hex bit pattern as a signed decimal value.
- Negative Decimal to HexConvert a negative decimal number into two's-complement hex.
- Hex Two's Complement CalculatorFlip a hex value's sign using two's complement.
- Hex One's Complement CalculatorInvert every bit of a hex value.
- Hex Absolute Value CalculatorFind the absolute value of a signed hex bit pattern.
- Hex Signed Integer CalculatorRead hex as an int8/int16/int32/int64 signed value.
- Signed Integer to HexEncode a signed integer type as its hex bit pattern.
- Hex Unsigned Integer CalculatorRead hex as a uint8/uint16/uint32/uint64 value.
- Hex Negative Number CalculatorCheck whether a hex value is negative at a given bit width.
About Base & Number Converters
Base conversion is the most common reason anyone looks up a hex tool. This category covers converting hexadecimal to and from decimal, binary, and octal, plus arithmetic — addition, subtraction, multiplication, and division — run directly on hex values with results shown in every base at once.
Frequently Asked Questions
What's the difference between a converter and the Hex Calculator?
Converters translate a value between two number systems. The Hex Calculator performs arithmetic — add, subtract, multiply, divide — directly on hex values and shows the result in every base at once.
Which base conversion do I need for programming?
Decimal for everyday numbers, binary to see the raw bits, and hex as the compact shorthand most languages use for byte values and memory addresses.
What's the difference between a "hex converter" and a "hex calculator"?
In everyday search terms the two overlap, but on this site a converter translates one value into another base, while the Hex Calculator (and its addition/subtraction/etc. variants) performs arithmetic and shows the result in every base at once.
Do I need to remove the 0x prefix before converting?
No — every converter here accepts hex with or without a leading 0x, #, or spacing, and normalizes it automatically before converting.