๐ป TechnologybeginnerOffline
Base Converter
Convert a number between any two bases from 2 to 36.
Inputs
Enter your values below.
Result
Your answer appears here.
Enter values and press Calculate โ the result appears here.
How it works
The formula behind this calculator.
value = ฮฃ(digit ร base^position)
- digit
- A symbol valid in the source base
- base
- An integer โฅ 2
Any positional numeral system works the same way: each digit times base^position, summed. The most common are 2, 8, 10, 16.
Example: FF (base 16) = 15ยท16 + 15 = 255 (base 10)
Ref: Positional numeral systems
Tips
- ๐ก Any base can be converted via base-10. The most common are 2 (binary), 8 (octal), 10 (decimal), 16 (hex).
- ๐ก Bases above 36 need extra symbols (e.g. 0โ9 then AโZ for 36, then 0โ9, AโZ, aโz for 62).