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.

Popup Calculator Bookmarklet -
Open the calculator anytime by dragging this Javascript
link to your bookmarks/favorites or by right clicking on it and bookmarking/adding to favorites.

Pop up this calculator from your web page, just copy this code:

License

This program is free software;you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation;either version 2 of the License, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU
General Public License for more details.