MATH
Integer Base Conversion Calculator
Convert an exact signed integer between bases 2 through 36.
Your result
MATHEnter your values and select calculate.
On this page How it works & practical examples
How to use the Integer Base Conversion Calculator
Use digits 0–9 and letters a–z with an optional leading minus sign. Enter the base separately rather than including a 0x or 0b prefix.
The calculation
Read positional digits in the source base, then repeatedly divide by the target base
Worked example
Hexadecimal ff converts to decimal 255 and binary 11111111.
Assumptions and limits
Integer-only conversion; at most 100 input digits. BigInt keeps integers exact, but fractions and two’s-complement bit patterns are not interpreted.
Common questions
Which inputs should I use?
Use digits 0–9 and letters a–z with an optional leading minus sign. Enter the base separately rather than including a 0x or 0b prefix.
What does the result exclude?
Integer-only conversion; at most 100 input digits. BigInt keeps integers exact, but fractions and two’s-complement bit patterns are not interpreted.