Scientific Calculator
Evaluate an expression with roots, powers, logarithms and trigonometry.
Formula and sources updated · Data sources · 1View algorithm, constants and default inputs (JSON)
About this calculator
Use ASCII operators and parentheses: +, -, *, /, %, ^ and ( ). The parser also accepts pi, e and the listed functions. Trigonometric inputs and inverse outputs follow the selected degree/radian mode. Expressions are limited to 200 characters; unsupported syntax is rejected.
Worked example
calculated with the default values below
Expression sqrt(16) + sin(30) * 2 · Angle mode Degrees · Decimal places 6 Answer 5.00000000 · Rounded 5.000000 · Scientific notation 5.0000e+0 · Functions used sqrt, sin · Angle mode degrees · Order of magnitude 0
Method and assumptions
y = f( ), ( ) → ^ → (−)_u → × ÷ % → + − A bounded 200-character recursive-descent parser accepts arithmetic, powers, parentheses, pi, e and the listed Math functions; it does not evaluate arbitrary JavaScript. Trigonometric input and inverse output use the selected angle mode. Use ASCII operators and parentheses: +, -, *, /, %, ^ and ( ). The parser also accepts pi, e and the listed functions. Trigonometric inputs and inverse outputs follow the selected degree/radian mode. Expressions are limited to 200 characters; unsupported syntax is rejected. The references explain definitions and methods; any extra preset must be checked against the assumptions on this page.
Data sources
The references explain definitions and methods; any extra preset must be checked against the assumptions on this page.
Disclaimer
These calculators give general mathematical results. They suit study, planning and estimation — verify anything that feeds a graded submission, a published figure or a financial commitment.
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Formula and variables
y = f( ), ( ) → ^ → (−)_u → × ÷ % → + −
- E
- Expression text
- y
- Computed numeric result
- f
- Function: sqrt, ln, log, sin, exp…
- →
- Precedence order, tightest binding first
- ^
- Exponent operator
- (−)_u
- Unary minus, applied before its operand
- %
- Remainder operator
A bounded 200-character recursive-descent parser accepts arithmetic, powers, parentheses, pi, e and the listed Math functions; it does not evaluate arbitrary JavaScript. Trigonometric input and inverse output use the selected angle mode.
Frequently asked questions
How are expressions evaluated?
The calculator follows operator precedence and accepts only the listed functions. A function call such as sin(1+2) evaluates the full expression inside its parentheses. Missing parentheses, trailing text, and non-finite results show an input error.
Which inputs and limits apply to Scientific Calculator?
Use the units shown beside each field. These are form limits, not recommended settings. Decimal places: 0–12 y = f( ), ( ) → ^ → (−)_u → × ÷ % → + − A bounded 200-character recursive-descent parser accepts arithmetic, powers, parentheses, pi, e and the listed Math functions; it does not evaluate arbitrary JavaScript. Trigonometric input and inverse output use the selected angle mode. Use ASCII operators and parentheses: +, -, *, /, %, ^ and ( ). The parser also accepts pi, e and the listed functions. Trigonometric inputs and inverse outputs follow the selected degree/radian mode. Expressions are limited to 200 characters; unsupported syntax is rejected. The references explain definitions and methods; any extra preset must be checked against the assumptions on this page.
What is a complete worked example for Expression = sqrt(16) + sin(30) * 2; Angle mode = Degrees?
Inputs: Expression = sqrt(16) + sin(30) * 2; Angle mode = Degrees; Decimal places = 6. Calculation: y = f( ), ( ) → ^ → (−)_u → × ÷ % → + −. Results: Answer = 5.00000000; Rounded = 5.000000; Scientific notation = 5.0000e+0; Functions used = sqrt, sin; Angle mode = degrees; Order of magnitude = 0.