Start with a worked example
Open the worked example for Converted integer. The example starts with Integer value = 2D, Source base = 16, Destination base = 10.
Base Conversion Calculator formula
Digits are parsed positionally in the source base and re-expressed in the destination base using exact integer arithmetic.
Inputs and units
| Input | Format / range | Example |
|---|---|---|
| Integer value | Follow the input format above | 2D |
| Source base | Whole number, min 2, max 36 | 16 |
| Destination base | Whole number, min 2, max 36 | 10 |
Worked example
The values listed in Inputs and units give 45 for Converted integer.
- Converted integer
- 45
- Decimal value
- 45
Results and assumptions
Change Source base from 16 to 18 and keep the other example inputs fixed. The updated answer is 49 (Converted integer).
Fix an input or unexpected result
Source base is required. Enter source base using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.
