Java scientific calculator

This calculator is designed to illustrate the main features of modern desktop calculators. In particular, the statistics functions for mean and standard deviation are implemented.

The calculator can run either as an applet or as a standalone application. Note that the calculator uses extensively features of Java 2 5.0 and cannot be compiled or run with earlier versions of Java. An old version of the calculator that runs with Java 2 1.4 is the Java 2 1.4 Calculator.

If you want to improve the calculator (e.g. by adding some features) have a look at the Parser class, which does all the function evaluations and the CalculatorApplet class, which handles the GUI.

You may wish to look at the documentation if you wish to adapt the calculator for your own use.

Calculator Calculator button

You will need a java plugin for this web page to work properly. If you don’t have one, you can get one from Sun Microsystems. Some java plugins, notably the ones from Microsoft, but also some older plugins won't work with the java applet on this page.

You may freely download and use the source code for the applet. It is written in Java. You can also download files, including a Windows executable from sourceforge.net.

John Lamb
Last modified: Sat Dec 1 20:29:40 GMT 2007