Base-n converter

Calculus base_converter

Calculus in processing ... please wait

Function : base_converter

Summary :

The calculator allows you to make decimal, binary, hexadecimal conversions, and more generally to any base n between 2 and 36.

base_converter online

Description :

The calculator allows to convert any integer number into any base (n), with n between 2 and 36. The calculator accepts between 1 and 3 parameters, it returns, depending on the number of parameters, a number converted into binary, octal, decimal, hexadecimal or base n.

Conversion of a decimal number into binary, octal and hexadecimal.

The calculator can convert a number into base 10 (decimal), base 2 (binary), base 8 (octal) and base 16 (hexadecimal). So to convert 1024 to base 2, base 8, and base 16, just enter the following expression : base_converter(1024)

Conversion from hexadecimal to decimal, octal and binary.

The calculator can convert a number into base 16 (hexadecimal), base 2 (binary), base 8 (octal) and base 10 (decimal). So to convert 11f to base 2, base 8, and base 10, just enter the following expression : base_converter(11f)

Conversion of a number to base n, binary, octal, decimal and hexadecimal

The number to be converted can be given in a base other than 10. To do so, you just have to specify the base of the number to convert. Thus to convert the number 1000000 into base 2, decimal, octal, and hexadecimal, you just have to enter the following expression : base_converter(1000000;2), after calculation, the result of the conversion of the binary number 1000000 is returned.

Conversion of a number in base n, to another base.

The calculator can convert numbers to any base n (n must be an integer between 2 and 36), to do so, you just have to specify the initial base and the desired base. For example to convert the hexadecimal number 888 to base 10, the following syntax must be used : base_converter(888;16;10), after calculation, the result of the conversion of the hexadecimal number to a decimal number is returned.

The calculator allows you to make decimal, binary, hexadecimal conversions, and more generally to any base n between 2 and 36.

Syntax :

base_converter(number;from_base;to_base)

Examples :

base_converter(32;10;16) returns 20

Calculate online with base_converter (Base-n converter)