Base Converter

Convert numbers between different number bases (2-36). Free online base converter supporting binary, octal, decimal, hexadecimal and any base up to 36.

Decimal to base 16 calculation:

Divide by the base to get the digits from the remainders:

Division Quotient

Remainder

(Digit)
Digit #

Base Converter - Convert Numbers Between Different Number Systems

This powerful base converter allows you to convert numbers between any number base from 2 to 36. Whether you're working with binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), or any other number system, this tool provides instant conversions with detailed calculation steps.

What is a number base?

A number base (or radix) is the number of unique digits used to represent numbers in a positional numeral system. For example:
- Base 2 (binary): uses digits 0 and 1
- Base 8 (octal): uses digits 0-7
- Base 10 (decimal): uses digits 0-9
- Base 16 (hexadecimal): uses digits 0-9 and letters A-F
- Base 36: uses digits 0-9 and letters A-Z

How do I convert between different bases?

The conversion process involves two main steps:

1. Convert from source base to decimal (base 10):
- Multiply each digit by the base raised to the power of its position
- Sum all the results

2. Convert from decimal to target base:
- Divide the decimal number by the target base
- Record the remainder as the rightmost digit
- Repeat with the quotient until it becomes 0
- The result is the remainders read from bottom to top

What are the most common number bases used?

The most commonly used number bases are:

- Base 2 (Binary): Used in computer systems and digital electronics
- Base 8 (Octal): Sometimes used in computing, especially in Unix file permissions
- Base 10 (Decimal): The standard number system used in everyday life
- Base 16 (Hexadecimal): Widely used in computing and programming for representing memory addresses, colors, and binary data
- Base 64: Used for encoding binary data in text format (like Base64 encoding)

Can I convert numbers with decimal points?

This converter currently handles whole numbers (integers) only. For numbers with decimal points, the conversion process becomes more complex as it involves fractional parts. The integer part is converted using the standard method, while the fractional part requires multiplying by the target base and taking the integer part of the result repeatedly.

What happens with negative numbers?

This converter supports negative numbers. The conversion process works the same way, but the negative sign is preserved in the result. For example, -15 in decimal becomes -F in hexadecimal and -1111 in binary.

Why are there 36 different bases supported?

Base 36 is the largest base that can be represented using the digits 0-9 and letters A-Z (10 + 26 = 36 characters). This provides a good balance between the number of supported bases and the readability of the results. Higher bases would require additional symbols, making them less practical for most applications.

Common Number Base Reference

Decimal Binary Octal Hexadecimal Base 36
0 0 0 0 0
1 1 1 1 1
2 10 2 2 2
3 11 3 3 3
4 100 4 4 4
5 101 5 5 5
6 110 6 6 6
7 111 7 7 7
8 1000 10 8 8
9 1001 11 9 9
10 1010 12 A A
15 1111 17 F F
16 10000 20 10 G
31 11111 37 1F V
32 100000 40 20 W
35 100011 43 23 Z
36 100100 44 24 10
255 11111111 377 FF 73
1000 1111101000 1750 3E8 RS