Integer Base Conversion Calculator
Convert an exact signed integer between bases 2 through 36.
Your result
MATHExample values are prefilled. Results update automatically when JavaScript is available.
What this tool calculates
Convert an exact signed integer between bases 2 through 36.
Inputs used: Integer digits in the source base, Source base, Target base.
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.