Base Converter Calculator

Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16).

Number Base Converter

Conversion Result

Enter a number to convert

Base Characters

  • Binary: 0, 1
  • Octal: 0-7
  • Decimal: 0-9
  • Hex: 0-9, A-F

Common Examples

Decimal Binary Octal Hexadecimal
0 0 0 0
8 1000 10 8
16 10000 20 10
100 1100100 144 64
255 11111111 377 FF
1024 10000000000 2000 400

Key Takeaways

  • Binary (Base 2): Uses 0 and 1 - foundation of digital computing
  • Octal (Base 8): Uses 0-7 - compact binary representation
  • Decimal (Base 10): Uses 0-9 - standard human use
  • Hexadecimal (Base 16): Uses 0-9, A-F - programming essential

Complete Guide to Number Base Conversion

A number base (also called radix) is the number of unique digits, including zero, that a positional numeral system uses to represent numbers. Each position in a number represents a power of the base.

Common Number Bases

Binary (Base 2)

Uses 0 and 1. Foundation of all digital computing, used in circuits and memory.

Octal (Base 8)

Uses 0-7. Compact representation of binary, used in Unix file permissions.

Decimal (Base 10)

Uses 0-9. Standard system for human use, everyday arithmetic.

Hexadecimal (Base 16)

Uses 0-9 and A-F. Essential for programming, color codes, and memory addresses.

How to Use This Calculator

1 Enter your number in the input field
2 Select the source base (the base your number is in)
3 View instant results in binary, octal, decimal, and hexadecimal
4 Copy results using the copy buttons

Real-World Applications

Computer Science

Binary operations, memory addressing, data encoding

Programming

Debugging, bitwise operations, cryptography

Web Design

Hexadecimal color codes (#FF5733)

Networking

IP addresses, MAC addresses, subnet calculations