tooljar

    Number Base Converter

    Convert numbers between binary, octal, decimal, and hexadecimal systems

    Quick examples:

    Understanding Number Systems

    Different number systems use different bases to represent values. The base determines how many unique digits are available.

    Number Systems Explained

    • Binary (Base 2): Uses 0 and 1. Common in computing and digital electronics. Each position represents a power of 2.
    • Octal (Base 8): Uses digits 0-7. Sometimes used in computing as a more compact representation than binary.
    • Decimal (Base 10): Uses digits 0-9. The standard number system used in everyday life.
    • Hexadecimal (Base 16): Uses 0-9 and A-F. Widely used in programming and computer science for representing colors, memory addresses, etc.

    Common Use Cases

    • Binary: Computer logic, bit manipulation, network masks
    • Octal: Unix file permissions (chmod)
    • Decimal: Everyday calculations
    • Hexadecimal: Color codes (#FF5733), memory addresses, MAC addresses