Base calculator

Base calculator is a free to use and open source tool to calculate numbers with base n like Binary, Octal, Decimal and Hexadecimal.

Select the base:

Enter your calculation:

(You can only use one operator at a time.)

Here is the result:

How it works

The algorithm is based on the parseInt()-function in JavaScript; It converts the input string into two numbers with base n, seperatet by the arithmetic operator. It then calculates the two numbers and converts the output from a number with base n back to string and then prints the result.

Credits

Elias Kelta (eliaskelta.netlify.app)

Github: https://github.com/Elxas866/base-calculator