Scientific Calculator
Type or tap an expression and see the answer as you go. Choose degrees, radians or gradians, and use functions, powers, roots, factorials and more.
Enter evaluates. Esc clears. Use the arrow keys or the ◀ ▶ keys to edit inside the expression.
History (last 20)
No calculations yet. Tap an item to bring its expression back for editing.
How to Use the Scientific Calculator
Write the whole expression on the line at the top, with the on-screen keys or with your keyboard. A grey preview of the answer appears while you type.
- Pick the angle mode: Choose
DEG,RADorGRADabove the keys. The current mode is always shown on the screen. InDEGmodesin(30)is0.5. - Build the expression: Tap keys or type, for example
2(3+4),sin(30),5!or10 nCr 3. Functions need brackets, and missing closing brackets are added for you. - Use 2nd and hyp: Press
2ndto getasin,acos,atan,e^(and10^(instead ofsin,cos,tan,lnandlog. Presshypforsinh,coshandtanh. - Press equals: Press
=or Enter to store the answer in the history. Start typing an operator to carry on fromAns, or start with a number to begin again.
Key Features
- DEG, RAD and GRAD: The angle mode is shown on screen.
sin(180)is0andcos(90)is0in degrees, without leftover rounding noise. You can also write30deg,pi/6 rador100gradto convert an angle. - Correct order of operations: Powers are read right to left (
2^3^2 = 512),-2^2is-4, and implicit multiplication such as2(3+4)or2piworks. - Many functions:
sin cos tan, their inverses and hyperbolic forms,log,ln,log2, square and cube roots, n-th roots, powers,abs,n!,nCr,nPr,mod,EXP,pi,eandAns. - Live preview and edit in place: Click inside the expression to fix a typo without retyping. Plain messages explain errors such as dividing by zero or a root of a negative number.
- Memory and history:
M+,M-,MR,MCand a list of your last 20 calculations. Tap one to bring its expression back. - Private: Your expressions are calculated in your browser, are not sent anywhere and are not stored. The history disappears when you close the page.
What This Tool Can and Cannot Do
This calculator works with real numbers only. It has no complex numbers, no graphing, no matrices, no equation solving, and no units apart from the angle units deg, rad and grad. Use the Math Solver page for equations, derivatives and matrices.
A negative number raised to a fractional power, such as (-8)^(1/3), is not calculated here. Use cbrt(-8) or -8 root 3 for odd roots. Factorials work for whole numbers from 0 to 170, and 0^0 is reported as undefined.
Results are shown with about 12 significant digits. Values you reuse keep their full precision internally, so 1/3*3 is exactly 1.
Frequently Asked Questions
What is the difference between degrees and radians?
Both measure angles. A full turn is 360 degrees, which is 2 times pi radians, or 400 gradians. Calculators need to know which one you mean because sin(30) is 0.5 in degree mode but about -0.988 in radian mode. Check the mode shown on the screen before you calculate.
Why do some calculators show a tiny number for sin(180)?
Computers store pi only approximately, so the sine of exactly 180 degrees comes out as about 1.2e-16 instead of 0. This calculator recognises exact multiples of a quarter turn and returns exact results such as 0, 1 and -1, and tan(90) is reported as undefined.
What order does the calculator follow?
Brackets first, then factorial and percent, then powers (right to left), then unary minus, then multiplication, division and mod, and finally addition and subtraction. So 2+3*4 is 14 and -2^2 is -4. A product written without a sign, like 2(3+4), is multiplied in the same way as 2*(3+4).
How big can a factorial be?
Factorials work for whole numbers from 0 to 170. 171! is too large for the number type used by browsers, so the calculator tells you the allowed range instead of showing an overflow.
How do I enter scientific notation?
Use the EXP key or type E, for example 100E3 for 100000 or 1.5E-3 for 0.0015. Very large or small answers are shown in the same style, such as 6.02214076e+23.
How does percent work?
A percent sign divides the number before it by 100, so 50% is 0.5 and 200*10% is 20. To add ten percent to 200 write 200*(1+10%).