Number Base Converter - Convert Binary, Decimal, Hex, Octal Online
Convert numbers between different bases instantly: binary (base-2), decimal (base-10), hexadecimal (base-16), and octal (base-8). Perfect for programmers, students, and anyone working with different numeral systems.
Why Use a Base Converter?
- Programming: Essential for low-level programming
- Quick & Accurate: Instant conversions without manual calculation
- Educational: Great for learning number systems
- Debugging: Understand memory addresses and bit patterns
Common Use Cases
💻 Programming
Work with color codes, memory addresses, bit operations.
🎓 Computer Science
Study and learn different numeral systems.
🎨 Web Design
Convert hex color codes to RGB values.
🔧 Electronics
Work with binary and hexadecimal in hardware.
How to Use This Tool
- Enter Number: Type your number in any of the four input fields.
- Auto Convert: Other bases are automatically calculated in real-time.
- Copy Results: Click any output to copy the converted value.
💡 Tip: Binary uses 0-1, Octal uses 0-7, Decimal uses 0-9, Hexadecimal uses 0-9 and A-F.
Number Base Converter
Example: 10110101
Example: 265
Example: 181
Example: B5 or 0xB5
Number Systems Explained
Binary (Base-2)
- Uses only 0 and 1
- Foundation of digital computing
- Each digit represents a power of 2
- Example: 1011 = 8+0+2+1 = 11
Octal (Base-8)
- Uses digits 0-7
- Common in Unix file permissions
- Each digit represents a power of 8
- Example: 17 = 8+7 = 15
Decimal (Base-10)
- Uses digits 0-9
- Standard numbering system
- Each digit represents a power of 10
- Example: 42 = 40+2
Hexadecimal (Base-16)
- Uses 0-9 and A-F
- Common for color codes, memory addresses
- Each digit represents a power of 16
- Example: FF = 15×16+15 = 255
Common Conversions
| Decimal | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 8 | 1000 | 10 | 8 |
| 15 | 1111 | 17 | F |
| 255 | 11111111 | 377 | FF |
Related Tools
- Unit Converter - Convert measurement units
- IP to Binary - Convert IP addresses