Number Format Converter
Hexadecimal (Base-16)
Digits:
0-9, A-F
Common Uses:
- Memory addresses
- Color codes
- Assembly code
Examples:
1A = 26 (dec)
FF = 255 (dec)
#FF0000 = Red
Binary (Base-2)
Digits:
0, 1
Common Uses:
- Digital logic
- Machine code
- Bit operations
Examples:
1010 = 10 (dec)
1111 1111 = FF (hex)
0000 1111 = 0F (hex)
Decimal (Base-10)
Digits:
0-9
Common Uses:
- Standard counting
- Human-readable numbers
- Mathematical operations
Examples:
42 = 2A (hex)
255 = FF (hex)
16 = 0001 0000 (bin)
Hexadecimal Number System
Binary Number System
Definition: Base-2 number system using only 0 and 1.
Key Features:
- Fundamental to all digital computing
- Each digit represents a power of 2
- Used in digital logic and computer memory
Common Applications:
- Digital logic circuits and gates
- Computer memory and storage
- Bitwise operations in programming
- Network protocols and data transmission
Example Calculations:
1101 = 8 + 4 + 0 + 1 = 13 (decimal)
1000 = 8 (decimal)
1111 = 15 (decimal) = F (hex)
Decimal Number System
Definition: Base-10 number system using digits 0-9.
Key Features:
- Most commonly used number system
- Each digit represents a power of 10
- Natural for human counting and mathematics
Common Applications:
- General mathematics and counting
- Financial calculations
- Scientific notation
- User interfaces and displays
Conversion Examples:
42 = 2A (hex) = 0010 1010 (binary)
255 = FF (hex) = 1111 1111 (binary)
1000 = 3E8 (hex) = 1111 101000 (binary)
Definition: Base-16 number system using digits 0-9 and letters A-F.
Key Features:
Common Applications:
Example Conversions:
0xFF = 255 (decimal) = 1111 1111 (binary)
0x1A = 26 (decimal) = 0001 1010 (binary)
0x100 = 256 (decimal) = 1 0000 0000 (binary)