Evaluated result0
Supported functions and syntax
| Function / Operator | Meaning | Example |
|---|---|---|
| sin(x), cos(x), tan(x) | Trigonometric functions (radians) | sin(0) = 0 |
| log(x) | Base-10 logarithm (x > 0) | log(100) = 2 |
| sqrt(x) | Square root (x ≥ 0) | sqrt(144) = 12 |
| ( ) | Grouping with standard operator precedence | (2 + 3) * 4 = 20 |
Formula and worked example
Standard PEMDAS / BODMAS order: Parentheses → Functions → Multiplication & Division → Addition & Subtraction
Evaluating sqrt(144) + log(100) computes 12 + 2 = 14, and 2 + 3 * 4 respects multiplication precedence to return 14.
How to use this calculator
- Click keypad buttons or type directly into the expression field.
- Always close parentheses after sin(, cos(, tan(, log(, or sqrt(.
- Press "=" or Enter to evaluate the expression cleanly.
Limitations and assumptions
Trigonometric functions accept angles in radians rather than degrees. To convert degrees to radians, multiply degrees by 3.14159265 / 180 inside the function call.
Frequently asked questions
Do sin, cos, and tan use degrees or radians?
They use radians, matching standard JavaScript and scientific programming libraries.
What base does log() use?
log(x) calculates the common base-10 logarithm (log₁₀).
Written by Free Calculator Editorial TeamLast reviewed 2026-12-05Sources: NIST Digital Library of Mathematical Functions