Scientific Calculator
Type a calculation. Your answer updates as you type.
This tool processes its input contents in your browser instead of sending them to a processing service. Page, asset and fixed usage-measurement requests are described on the Privacy page.
Evaluate real-number expressions with trigonometry, logarithms, powers, statistics and a local worksheet.
How to use it
- 1Choose DEG or RAD and type; the answer updates immediately.
- 2Press Enter for the next line. Edit an earlier line to recalculate later answers.
- 3Copy or download the worksheet before leaving the tab.
What happens to your data
Expressions, variables and worksheet history stay in this tab and clear on reload. Only angle mode and display digits are saved as device preferences; downloads contain the expressions you choose to keep.
Last updated November 2026
Type a real-number expression and see its answer beside it, with a visible degree or radian setting. Use the keyboard or touch keypad for trigonometry, powers, roots, logarithms, combinatorics and statistics. Keep related calculations in a local worksheet, define variables and download a readable record of your work.
How it works
The calculator interprets a bounded arithmetic grammar directly; entered text is never executed as JavaScript. Powers associate right to left, so 2^3^2 is 512. Powers bind before unary minus, so −2^2 is −4 while (−2)^2 is 4. Multiplication and division, including implied multiplication such as 2(3+4), run left to right. The interpreted expression displays the actual grouping.
DEG and RAD affect trigonometric functions and their inverses. Hyperbolic functions are dimensionless and ignore angle mode. ln is the natural logarithm, log is base 10, and log(value, base) accepts a chosen positive base other than 1. root(value, index) accepts a nonzero integer index, including real odd roots of negative numbers. The percent sign always divides its preceding value by 100: 200+10% is 200.1; a ten-percent increase is 200*(1+10%).
Calculations remain directly editable in a live worksheet. Enter advances to the next line; a/b, root and power keys create visual math fields, and arrow keys move between their parts. Changing DEG/RAD recalculates the whole worksheet in the selected mode. A row such as a=5 defines a variable for later rows. ans means the previous successful row. Failed rows do not change the available variables or answer. Editing or deleting an earlier row recalculates the later rows. TXT and JSON downloads retain the expressions, interpreted grouping, angle modes and results or row errors.
All arithmetic uses approximate JavaScript double-precision numbers, with about 15–16 significant digits. The display can show 6, 10, 12 or 15 significant digits; changing it cannot increase numerical accuracy. Integer answers beyond the safe integer range may lose whole-number precision. This is a real-number calculator without complex numbers, symbolic algebra, matrices, units or list arithmetic.
Expressions are limited to 2,000 characters, 512 tokens and 32 nested operations. Function calls accept at most 100 arguments. Worksheets hold at most 100 rows, 50 variables and 20,000 source characters. Factorial, permutations and combinations accept whole-number n up to 170. Undefined domains, division by zero, nonfinite results and supported range violations receive an error. The convention for 0^0 is an indeterminate-form error.
Expressions and worksheet history are held only in the current tab. Reloading clears them. Only the chosen angle mode and display digits can be remembered on the device. Download your worksheet before leaving if you want to keep it.
Worked example: Keep a calculation with a variable
- Input
- In DEG mode enter a=5, then a*2, then ans+sin(30).
- Result
- The successive approximate answers are 5, 10 and 10.5. The worksheet retains each expression and its angle mode.
Common use cases
- Check degree and radian trigonometry with the mode recorded alongside the answer.
- Keep variables and related calculations in a reusable local worksheet.
- Compare sample and population statistics with explicit function names.
- Download the expression, grouping and answer to review a calculation later.
Frequently asked questions
How do I enter scientific notation?+
Use the ×10ⁿ key under Functions, or enter 1×10^(-3) for 0.001. The e key and typed e mean Euler’s number. Complete plain pasted scientific notation such as 1e-3 is converted to a decimal before it enters the math editor; a typed mathematical 1e−3 means 1×e−3.
How do percentages work?+
The percent sign means divide by 100. Therefore 10%=0.1, 200*10%=20 and 200+10%=200.1. For a ten-percent increase use 200*(1+10%), which gives 220.
Why does −2^2 give −4?+
A power is evaluated before the leading minus sign. −2^2 means −(2^2). Add parentheses around the negative base, (−2)^2, to get 4.
Can I define variables and reuse the last answer?+
Yes. Enter a=5, then a*2 in the next row. ans refers to the previous successful worksheet row. Editing or removing a row recalculates later rows; all use the selected DEG/RAD mode.
Are the results exact?+
No. This calculator uses approximate double-precision arithmetic. Display digits are rounded, and large integer results can lose precision. It does not claim exact fractions or symbolic answers.
What is the difference between stdev and stdevp?+
stdev is sample standard deviation and uses n−1 in the variance denominator; it needs at least two values. stdevp is population standard deviation and uses n; it needs at least one value.
Does the worksheet survive a reload?+
No. Expressions, variables and history stay in the current tab. Download TXT or JSON to keep them. Only angle mode and display digits are stored as preferences.
Related tools
Graphing Calculator
Plot up to three real functions, trace sampled values and download a graph with its numeric CSV. Choose the range and angle mode explicitly.
Polynomial Calculator
Add, subtract, multiply, evaluate and divide polynomials with exact fractions, a visible polynomial preview and quotient/remainder exports.
Linear System Solver
Solve rectangular linear systems with exact fractions, reduced rows and a particular solution plus a basis when free variables remain.
Complex Number Calculator
Calculate with complex components, convert rectangular and polar forms, and review magnitude and principal angle in degrees or radians.