Scientific Calculator
A full scientific calculator that runs entirely in your browser: a real keypad with sin, cos and tan (plus their inverses), natural and base 10 logarithms, powers and roots, factorials, π and e, a memory register and an Ans key that recalls your last answer. It follows the proper order of operations, so 45 + 5 × 3 gives 60, not 150, and it previews the result live as you type. Switch between DEG and RAD for trig, type on your physical keyboard if you prefer, and know that nothing you calculate is sent anywhere, there is no account, no upload and no history stored on our servers.
Last updated: October 22, 2026
Your result
Everything is calculated in your browser, your expressions are never sent to or stored on our servers. Results are shown to 12 significant digits. The Calculate button below works as = and Reset works as C.
The formula
Order of operations: parentheses first, then powers and roots, then × and ÷, then + and − (left to right within each level)sin, cos and tan take an angle: degrees in DEG mode, radians in RAD mode (π radians = 180°)log(x) is base 10, log(1000) = 3 because 10³ = 1000 · ln(x) is base e, ln(e) = 1xʸ multiplies x by itself y times: 2^10 = 1024 · x² is x^2, and √x is x^0.5n! = n × (n−1) × … × 1 for whole numbers from 0 to 170, and 0! = 1x% = x ÷ 100 · 1/x is the reciprocal, 1 ÷ xasin, acos and atan work backwards from a ratio to an angle, returned in degrees in DEG mode, radians in RAD mode
A worked example
Two sums show how this calculator thinks. First: 45 + 5 × 3 = 60, not 150, because multiplication is worked before addition, exactly as the order of operations requires; type it in and the live preview shows 60 before you even press =. Second: press sin, then 30, then) with the mode set to DEG and you get sin(30°) = 0.5. Flip to RAD and the same keys answer about −0.988 instead, because 30 radians is a completely different angle, which is why the mode indicator sits right above the display.
More about the Scientific Calculator
How to use the calculator, DEG vs RAD and the order of operations
Type or tap an expression exactly as you would write it: 7 + 8 × 3, √(144), 2^10, log(1000). The display shows your expression on the top line and a live preview of the answer underneath, so mistakes are visible before you commit with =. Parentheses group things: (7 + 8) × 3 = 45, while 7 + 8 × 3 = 31, because the calculator always applies the order of operations, parentheses first, then powers and roots, then multiplication and division, then addition and subtraction. Multiplication you leave out is understood: 2π, 3(1 + 2) and (1 + 2)(3 + 4) all multiply, just as they do on paper.
The one setting that changes answers is the angle mode. Trig functions (sin, cos, tan) read their input as an angle, and an angle can be measured in degrees or radians. In DEG mode, sin(30) means the sine of 30 degrees and equals 0.5. In RAD mode, sin(30) means 30 radians, a different angle entirely, and equals about −0.988. School and everyday maths is almost always degrees; radians appear in higher maths and programming, where π radians = 180°, so sin(π ÷ 2) in RAD mode is exactly 1. Inverse functions (asin, acos, atan) run the other way and return their angle in whichever mode is selected.
Worked maths: trig, logs and powers
Trig first. On a right angled triangle, sin is opposite ÷ hypotenuse, cos is adjacent ÷ hypotenuse and tan is opposite ÷ adjacent, and the calculator turns an angle into that ratio. In DEG mode: sin(30) = 0.5, cos(60) = 0.5 and tan(45) = 1. To go from a ratio back to an angle use the inverse keys: asin(0.5) = 30 in DEG mode. Powers are just repeated multiplication: 2^10 = 2 multiplied by itself ten times = 1024. The x² key squares the last value, 10ˣ and eˣ start a power of 10 or e, and roots undo powers, √144 = 12 because 12² = 144, and ∛27 = 3 because 3³ = 27. Any root can also be written as a power: the cube root of 27 is 27^(1 ÷ 3).
Logarithms answer the question "to what power?". log(1000) = 3 because 10³ = 1000, the plain log key is base 10. ln is the natural logarithm, base e (≈ 2.71828): ln(e) = 1, and ln is the one used across science and finance formulas. Factorial, the n! key, multiplies a whole number by every whole number below it: 5! = 5 × 4 × 3 × 2 × 1 = 120, with 0! defined as 1. Factorials grow extremely fast, which is why this calculator caps them at 170!, beyond that the result no longer fits in standard double precision arithmetic, and you will see a clear message instead of a wrong answer.
Keyboard shortcuts
On a computer you never have to touch the mouse. Digits and the decimal point type as themselves; + − * / are the four operations (* gives × and / gives ÷ on screen); ^ is the power key; % applies percent; and the (and) keys open and close parentheses. Enter or = commits the expression, Backspace deletes the last entry one step at a time, and Esc clears everything. The shortcut set deliberately mirrors what the keys print, so there is nothing extra to memorise.
Functions and constants are keypad only, sin, log, √, π and the memory keys have no single keyboard equivalent, but anything you build with them can still be edited with Backspace and cleared with Esc. On phones and tablets the keypad is the keyboard: the buttons are sized for thumbs, the display wraps long expressions instead of shrinking them, and the whole calculator works in portrait with no scrolling sideways.
Which calculator for which job
This is the general purpose tool: trig, logs, powers, roots and mixed expressions. For a single repeated job, a dedicated calculator is faster and explains more. If your question is "what is X% of Y", a percentage increase, or a percent change between two numbers, the Percentage Calculator answers it in one step with the working shown. Turning marks into a grade point average, with credit hours weighted properly, is the GPA Calculator’s whole job, and the Final Grade Calculator works backwards from the grade you want to the exam score you need.
For whole number school maths, the LCM Calculator finds the least common multiple of two or more numbers with step by step working (the key to adding fractions with different denominators), and the GCF Calculator does the same for the greatest common factor used to simplify fractions. And when a calculation turns into a measurement problem, inches to centimetres, pounds to kilos, Fahrenheit to Celsius, the Unit Converter handles the conversion properly instead of leaving you to multiply by a half remembered factor here.
How to use the Scientific Calculator
- Tap the keypad, or type on your keyboard, to build your expression. The result previews live as you go.
- Check the angle mode before any trig: DEG for degrees, RAD for radians. The current mode is shown above the display.
- Use parentheses to group: (7 + 8) × 3 is 45, while 7 + 8 × 3 is 31, the calculator always follows the order of operations.
- Press = to commit the result. It becomes Ans, so you can keep calculating from it with the next operator.
- Use M+ to add a result to memory, MR to recall it and MC to clear it. Memory lasts while the page is open.
- Made a slip? ⌫ deletes the last entry one step at a time, and C clears the whole expression.
Frequently asked questions
What is the difference between DEG and RAD mode?
They are two ways of measuring the angle you feed to sin, cos and tan. DEG measures in degrees (a full turn is 360°); RAD measures in radians (a full turn is 2π, so π radians = 180°). The same number is a different angle in each mode: sin(30) is 0.5 in DEG mode but about −0.988 in RAD mode, because 30 radians is not 30 degrees. Use DEG for school and everyday maths, RAD for higher maths and programming.
Why does sin(30) not equal 0.5 on my calculator?
Almost always the angle mode. sin(30°) = 0.5, but if the calculator is in RAD mode it reads the 30 as 30 radians and returns about −0.988. On this page, check the indicator above the display and switch to DEG. The same check fixes most "wrong" trig answers: cos(60) should be 0.5 and tan(45) should be 1 in DEG mode.
How does the order of operations work here?
Exactly as in maths class: parentheses first, then powers and roots, then multiplication and division, then addition and subtraction, working left to right inside each level. So 45 + 5 × 3 = 60, not 150, because the multiplication happens before the addition. If you want the addition done first, group it: (45 + 5) × 3 = 150.
How do I calculate exponents and powers?
Use the xʸ key: type the base, press xʸ, type the exponent, then =. For example 2 xʸ 10 = 1024. Shortcuts cover the common cases: x² squares the current value, 10ˣ starts a power of ten (the antilog of the log key), and eˣ starts a power of e. Negative exponents work too, 2 xʸ −3 = 0.125, and a fractional exponent is a root: 27^(1 ÷ 3) = 3.
What is the difference between log and ln?
Both are logarithms; they differ in base. log is base 10: log(1000) = 3 because 10³ = 1000. ln is the natural logarithm, base e (≈ 2.71828): ln(e) = 1. Base 10 is the everyday and engineering convention; ln is standard in science, growth and finance formulas. To get a log in any other base b, use the change of base rule: log_b(x) = log(x) ÷ log(b).
Does this calculator store or send my calculations?
No. Every calculation runs in your own browser using JavaScript on this page, your expressions are never sent to, or stored on, our servers, and there is no account or sign up. The memory register and Ans value live only while the page is open; close or refresh the page and they are gone.
Can I use my keyboard instead of the keypad?
Yes. Digits, the decimal point, + − * /, ^ for powers, % and the () keys all type directly; Enter or = calculates, Backspace deletes the last entry and Esc clears. Function keys such as sin, log and √, the constants π and e, and the memory keys are keypad-only.
What are the Ans and memory keys for?
Ans recalls the result of your last = press, so you can chain calculations: work out 2 + 3 = 5, then press × 4 = and the calculator continues from Ans to give 20. Memory is a separate register for a value you want to keep aside: M+ adds the current value to it, M− subtracts, MR recalls it into your expression, and MC clears it. The M indicator above the display shows when memory holds a non-zero value.
How do I find an angle when I know the sin, cos or tan value?
Use the inverse keys: asin, acos and atan work backwards from a ratio to the angle. For example, if the sine of an angle is 0.5, press asin, then 0.5, then) and = to get 30 in DEG mode. The answer comes back in degrees in DEG mode and in radians in RAD mode, and for asin and acos the ratio must be between −1 and 1, anything outside that range shows an error, because no real angle produces it.
What is the difference between a scientific calculator and a normal calculator?
A normal calculator handles the four operations, percent and sometimes a square root. A scientific calculator adds the functions maths and science courses need on top: sin, cos and tan with DEG/RAD modes and their inverses, logarithms (log and ln), powers and roots, factorials, the constants π and e, a memory register and an Ans key, all following the full order of operations across a whole expression, not one operation at a time.

