About Calculator
This is an expression calculator: you type a whole calculation and it is evaluated with the standard order of operations. Brackets come first, then functions, powers (right to left), multiplication and division, then addition and subtraction. A trailing % divides the value by 100 and ! is the factorial, up to 170!. Here log is base 10 and ln is the natural logarithm. Results are rounded to 12 significant digits.
Also known as: Scientific Calculator.
How to use Calculator
- Type or paste into the "Expressions (one per line)" box, or press "Use example" to try it with sample data.
- Set "Angles in degrees" if the defaults do not fit.
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about Calculator
What is the difference between log and ln here?
log is the base-10 logarithm, so log(1000) is 3. ln is the natural logarithm with base e, so ln(e) is 1. Use exp(x) for e raised to the power x.
Can I type numbers with thousands separators?
No. A comma is read as a decimal point, so 1,250 means 1.25. Type 1250 without separators. Both 0.5 and 0,5 are accepted as one half.
Why does sin(30) give 0.5?
The degrees option is on by default, so sin, cos, and tan read their input in degrees and the inverse functions return degrees. Untick it to work in radians.
Runs in your browser. Page last updated .