Worked example

a: FF
Input base: 16
Output base: 2

→ 11111111; 10: 255

Method and scope

Bases 2–36, integers only, at most 1,024 input characters. Letters are case insensitive. Prefixes 0b, 0o and 0x are accepted only when they match the selected base. Negative values retain their sign.

value = Σ digitᵢ × baseⁱ

Precision and limits

≈ marks an approximation. Display rounding does not change the internal calculation.