Scientific Calculator
Evaluate expressions using common math functions.
An expression-based scientific calculator
This scientific calculator takes a whole expression at once rather than making you press one button at a time. Type something like sin(45) + sqrt(16) * 2 and it is evaluated with correct operator precedence. Trigonometric, logarithmic, exponential and root functions are all supported, along with the constants pi and e.
How to use the Scientific Calculator
- Type your Expression into the field.
- Use function names directly:
sin,cos,tan,log,ln,sqrt. - Use
piandeas constants, and^for powers. - The result updates as you type; bracket generously if you are unsure of precedence.
Formula and a worked example
Standard precedence: brackets → powers → multiply and divide → add and subtract
log is base 10 and ln is natural log. Powers bind tighter than multiplication, so 2*3^2 is 18, not 36. When in doubt, add brackets — they cost nothing and remove all ambiguity.
Worked example
sqrt(16) * 2 + log(100) evaluates to 10: the root is 4, doubled to 8, and log base 10 of 100 is 2. Written without brackets as sqrt 16 * 2 the intent would be ambiguous — which is why the whole expression is parsed at once.
Frequently asked questions
Are trigonometric functions in degrees or radians?
Check the result of sin(30): if it returns 0.5 the calculator is in degrees. Convert manually with x * pi / 180 if you need radians.
What is the difference between log and ln?
log is base 10 — log(1000) = 3. ln is base e — ln(e) = 1.
How do I raise a number to a power?
Use the caret: 2^10 gives 1024. For roots use sqrt() or a fractional power such as 27^(1/3).
Why does my expression return a dash?
A dash means the expression could not be parsed — usually an unmatched bracket, a stray operator or a misspelled function name.
Related calculators
Other tools people use alongside the scientific calculator.