فارسی

Online Scientific Calculator

Evaluate expressions with parentheses, powers, roots, logarithms, trigonometry, factorial and percent, in degrees or radians.

Use this tool in your browser without installing software.

About this tool

This calculator reads an expression like a maths sheet: parentheses, right-associative powers, multiplication and division, addition and subtraction, unary minus, factorial and percent. Sine, cosine, tangent and their inverses, base-ten and natural logarithms, roots, absolute value, exponential and rounding are included. Choose degrees or radians, and the history of this session stays under the result. The expression is parsed safely, not with eval; errors such as division by zero or the root of a negative number come with a clear message. No expression is sent to a server.

How to use it

  1. 1

    Type the expression or build it with the keys; parentheses and functions are on the pad.

  2. 2

    Choose degrees or radians and press equals.

  3. 3

    Copy the result or reuse an entry from the history.

If the answer looks wrong

  • Equals does not give a result.

    Complete the expression; a bracket or an operator is left open. The error under the box names the cause.

  • The result differs from another calculator.

    Check the degree/radian mode and the power order. Some calculators treat -2^2 as 4, while this page reads it as -4.

  • A large number is shown with e.

    For values above a trillion or below a billionth, scientific notation is more readable. The value is the same.

Frequently asked questions

What is the order of operations?

Parentheses first, then powers (right to left), then multiplication and division, then addition and subtraction. A leading minus negates the whole expression, so -2^2 is -4 and (-2)^2 is 4.

What is the difference between degrees and radians?

The input and output of trigonometric functions depend on the angle unit. sin(30) is 0.5 in degrees and a different value in radians. The same choice applies to the inverse functions.

How do percent and factorial work?

The % sign divides the number by 100, so 200*10% is 20. The ! sign is the factorial of a non-negative integer; 5! is 120, and a fractional or larger-than-170 factorial is an error.

Why does my result show an error?

Division by zero, the root of a negative number, log of zero or a negative, an input outside −1 to 1 for asin, and an incomplete expression all produce an error. The message under the box names the case.

Is my expression sent anywhere?

No. Parsing and calculation run entirely in your browser, and no expression is sent to a server.