Simple logo of a computer monitorcomputer science 101

Base Converter

Buy Me A Coffee

Convert integer values between bases (2 to 36) and understand each step.

Base converter

Step-by-step calculation

1) Source base → decimal

Enter a value and start the conversion.

2) Decimal → target base

For target base 10, the decimal value is already the final result.

How the conversion works

  1. Validate each digit of the input value: it must be valid in the source base.
  2. Convert to decimal using positional notation (digit × base^position).
  3. Repeatedly divide the decimal value by the target base and record the remainders.
  4. Read the remainders in reverse order to get the final value in the target base.
Was this helpful for you? 🤔If so, feel free to buy me a coffee – and support this site 🙏
Buy Me A Coffee
Thank you ❤️