Scientific Calculator with history function

pocket calculator:

result:
std:
sci:

 

history log:

Available operators: + - * / % ** ^
Functions: ln() e() lg() pow(,) sqrt() sin() cos() tan() asin() acos() atan() fact()
Constants: pi
Variables (result of previous calcualtion, inital value=0): r
Define own variables in front of the formula (note the semicolon): A=2.3; 1/(2+A)
Example: (3 + 5) * 2.3
Example: pow(2,3) + 2
Example: L=4.7E-3;C=10E-9;1/(2*pi*sqrt(L*C))
Example: 12E-2 * 3
Example: sin(pi/2)

Please turn on JavaScript!

Usage: Type your equation into the green/yellow box and hit enter to calculate the result or press the calculate button. You can hover with the mouse cursor over the functions to get an explantion as to what they do. You can use the result of the previous calculation in the next one by refering to it via the variable "r". Example: First you calculate 32/16 this results in 2 now you can enter sqrt(r) to calculate sqrt(2).


© Guido Socher, version 2022-10-01
History: 2012-05-02 -- first version, 2018-04-13 -- added log function, 2018-05-18 -- code review, 2018-05-22 -- inline icon, 2022-09-29 -- added variables, 2022-10-01 -- code cleanup