Scientific Calculator
Online scientific calculator with trig, inverse trig, hyperbolic, logarithmic, exponential, power, root, factorial, percent, modulo, memory, and history — with Rad/Deg modes and Auto/Sci/Eng display.
Calculator
Expression & Modes
Scientific Keypad
Scientific Result Summary
Function Values at x
| Function | Value |
|---|---|
| sin(x) | 0.7071 |
| cos(x) | 0.7071 |
| sin²(x) + cos²(x) | 1 |
| √|x| | 0.8862 |
| ln(|x|+1) | 0.5796 |
Results
Result
0
Enter an expression or press the keys
—
Raw double-precision value before display formatting
Radians
Trig inputs are interpreted in this unit
AUTO
Auto, scientific, or engineering notation
0
Stored value: M+ adds, M- subtracts, MR recalls
0
Up to 10 recent calculations are kept
0.7071
Sine of the current result
0.8862
Square root of the magnitude
Expressions evaluate in IEEE-754 double precision with standard PEMDAS precedence. Trig follows the selected Rad/Deg mode, % divides by 100, and Error signals undefined math rather than a guess.
Visualizations
Function Values at x (magnitudes)
Trig Identity: sin²x vs cos²x
Magnitude of Result
Result vs 10
Formula
Every keystroke builds an expression string. On evaluation the calculator rewrites display symbols to math calls, balances parentheses, binds trig to the selected angle mode, evaluates with standard precedence, and formats the double-precision result.
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| x | Expression value | number | The evaluated numeric result of the whole expression |
| θ | Angle input | rad | deg | Interpreted in the selected Rad/Deg mode |
| e | Euler's number | ≈2.71828 | Base of ln and exp; continuous-growth constant |
| π | Pi | ≈3.14159 | Circle constant; 2π radians = 360° |
| n! | Factorial | count | Product 1·2·…·n with 0! = 1 |
| M | Memory | number | Stored register behind M+, M−, MR, MC |
Explanation
A scientific calculator is an expression evaluator with a function table. Symbols are syntax sugar over Math.sin, Math.log, Math.sqrt, and friends; the angle mode only changes the trig rows of that table, and the display mode only changes the final formatting.
Derivation
sin_deg(x) = Math.sin(x·π/180); asin_deg(y) = Math.asin(y)·180/π; log(x) = ln(x)/ln(10); exp(x) = eˣ; x^(1/2) = √x; x^(1/3) = ∛x; n% = n/100; n! = 1·2·…·n; sin²x + cos²x = 1.
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Normalize display symbols into JavaScript math calls.
Balance parentheses so every opened group closes.
Resolve the angle mode for every trig call.
Dispatch named functions (sin, log, sqrt, factorial, mod, randint).
Evaluate with standard precedence (PEMDAS): parentheses, powers, ×/÷, +/−.
Format the raw value for the selected display mode.
Worked Examples
See how the calculator works with different scenarios.
Scenario
Evaluate 2+3×4²/(10−2) exactly as typed.
Inputs
Calculation
4² = 16 3×16 = 48 10−2 = 8 48/8 = 6 2+6 = 8
Result
8
Interpretation
Powers beat multiplication, parentheses beat everything. The calculator applies PEMDAS automatically, so no manual grouping is needed beyond the (10−2) term.
Understanding Your Result
Your Result: Result: 0
Typical range: sin/cos outputs always fall in [−1, 1]; sin²+cos² is exactly 1; factorial grows past 10! = 3,628,800 and overflows to Infinity near 171!. Values beyond ~1e15 switch to scientific display automatically.
What This Means
The Result is the double-precision value of your expression after symbol rewriting, angle-mode binding, and PEMDAS evaluation; the formatted text is that value rendered in Auto, Sci, or Eng notation.
Why It Matters
One wrong mode — degrees instead of radians, or a missing parenthesis — silently moves every downstream digit. Seeing the normalized pipeline and the unit-circle position makes such slips visible before they propagate.
Professional Interpretation
Treat the display as a 10-significant-digit window onto a 64-bit float: fine for engineering checks, but pair it with interval or exact arithmetic when cancellation or ill-conditioned trig near asymptotes matters.
Recommendations
- •Confirm Rad vs Deg before any trig key
- •Wrap denominators and exponents in parentheses
- •Use Sci/Eng mode when magnitudes pass 1e6 or 1e−4
- •Park intermediate values in M instead of retyping
- •Re-run edge inputs (0, negatives, huge powers) deliberately
- •Read Error as a domain signal, not a bug
Educational Content
Introduction
This scientific calculator evaluates typed mathematical expressions using the same precedence rules you learned for hand calculation, extended with a function table for trigonometry, logarithms, exponentials, roots, factorials, and statistics helpers.
Concept Explanation
An expression is a string that compiles to nested function calls. Rewriting (π→Math.PI, √→sqrt, ^→**) plus parenthesis balancing produces valid code; binding trig to Rad/Deg fixes the meaning of angles; evaluation reduces the tree bottom-up; formatting renders the float.
Applications
Benefits
- •One line replaces pages of intermediate hand arithmetic
- •Rad/Deg toggle removes the most common trig error class
- •History plus Ans makes multi-step derivations auditable
- •Sci/Eng notation keeps extreme magnitudes readable
- •Memory registers hold constants across expressions
Limitations
- •64-bit floats round: 0.1+0.2 displays 0.30000000000000004-class artifacts at full precision
- •% is unary (÷100), not the classic add-tax/discount postfix
- •No symbolic algebra: it evaluates numbers, not equations or integrals
- •Random output is pseudo-random, unsuitable for cryptography
Best Practices
- •Start trig work by stating the angle mode out loud
- •Parenthesize every exponent and denominator
- •Use Ans and M instead of copying rounded displays
- •Prefer Eng notation for circuit and lab values
- •Keep a history trail for anything you will defend later
Common Misconceptions
Practical Tips
- •Press Enter to evaluate; Backspace fixes one key, Escape restarts
- •Set Rad/Deg before typing any trig, not after
- •Type 10**x for antilog and e**x via exp(x) for growth
- •Chain with Ans instead of retyping long decimals
- •Bank constants (π multiples, rates) in M with M+
- •Use Sci mode to compare magnitudes at a glance
- •Auto-close lets you skip trailing ))) — but count them in long nests
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is a scientific calculator?
How do sin, cos, and tan work?
What is the difference between radians and degrees?
What is the difference between ln and log?
What is the exponential function (exp)?
What is factorial (n!)?
How do memory functions (M+, M-, MR, MC) work?
How do I use parentheses?
What is scientific notation?
What is engineering notation?
What is the order of operations (PEMDAS)?
How do I calculate powers and roots?
What are hyperbolic functions (sinh, cosh, tanh)?
What does the % button do?
What is the modulo operation?
What is the RND button?
Can I use my keyboard?
How does the history panel work?
Why do I get an Error?
What does Infinity mean?
What is the difference between floor, ceil, and round?
What is Euler's number (e)?
What is pi (π)?
How do inverse trig functions work?
What does the ± (negate) button do?
What is the difference between CE and AC?
Related Calculators
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
When each angle mode is the right contract.
ln, log, eˣ and the scales they unlock.
Parentheses habits that prevent PEMDAS bugs.
Sci vs Eng and estimating magnitudes fast.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- Expression
- A typed string of numbers, operators, functions, and parentheses that evaluates to one value.
- PEMDAS
- Precedence order: Parentheses, Exponents, Multiplication/Division, Addition/Subtraction.
- Radian
- Angle unit with 2π per circle; the native unit of calculus and programming trig.
- Degree
- Angle unit with 360 per circle; standard for geometry and navigation.
- Logarithm
- The exponent a base needs to reach a value; ln uses e, log uses 10.
- Factorial
- n! = 1·2·…·n with 0! = 1; counts orderings of n distinct items.
- Scientific notation
- a×10ⁿ form with 1 ≤ |a| < 10 for extreme magnitudes.
- Engineering notation
- Scientific notation with exponents restricted to multiples of 3.
- Memory register
- A stored number manipulated by M+, M−, MR, and MC.
- Ans
- Shorthand inserting the most recent result into the next expression.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
2026-08-07
2.0.0
Free to use for educational and professional purposes.