Base Converter

Our Base Converter makes it easy to convert numbers between different bases. Whether you need to convert binary to decimal, decimal to hexadecimal, or any other base conversion, this tool handles it all in real-time.

How it works

  1. 1

    Enter a number in any of the input fields.

  2. 2

    The tool automatically converts to all other bases.

  3. 3

    See results for binary, octal, decimal, and hexadecimal.

  4. 4

    Copy any result with one click.

Examples

Input

Decimal 255

Output

Binary: 11111111, Octal: 377, Hex: FF

255 in decimal equals 11111111 in binary, 377 in octal, and FF in hex.

Input

Binary 1010

Output

Decimal: 10, Octal: 12, Hex: A

1010 binary = 10 decimal = 12 octal = A hex.

Input

Hex 1A

Output

Decimal: 26, Binary: 11010, Octal: 32

1A hex = 26 decimal = 11010 binary = 32 octal.

Frequently asked questions

A number base (or radix) is the number of unique digits used to represent numbers. Common bases are 2 (binary), 8 (octal), 10 (decimal), and 16 (hexadecimal).

Multiply each binary digit by its power of 2 and sum the results. For example, 1010 = 1×8 + 0×4 + 1×2 + 0×1 = 10.

Hexadecimal is commonly used in computing for representing memory addresses, color codes, and binary data in a more readable format.

Yes, our base converter is 100% free to use with no limitations.

Related tools