The Base Conversion Calculator converts numbers from one numbering system to another, such as binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). This tool solves the problem of translating values across bases—a frequent task in computer science, digital electronics, networking, and mathematics. Programmers, students, and engineers use it to understand binary or hexadecimal data, translate colour codes or file permissions, and verify base conversions quickly and accurately.
Enter the number you want to convert. Ensure the digits are valid for its source base (e.g., 1011 is valid in binary, but 1021 is not).
Specify the base of the original number (e.g., 2 for binary, 8 for octal, 10 for decimal, 16 for hexadecimal).
Choose the base you want to convert the number into (e.g., decimal to binary, hex to decimal).
Common scenarios: (1) Convert a binary string such as 1011₂ into its decimal equivalent; (2) Translate a hexadecimal value like 0x1A3 into decimal or binary for programming tasks; (3) Check octal file permissions (e.g., 755) by converting them to binary; (4) Convert decimal numbers into base 7 or base 9 for number theory exercises; (5) Translate RGB colour codes from hex to decimal values.
V = Σ(dᵢ × bⁱ) for i = 0 to n−1
Resulting value in decimal (base 10)
Source base of the number (e.g., 2, 8, 10, 16)
Number of digits in the original number
The i-th digit from the right, where 0 ≤ dᵢ < b
For '1A3'₁₆, the digits are 1, A, and 3. In hexadecimal, A represents 10.
The powers of 16 for each position (from right) are: 16² = 256, 16¹ = 16, and 16⁰ = 1.
Compute (1 × 256) + (10 × 16) + (3 × 1) = 256 + 160 + 3.
Total = 256 + 160 + 3 = 419. Therefore, 1A3₁₆ equals 419₁₀.
© 2025 PromathTools. All rights reserved.
Developed by kruskalcode.com