Keyboard shortcuts (Alt or Cmd):
  • Clear
  • Equals
  • History (previous)
  • Display (cycle)
  • Decimal mixed display
  • Decimal Scientific display
  • Decimal Engineering display
  • Binary display
  • Octal display
  • Hex display
  • Last Answer

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:

^ 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:


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.

scientific calculater, binary calc, octal, hex, hexadecimal, hexidecimal

More converters, calculators, and other JavaScript goodies
ostermiller.org (site index)

Copyright Stephen Ostermiller 2002-2021