Input
Source Base (2..36)
Custom Target Base
Results
Decimal45
Binary101101
Octal55
Hex2D
Base 31200
Step 1: Source to Decimal
total = total × 2 + digit
[0] '1' (1): 0 × 2 = 0; + 1 = 1
[1] '0' (0): 1 × 2 = 2; + 0 = 2
[2] '1' (1): 2 × 2 = 4; + 1 = 5
[3] '1' (1): 5 × 2 = 10; + 1 = 11
[4] '0' (0): 11 × 2 = 22; + 0 = 22
[5] '1' (1): 22 × 2 = 44; + 1 = 45
Decimal result: 45
Step 2: Decimal to Base 2
1. q=22 r=1
2. q=11 r=0
3. q=5 r=1
4. q=2 r=1
5. q=1 r=0
6. q=0 r=1
Read remainders bottom-to-top: 101101
Step 2: Decimal to Base 8
1. q=5 r=5
2. q=0 r=5
Read remainders bottom-to-top: 55
Step 2: Decimal to Base 16
1. q=2 r=13
2. q=0 r=2
Read remainders bottom-to-top: 2D