Scientific Calculator
Evaluate math expressions online with support for arithmetic operators, scientific functions, trigonometry, logarithms, roots, and standard constants.
Run tool
This online scientific calculator evaluates mathematical formulas and numeric expressions directly in the tool interface. Enter basic arithmetic operations such as addition, subtraction, multiplication, true division, integer division, and powers, or apply advanced scientific functions. The tool supports standard single-argument operations including square roots, absolute values, trigonometric calculations, hyperbolic functions, logarithms, angle conversions, and rounding routines. You can also evaluate multi-argument functions such as base-specific logarithms, two-argument arctangents, and hypotenuse calculations, alongside standard mathematical constants like pi, e, and tau. When you run a valid expression, the tool displays formatted numeric output rounded up to ten decimal places for finite floating-point numbers, or comma-separated notation for large whole numbers. Complex numbers arising from fractional exponents of negative bases are also handled cleanly with component rounding. If an expression contains unbalanced syntax or an undefined operation like division by zero, the calculator displays a clear error notice so you can adjust your formula.
Instructions
- Type or paste your math formula into the Expression field.
- Include supported arithmetic operators, constants like pi or e, and scientific functions such as sqrt, sin, or log.
- Click the calculation button to evaluate your formula and review the formatted numeric result.
Examples
- Enter 2 + 3 * 4 to calculate standard operator precedence and receive 14.
- Enter sin(pi / 2) + sqrt(16) to evaluate trigonometry and square roots to reach 5.
- Enter log(100, 10) + hypot(3, 4) to combine a base-10 logarithm with a hypotenuse calculation for a result of 7.
FAQ
Which mathematical constants can I use in expressions?
You can use named constants such as pi, e, tau, positive infinity (inf), and not-a-number (nan) directly in your formulas.
How are decimal outputs formatted?
Finite floating-point answers are rounded to ten decimal places without trailing zeros, while whole numbers under 1e15 are formatted as clean integers.
Does the calculator support complex numbers?
Yes. Calculations that produce complex values, such as raising a negative base to a fractional exponent, return real and imaginary components rounded to ten decimal places.
What happens if an invalid expression or division by zero is entered?
When an expression contains syntax errors, unsupported function names, or undefined math operations like division by zero, the tool returns a descriptive error message.