Hex Sum Calculator

Perform hexadecimal calculations, conversions, and bitwise operations with our powerful tool

Hexadecimal Values

Calculation Results

Operation Result
--
Hexadecimal
--
Decimal
--
Binary
--

Input Analysis

Your input values will be analyzed here.

🔧 Hex Conversion Tools

Decimal Result:
--
Hexadecimal Result:
--
Binary Result:
--
Hexadecimal Result:
--

📚 Bitwise Operations Guide

🔢

AND (&)

Compares each bit and returns 1 if both bits are 1, otherwise 0. Useful for masking bits.

Example: 0xA5 & 0x3F = 0x25
🔣

OR (|)

Compares each bit and returns 1 if either bit is 1. Used to set specific bits.

Example: 0x05 | 0xA0 = 0xA5
✖️

XOR (^)

Returns 1 if bits are different, 0 if same. Often used for toggling bits.

Example: 0xFF ^ 0x5A = 0xA5
🔄

NOT (~)

Inverts all bits (1's complement). Turns 0 to 1 and 1 to 0.

Example: ~0x55 = 0xAA (8-bit)
⬅️

Shift Left (<<)

Shifts bits left, filling with 0. Equivalent to multiplying by 2 for each shift.

Example: 0x01 << 3 = 0x08
➡️

Shift Right (>>)

Shifts bits right. For unsigned numbers, fills with 0 (logical shift).

Example: 0x80 >> 1 = 0x40

📋 Common Hexadecimal Values

Hex Decimal Binary Description
0x00 0 00000000 Zero/null value
0xFF 255 11111111 8-bit maximum
0x80 128 10000000 MSB set (8-bit)
0x7F 127 01111111 Maximum signed 8-bit
0x0F 15 00001111 Lower nibble mask
0xF0 240 11110000 Upper nibble mask
0x55 85 01010101 Alternating bits pattern
0xAA 170 10101010 Alternating bits pattern
0xFFFF 65535 1111111111111111 16-bit maximum
0xFFFFFFFF 4294967295 32 1's 32-bit maximum
Dark Mode

Note: This calculator performs exact hexadecimal arithmetic. For bitwise operations, results are shown according to the selected bit size (8, 16, 32, or 64 bits).