A number base (or radix) is the number of unique digits used to represent numbers in a positional numeral system. Decimal uses 10 digits (0-9), binary uses 2 (0-1), octal uses 8 (0-7), and hexadecimal uses 16 (0-9, A-F).
Common Number Systems
Binary (base 2) is fundamental to computers, using only 0 and 1. Octal (base 8) was popular in older computing. Decimal (base 10) is what we use daily. Hexadecimal (base 16) is widely used in programming for its compact representation of binary data.
How Conversion Works
To convert from any base to decimal, multiply each digit by the base raised to its position power. To convert from decimal to another base, repeatedly divide by the target base and collect remainders. This tool handles all conversions automatically.
Bases 2-36 Explained
For bases larger than 10, letters are used: A=10, B=11, ..., Z=35. This allows representation of bases up to 36. While uncommon, custom bases can be useful in specialized applications like compact encoding schemes.
Frequently Asked Questions
What number bases are supported?
All bases from 2 to 36. This includes binary (2), octal (8), decimal (10), hexadecimal (16), and any custom base in between or up to 36.
Why is the maximum base 36?
Base 36 uses digits 0-9 and letters A-Z, giving exactly 36 unique symbols. This is the maximum using standard alphanumeric characters.
How do I enter hexadecimal numbers?
For hexadecimal, use digits 0-9 and letters A-F. For example: FF, 1A3B, DEADBEEF. Letter case doesn't matter (a-f and A-F both work).
Can I convert negative numbers?
This tool focuses on positive integers and whole numbers. For negative numbers, convert the absolute value and add the negative sign to the result.
What's the largest number I can convert?
The tool supports very large numbers, limited only by your browser's JavaScript number handling (typically up to 2^53-1 for integers).
Is my data safe?
Yes, absolutely. All conversions are performed in your browser using JavaScript. Your data never leaves your computer.
Why use different number bases?
Different bases are optimal for different purposes. Binary is how computers work internally, hexadecimal is compact for representing binary data, and decimal is natural for humans. Each has its advantages.
Is this tool free?
Yes, this tool is completely free to use with no registration or limits.