Number base converter
Number base converter: use whole number, source base, target base. Review the formula, worked example and calculation steps.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
Accumulate source digits, then express the integer in the target base.
Variables & units
- Whole number
- Text input
- Source base
- Numeric value · minimum 2, maximum 36
- Target base
- Numeric value · minimum 2, maximum 36
Worked example
FF in base 16 is 255 in base 10.
Assumptions
Whole numbers only; bases 2–36 use 0–9 and A–Z.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Calculated on your device. Automatic history is disabled for these inputs.