Math Calculator

Scientific Calculator

Work with brackets, powers, roots, trigonometry, logarithms and factorials in your browser.

Maintained by Kumara Samigari LokeshMethod: JavaScript Math functions; angles in radiansMethods and limitations

What this calculator does

Build an expression with the buttons, including brackets, and press = to evaluate it. It supports sine, cosine and tangent, base-10 and natural logarithms, square roots, powers (^), factorials (n!), and the constants π and e. The previous expression is shown above the result; ⌫ deletes the last character.

Important: angles are in radians

The trigonometric functions use radians, not degrees. sin(π/2) = 1, but sin(90) is about 0.894, because 90 radians is a different angle. To use degrees, multiply by π/180 inside the function: for sin 30°, enter sin(30 × π ÷ 180), which gives 0.5.

Worked examples

  • sin(π/2) = 1
  • 2^10 = 1,024
  • log(1000) = 3 (base 10); ln(e) = 1
  • sqrt(2) = 1.414214
  • 5! = 120 (factorial works on the whole number currently shown, up to 170)
  • Compound growth: 100000 × (1 + 0.08/4)^20 ≈ 148,594.74

Keys that behave differently

  • % is the remainder (modulo) operator, not percent. 17 % 5 = 2. For percentages, multiply by the decimal instead (× 0.18 for 18%).
  • ^ means “to the power of”. Close brackets around negative bases: (−2)^2 = 4.
  • log is base 10 and ln is base e.

Precision

Results are shown to up to six decimal places. Computers store numbers in binary floating point, so a result such as sin(π) may display as a tiny number like 1.2e-16 before rounding instead of exactly 0. After rounding to six places it shows 0.

Common mistakes

  • Entering degrees into sin, cos or tan.
  • Using % for percent.
  • Forgetting a closing bracket, which gives an error.

FAQs

Is the calculator in degrees or radians?

Radians. Convert degrees by multiplying by π/180.

What does the % key do?

It gives the remainder after division (modulo), for example 17 % 5 = 2.

What is the difference between log and ln?

log is base 10; ln is the natural log, base e (about 2.71828).

How large a factorial can it calculate?

Up to 170!, the largest that fits in standard floating-point numbers.

Can I use it for exam practice?

Yes, but check which calculators your exam allows.