Number base converter

Convert integers between bases 2 and 36.

Calculation inputs

Number in target base

255
QR code

How the calculation works

Each digit is weighted by its position and base. Use an optional leading + or −, digits 0–9 and letters A–Z. A represents 10 and Z represents 35. Enter up to 64 digits.

Example

Hexadecimal FF equals decimal 255.

Integer representation in different bases — ECMA

Method checked