Chuyển đổi cơ số số miễn phí · Nhị phân, Thập phân, Thập lục phân
Convert between binary, octal, decimal, and hexadecimal.
Binary (base 2)
Octal (base 8)
Decimal (base 10)
Hexadecimal (base 16)
Understanding Number Bases
A number base (or radix) determines how many unique digits are used to represent numbers. The most familiar is base 10 (decimal), which uses digits 0-9. Computers natively use base 2 (binary), using only 0 and 1.
- Binary (base 2): Used internally by all digital systems. Each digit is a "bit."
- Octal (base 8): Uses digits 0-7. Common in Unix file permissions (e.g., chmod 755).
- Decimal (base 10): The standard human number system.
- Hexadecimal (base 16): Uses 0-9 and A-F. Widely used in colors (#FF0000), memory addresses, and byte representation.
Frequently Asked Questions
Does this support very large numbers?
Yes. This tool uses JavaScript's BigInt, which supports arbitrarily large integers with no precision loss. You can convert numbers with hundreds of digits.
Why is binary important in computing?
Computers use electrical signals that have two states (on/off), which naturally maps to binary (1/0). Every piece of data · text, images, video · is ultimately stored and processed as binary.