Number Base Converter
Convert a number between any two numeral bases, from binary (base 2) up to base 36.
- Free to use
- Accurate results
- No registration required
- Works on all devices
Enter a number, its current base, and the base you want to convert it to (from 2 to 36).
The number to convert, using digits valid for the "from" base (0-9, then a-z for bases above 10).
Your result
11111111
Result
AI explanation
Formula
Converts via decimal as an intermediate: parse the value in the from-base, then re-express that decimal value in the to-baseWorked example
255 (base 10) to base 2
| Field | Value |
|---|---|
| Value | 255 |
| From base | 10 |
| To base | 2 |
| Result | 11111111 |
Assumptions
- Only non-negative whole numbers are supported.
- For bases above 10, digit values 10 and up use letters a, b, c, ... (case-insensitive).
Frequently asked questions
What bases does this calculator support?
Any base from 2 (binary) to 36 (using digits 0-9 and letters a-z), for both the "from" and "to" base.
Are there dedicated calculators for common bases like binary and hex?
Yes — see the Binary Calculator, Hex Calculator, and Octal Calculator for dedicated decimal-focused versions of the most commonly used bases.
Why base 36 as the maximum?
Base 36 uses all 10 digits (0-9) plus all 26 letters (a-z), covering every alphanumeric character — beyond that, there aren't enough conventional symbols for more digit values.