Scientific Calculator

Type an expression with brackets, powers, roots, trig, logs and factorials. See the answer, how it was read, and scientific notation.

Use + − × ÷ ^ ( ) !, a decimal point, pi or π, e, and sqrt, cbrt, abs, sin, cos, tan, asin, acos, atan, ln, log, log2, exp with brackets, e.g. sin(30).
Used by sin, cos, tan (input) and asin, acos, atan (output).

Results

Result
94
Rounded to 12 significant digits.
Read as
2 × (3 + 4) ^ 2 − √(16)
Check this matches what you meant.
Scientific notation
9.4 × 10¹

How it’s calculated

Type a whole expression and the calculator works it out in the standard order of operations (brackets, then exponents and roots, then multiplication and division from left to right, then addition and subtraction from left to right). It uses its own safe parser, so only the maths symbols below are understood.

Precedence (highest first)Operators
1Brackets ( ) and function arguments
2Factorial n!
3Power ^ (right to left: 2^3^2 = 2^9 = 512)
4Unary minus: −2^2 = −(2^2) = −4; write (−2)^2 for 4
5× ÷ and implicit multiplication (left to right)
6+ −

Example: 2 × (3 + 4)^2 − √16. Brackets first: 3 + 4 = 7. Then the exponent: 7² = 49. Then × : 2 × 49 = 98. √16 = 4. Finally 98 − 4 = 94.

Frequently asked questions

Why is −2^2 equal to −4 and not 4?

Exponents are done before the minus sign, so −2^2 means −(2^2) = −4. To square negative two, write (−2)^2 = 4.

Is 6 ÷ 2(1 + 2) equal to 9 or 1?

This calculator treats implicit multiplication like ×, working left to right: 6 ÷ 2 = 3, then 3 × 3 = 9. The “Read as” line shows this. Write 6 ÷ (2(1 + 2)) if you want 1.

How do I switch between degrees and radians?

Use the Angle mode drop-down. In degrees, sin(30) = 0.5. In radians, sin(30) is about −0.988.

What is 0^0?

This calculator returns 0^0 = 1, the usual convention in algebra and computing. 0 to a negative power is a division by zero and gives an error.

Is anything I type sent anywhere or run as code?

No. The expression is read by a small built-in parser in your browser and never evaluated as code or sent to a server.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator