Base Converter
Base Converter is evaluated from Number to Convert, From Base and To Base. The calculation reports Result, Decimal Intermediate and Digits Used.
Results
About the Base Converter
The calculator uses a multi formula configuration. Each reported value is read as a direct evaluation of the stored rules with the declared field formats and units.
Formula basis:
To decimal: sum of (digit x base^position)
Interpret the outputs in the order shown by the result fields. Optional inputs affect only the outputs that depend on those variables.
Formula & How It Works
The calculation applies the following relations exactly as recorded in the metadata: To decimal: sum of (digit x base^position) Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.
Worked Examples
Example 1: Base 5 to Decimal — Math Contest
Inputs
With Number to Convert = 2,314, From Base = 5 and To Base = 10 as the stated inputs, the result is Result = 334, Decimal Intermediate = 334 and Digits Used = 0-9. Each value corresponds to the declared output fields.
Example 2: Hex to Binary — Network Mask
Inputs
With Number to Convert = FFFF0000, From Base = 16 and To Base = 2 as the stated inputs, the result is Result = 11111111111111110000000000000000, Decimal Intermediate = 4294901760 and Digits Used = 0-1. Each value corresponds to the declared output fields.
Example 3: Base 36 — URL Shortener Code
Inputs
With Number to Convert = XK2F, From Base = 36 and To Base = 10 as the stated inputs, the result is Result = 1565655, Decimal Intermediate = 1565655 and Digits Used = 0-9. Each value corresponds to the declared output fields.
Example 4: Base 12 (Duodecimal) — Dozens
Inputs
With Number to Convert = 100, From Base = 12 and To Base = 10 as the stated inputs, the result is Result = 144, Decimal Intermediate = 144 and Digits Used = 0-9. Each value corresponds to the declared output fields.
Common Use Cases
- Convert between any number bases for programming
- Learn positional notation systems
- Convert base 36 encoded strings
- Explore number theory concepts