Scientific Calculator

Full scientific calculator with trigonometry, logarithms, exponents, factorial, constants. Browser-based.

Result

-
Functions: sin, cos, tan, asin, acos, atan, log, ln, sqrt, exp, abs, floor, ceil, round, factorial(n) or n!, pow(x,y) or x**y. Constants: pi, e. Operators: + - * / % ^ ()
Was this tool helpful? Rate it:

What is this online scientific calculator?

The MavexTech Scientific Calculator evaluates a whole typed expression — such as sqrt(3^2 + 4^2), sin(30 * pi / 180) or 100000 * (1 + 0.08)^5 — and returns the answer to up to 10 decimal places. It supports powers, roots, trigonometry and inverse trigonometry, base-10 and natural logarithms, ex, factorials, rounding functions, the modulo operator and the constants π and e. Because you type the full expression on one line, you can see and edit everything before calculating, which is easier to check than pressing keys on a handheld calculator.

It suits school and college maths and physics, engineering estimates, finance formulas, and quick checks while coding. Everything runs in your browser.

How to use it

  1. Type an expression in the box, using the functions and operators listed below. Example: 2*pi*5 (the circumference of a circle of radius 5).
  2. Press Calculate. The result appears below; for 2*pi*5 it is 31.4159265359.
  3. Edit and recalculate — change one number and press Calculate again.

Always write multiplication explicitly: 3*(4), not 3(4), and 2*pi, not 2pi.

Supported functions and operators

Type thisMeaningExampleResult
+ - * /add, subtract, multiply, divide8/2*416
^ or **power2^101024
%remainder (modulo)17 % 52
sqrt(x)square rootsqrt(144)12
pow(x, y)x to the power ypow(2, 0.5)1.4142135624
exp(x)exexp(2)7.3890560989
log(x)base-10 logarithmlog(1000)3
ln(x)natural logarithm (base e)ln(10)2.302585093
sin, cos, tantrigonometry, angle in radianssin(pi/2)1
asin, acos, ataninverse trig, answer in radiansatan(1) * 180 / pi45
n! or factorial(n)factorial5! / (2! * 3!)10
abs, floor, ceil, roundabsolute value and roundingfloor(-2.5)-3
pi, econstants2*e5.4365636569

Degrees vs radians

The trig functions work in radians, as in most programming languages. To use degrees, multiply the angle by pi/180. Typing sin(90) gives 0.8939966636 (the sine of 90 radians), while sin(90*pi/180) gives 1. To turn an inverse-trig answer into degrees, multiply by 180/pi: asin(1) * 180 / pi = 90.

Standard angles, as the calculator returns them:

Anglesin(θ*pi/180)cos(θ*pi/180)tan(θ*pi/180)
0°010
30°0.50.86602540380.5773502692
45°0.70710678120.70710678121
60°0.86602540380.51.7320508076
90°16.123234e-17 (i.e. 0)1.633124e+16 (undefined)

cos 90° should be exactly 0 and tan 90° is undefined; the tiny and huge numbers come from π being stored with limited precision. Treat anything around e-16 or e-17 as zero.

Order of operations

The calculator follows normal precedence: brackets first, then powers, then multiplication, division and %, then addition and subtraction, left to right. 1+2*3 = 7 but (1+2)*3 = 9. Powers group from the right, so 2^3^2 means 29 = 512. A minus sign directly before a power is applied after the power, as in standard maths: -2^2 = -4, while (-2)^2 = 4.

Worked examples

  • Pythagoras: sqrt(3^2 + 4^2) = 5.
  • Area of a circle, radius 5: pi * 5^2 = 78.5398163397.
  • Compound interest: ₹1,00,000 at 8% a year for 5 years: 100000 * (1 + 0.08)^5 = 146932.80768, i.e. about ₹1,46,932.81. Monthly compounding at 12% for 10 years: 100000 * (1 + 0.12/12)^(12*10) = 330038.689457367.
  • GST at 18%: 1.18*2500 = 2950.
  • Weight force of 70 kg: 9.81*70 = 686.7 newtons.
  • Combinations: 4!/(2!*2!) = 6 ways to choose 2 of 4.
  • Logs: log(2) = 0.3010299957 and ln(2) = 0.6931471806.

Tips

  • Use brackets generously — they cost nothing and avoid precedence surprises.
  • Function names and constants are lowercase: pi, e, sqrt.
  • For a cube root, use a fractional power: 8^(1/3). There is no cbrt.
  • Results with magnitude above 10,000,000,000 or below 0.0001 switch to scientific notation, e.g. 2^40 = 1.099512e+12 and 20! = 2.432902e+18.
  • For an exact large factorial, use the Factorial Calculator; for logs in any base, the Logarithm Calculator.

Limitations

  • Numbers are double-precision floating point, accurate to about 15–16 significant digits. That is why sin(180°) shows 1.224647e-16 instead of 0.
  • Undefined or non-real results show Error: 1/0, log(0), sqrt(-1) and 171!.
  • No complex numbers, matrices, symbolic algebra, derivatives or integrals, and no memory or answer-recall keys.
  • Implicit multiplication such as 3(4) or 2pi is not supported.

Frequently Asked Questions

Why does sin(90) not give 1?

The calculator uses radians. sin(90) is the sine of 90 radians, 0.8939966636. For 90 degrees type sin(90*pi/180), which gives 1.

Is log base 10 or natural log?

log(x) is base 10, so log(1000) = 3. ln(x) is the natural log, base e, so ln(e) = 1. For other bases use log(x)/log(b).

How do I calculate a square root or cube root?

Use sqrt(x) for a square root, for example sqrt(2) = 1.4142135624. For a cube root use a fractional power such as 27^(1/3).

How do I type powers?

Use ^ or **, or pow(x, y). 2^10 = 1024. Put negative bases in brackets: (-2)^2 = 4.

What is -2^2 on this calculator?

-4. As in standard maths, the power is applied before the minus sign, so -2^2 means -(2^2). Write (-2)^2 to square a negative number, which gives 4.

Can I calculate factorials?

Yes, with n! or factorial(n): 10! = 3628800 and 5!/(2!*3!) = 10. Values from 171! upward overflow and show Error.

Why is cos(90 degrees) a tiny number instead of 0?

Pi cannot be stored exactly in binary, so 90*pi/180 is a hair away from a true right angle and cos returns about 6.12e-17. For practical purposes it is zero.

How accurate is the calculator?

Results are shown to up to 10 decimal places and are reliable to roughly 15 significant digits, which is ample for school, engineering and finance work.

Related tools

Logarithm Calculator · Factorial Calculator · Statistics Calculator · Fraction Calculator · Percentage Calculator

Copied