Convert number from any base to any base:
Base to decimal calculation:
Decimal to base calculation:
Divide by the base to get the digits from the remainders: