What is a Number Base Converter?
A number base (or radix) converter translates a number written in one positional numeral system into another. The four most common bases in computing are binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). This universal tool works with any of those four and shows the equivalent decimal value as a reference.
How to Use It
Type your number, pick the base it is currently written in ("From base"), then pick the base you want it converted to ("To base"). Hexadecimal accepts the letters A–F (case-insensitive). The result appears instantly, along with the plain decimal value so you can sanity-check the conversion.
The Formula Explained
Converting to decimal uses positional notation: every digit is multiplied by the base raised to its position index (counting from 0 on the right), and the products are summed: $$V = \sum d_i \times b^{i}$$ Converting from decimal to the target base uses repeated division — divide by the target base, record the remainder, repeat with the quotient until it reaches zero, then read the remainders in reverse order.
Worked Example
Convert binary 1010 to decimal: $$1\times2^{3} + 0\times2^{2} + 1\times2^{1} + 0\times2^{0} = 8 + 0 + 2 + 0 = 10$$ Now convert 10 to hexadecimal: \(10 \div 16 = 0\) remainder \(10\), and digit 10 is "A", so the hex result is A.
FAQ
Does it handle negative numbers? Yes — a leading minus sign is preserved through the conversion.
Can it convert fractions or decimals points? No, this tool converts whole (integer) numbers only.
Why is hexadecimal shown with letters? Bases above 10 need extra symbols; A–F represent the values 10–15.