Conversor de Base Numérica
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
converte inteiro entre bases (2 a 36)
About this calculator
The Base Number Converter is an online tool that transforms integers from one base (2 to 36) to another base (also 2 to 36). It works by converting the number to base 10 (decimal) and then to the target base, using digits 0-9 and letters A-Z to represent values greater than 9. For example, the hexadecimal number "FF" is converted to decimal as 255. This calculator is useful for programmers, computer science students, and math enthusiasts who need to work with different numeral systems, such as binary, octal, decimal, and hexadecimal.
You can use this calculator in various practical situations: converting IP addresses from hexadecimal to binary, interpreting hexadecimal color codes in web design, or solving computer arithmetic exercises. It is also helpful for verifying manual conversion results or understanding how numbers are represented in different bases. The process is simple: enter the number, select the source base and target base, and click "Convert". The result appears instantly.
Important precautions: ensure the entered number is valid in the source base (e.g., digits 0-1 for binary, 0-7 for octal, 0-9 and A-F for hexadecimal). The calculator accepts uppercase and lowercase letters, but using uppercase is recommended to avoid confusion. Also, note that conversion is limited to integers; fractional numbers are not supported. For very large numbers, there may be size limitations due to JavaScript precision.
Frequently asked questions
Which bases are supported?
Bases from 2 to 36 are supported, including binary, octal, decimal, and hexadecimal.
Can I convert numbers with a fractional part?
No, the calculator only converts integers. Numbers with decimals are not accepted.
How do I enter a number in a base greater than 10?
Use letters A-Z to represent values 10 to 35. For example, hexadecimal "1A" represents 26 in decimal.
What happens if I enter an invalid character?
The calculator will display an error message stating that the number is not valid in the source base.
What is the precision for large numbers?
The conversion uses JavaScript integers, which have exact precision up to 2^53. Larger numbers may lose accuracy.