Mathematics

Number Base Converter

Convert signed integers between bases 2–36 without loss of precision. Do not include prefixes.

01Input and settings

The calculation runs in your browser. You can use the tool without installing software.

02Result

Waiting for input
Waiting for input

Enter your values or load the example to see the result here.

About this tool: Number Base Converter

Convert signed integers between bases 2–36 without loss of precision. Do not include prefixes.

Enter a signed integer and choose the source and target bases between 2 and 36. Letters A–Z represent digits above nine. The converter uses integer arithmetic for values larger than JavaScript’s safe-number range; prefixes such as 0x are not part of the input syntax.

How the calculation works

value = Σ digitᵢ × baseⁱ

Worked example

Input
65535
Source base (2–36)
10
Target base (2–36)
16
65535₁₀ = FFFF₁₆

Questions and answers

What does this tool do?

Convert signed integers between bases 2–36 without loss of precision. Do not include prefixes. Enter a signed integer and choose the source and target bases between 2 and 36. Letters A–Z represent digits above nine. The converter uses integer arithmetic for values larger than JavaScript’s safe-number range; prefixes such as 0x are not part of the input syntax.

What affects precision and input format?

These operations preserve integer or decimal precision with string and integer arithmetic. Input size is limited to keep the page responsive.

Where are the calculations performed?

The calculation runs in your browser. You can use the tool without installing software.

Comments (0)

Share your thoughts — please be polite and stay on topic.

No comments yet. Leave a comment — share your opinion!

To leave a comment, please log in.

Log in to comment