Base Converter (Binary, Octal, Decimal, Hexadecimal)
📚 Useful Information
💡 Quick Powers of 2
2¹ = 2, 2² = 4, 2³ = 8
2⁴ = 16, 2⁵ = 32, 2⁶ = 64
2⁷ = 128, 2⁸ = 256, 2⁹ = 512
2¹⁰ = 1024 (1K)
2⁴ = 16, 2⁵ = 32, 2⁶ = 64
2⁷ = 128, 2⁸ = 256, 2⁹ = 512
2¹⁰ = 1024 (1K)
🎯 HEX Letters
A = 10, B = 11, C = 12
D = 13, E = 14, F = 15
Always use uppercase
letters A-F
D = 13, E = 14, F = 15
Always use uppercase
letters A-F
⚠️ Value Ranges
8-bit: 0 to 255
16-bit: 0 to 65,535
32-bit: 0 to 4,294,967,295
Signed: half range for negatives
16-bit: 0 to 65,535
32-bit: 0 to 4,294,967,295
Signed: half range for negatives
🔄 Conversion Examples
Number 42:
DEC: 42
BIN: 101010
OCT: 52
HEX: 2A
DEC: 42
BIN: 101010
OCT: 52
HEX: 2A
Number 255:
DEC: 255
BIN: 11111111
OCT: 377
HEX: FF
DEC: 255
BIN: 11111111
OCT: 377
HEX: FF
🔢 Number System Converter
Powerful tool for quick conversion between different number systems. Supports binary (BIN), octal (OCT), decimal (DEC), and hexadecimal (HEX) systems with signed number support.
🎯 Calculator Features:
- ✅ Instant conversion between 4 number systems
- ✅ Support for signed and unsigned numbers
- ✅ Two's complement mode
- ✅ Automatic input validation
- ✅ Detailed result explanations
Frequently Asked Questions
What is a number system?
A number system is a way to represent numbers using a specific set of symbols. Most common are: binary (0,1), octal (0-7), decimal (0-9), hexadecimal (0-9, A-F).
Where is binary system used?
Binary system is the foundation of all computer calculations. Each bit can have a value of 0 or 1, corresponding to 'off' or 'on' states in electronic circuits.
What is two's complement?
Two's complement is a method for representing negative numbers in binary system. It allows using the same operations for both addition and subtraction.
How does hexadecimal system work?
Hexadecimal system uses 16 symbols: digits 0-9 and letters A-F (A=10, B=11, C=12, D=13, E=14, F=15). Often used in programming for shorter binary number representation.
Why was octal system popular?
Octal system is convenient because each octal digit exactly corresponds to three binary bits, making it convenient for working with early computers.