Perform hexadecimal calculations including arithmetic operations, bitwise operations (AND, OR, XOR, NOT), and bit shifting. Convert between hex, decimal, binary, and octal.
Hexadecimal
0x109
| Hex | Decimal | Binary | Hex | Decimal | Binary |
|---|---|---|---|---|---|
| 0 | 0 | 0000 | 8 | 8 | 1000 |
| 1 | 1 | 0001 | 9 | 9 | 1001 |
| 2 | 2 | 0010 | A | 10 | 1010 |
| 3 | 3 | 0011 | B | 11 | 1011 |
| 4 | 4 | 0100 | C | 12 | 1100 |
| 5 | 5 | 0101 | D | 13 | 1101 |
| 6 | 6 | 0110 | E | 14 | 1110 |
| 7 | 7 | 0111 | F | 15 | 1111 |
Hexadecimal
0x109
Quick-start with common scenarios
Test your skills with practice problems
Practice with 3 problems to test your understanding.
Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F (where A=10 through F=15). To convert hex to decimal, multiply each digit by its positional power of 16 and sum. For example, 1A3 hex = (1x256) + (10x16) + (3x1) = 419 decimal. Each hex digit equals exactly 4 binary bits.
Hexadecimal (hex) is a positional number system with base 16, using digits 0-9 and letters A-F to represent values 0-15. It is widely used in computing and digital electronics because it provides a compact way to represent binary data. Each hexadecimal digit corresponds to exactly four binary bits, making conversions straightforward.
Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F (where A=10 through F=15). To convert hex to decimal, multiply each digit by its positional power of 16 and sum. For example, 1A3 hex = (1x256) + (10x16) + (3x1) = 419 decimal. Each hex digit equals exactly 4 binary bits.
Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F. Each hex digit represents 4 binary bits, making it compact for representing binary data. For example, FF in hex equals 255 in decimal and 11111111 in binary.
Multiply each hex digit by its positional value (powers of 16) and sum the results. For example, 1A3 = (1×16²) + (10×16¹) + (3×16⁰) = 256 + 160 + 3 = 419. Remember A=10, B=11, C=12, D=13, E=14, F=15.
Bitwise operations work on individual bits: AND (&) returns 1 if both bits are 1, OR (|) returns 1 if either bit is 1, XOR (^) returns 1 if bits differ, NOT (~) inverts all bits. These are fundamental for low-level programming and data manipulation.
Hex is compact (1 hex digit = 4 bits), easy to convert to/from binary, and commonly used for: memory addresses, color codes (#FF0000), MAC addresses, ASCII/Unicode values, and debugging. It's more readable than long binary strings.
Bit shifting moves all bits left (<<) or right (>>). Left shift by n multiplies by 2ⁿ, right shift divides by 2ⁿ. For example, 0x10 << 2 = 0x40 (16 × 4 = 64). Useful for efficient multiplication/division by powers of 2.
Last updated: 2025-01-15
Explore similar calculators
Hexadecimal
0x109