Enter an expression into the tan bar and press enter to calculate the results.

This calculator remembers up to twenty past calculations in history. To save the history
between visits you must have cookies enabled.

All results are calculated using the Javascript eval() function. Syntax for expressions
is the same as that for Javascript.

This calculator can handle input numbers in several different bases:

Decimal (Base 10): Numbers that do not start with a zero like 15 or 3.14e15.
Decimal numbers can contain digits 0-9, decimals, and scientific notation.

Hexadecimal (Base 16): Integers that start with a zero x like 0x1a5. Hexadecimal numbers
can contain digits 0-9 and a-f (or A-F) but no decimal or scientific notation.

Octal (Base 8): Integers that start with a zero like 073. Octal numbers
can contain digits 0-7 but no decimal or scientific notation.

Binary (Base 2): Integers that start with a zero b like 0b101. Binary numbers
can contain digits 0 and 1 but no decimal or scientific notation.

^ is a bitwise xor operation. To raise a number to a power use pow() function.