Base converter and calculator
Convert signed integers between bases 2–36 and perform exact arithmetic, remainder or bitwise operations.
Get started
- Use the example values or enter your own measurements.
- Calculate, then copy the result or download the available details.
Example
Input
FF, base 16 to base 10Expected result
255Good to know
The calculation runs in your browser. Use consistent units in fields with no explicit unit.
Calculation method
BigInt preserves integer precision. Division truncates toward zero. Bitwise operations use signed BigInt semantics. Each operand is limited to 256 digits.
Calculation mode
Convert base
- Integer
- Input base
- Output base
- Minimum output digits
Integer arithmetic
- First integer
- Second integer
- Input base
- Output base
- Minimum output digits
- Operation · Add / Subtract / Multiply / Divide / Remainder / AND / OR / XOR