Examples for

Base Conversions

From binary to hexadecimal and beyond, Wolfram|Alpha has a powerful algorithmic understanding of non-decimal number systems. Use our computational understanding to convert between different number bases or to do computations in both a single non-decimal base or with a mix of different bases.

Base Conversions

Convert numbers to and from their representations in a wide variety of bases and numeral systems.

Convert a decimal number to another base:

Convert a number in a given base to decimal:

Convert a number from one base to another:

Convert C-notation hexadecimal numbers to decimal:

More examples

Computations

Perform computations in a specified base system or with a mix of bases.

Do computations with numbers in a given base:

Do mixed-base computations:

Compare numbers in different bases:

Represent bases using Wolfram Language notation:

More examples