Calculators
Scientific calculator
Explore expressions, powers and trigonometry. Keep the steps in view.
Runs in your browser
Result
—
Enter an expression, then select Calculate.
History
History stays in this tab. Downloads list calculations oldest first.
How to use
- Enter an expression
Type or use the keypad at the cursor. EXP inserts the e in notation such as 1e6.
- Choose angle units
Degrees or radians apply to trig inputs and inverse-trig outputs.
- Calculate and save
Read and copy the result, or download this tab’s history. Cancel stops an active calculation.
Precision and supported syntax
- Numbers and constants
- Decimals, 1e-6, pi (π), e and Ans. Multiply explicitly: 2*pi.
- Operators
- + − * / ^ ! and parentheses. Powers before leading signs: -2^2 = -4.
- Functions
- sin, cos, tan, asin, acos, atan, sqrt, ln, log (base 10), abs.
- Precision
- Real binary64 numbers, about 15–17 significant digits. Domain errors are explained below.
Frequently asked questions
What are the calculation rules and limits?
Parentheses first, then factorial, powers, leading signs, multiplication/division and addition/subtraction. Powers associate right: 2^3^2 = 512. Multiplication and division associate left: 8/2*2 = 8. Functions take one parenthesized argument. ln means the natural logarithm; log is base 10.
sqrt needs a nonnegative argument; ln/log need a positive argument; asin/acos need an argument from -1 to 1. Factorial needs a nonnegative integer and overflows above 170!. Division by zero, 0^0 and zero to a negative power are errors. Complex numbers, units, assignments, lists and arbitrary variables are not supported.
How precise are the answers?
Calculations use binary64 floating-point numbers, usually about 15–17 significant decimal digits. Results show the browser’s numeric representation without an extra rounding step: 0.1 + 0.2 may show 0.30000000000000004. Very small values can underflow to zero; near-zero trig results can show a tiny residual. Very large angles can lose accuracy. Nonfinite inputs and intermediate results produce an error. This is a real-number numerical calculator, not exact or symbolic arithmetic.
How do degrees and radians change the result?
sin(30) in degrees is approximately 0.5; sin(pi/6) in radians is approximately 0.5. Inverse trig uses the selected unit too: asin(0.5) is approximately 30 degrees or pi/6 radians. Tangent is undefined at odd multiples of 90 degrees; representable poles are rejected. Near a pole, rounding makes results highly sensitive.
What happens when I calculate again or use Ans?
Calculate always evaluates the current expression. It does not repeat the last operator automatically. Ans uses the previous successful result, at full stored precision. For example, after 2+3, Ans*2 gives 10; calculating Ans*2 again gives 20. Errors and cancellation keep the previous Ans. Editing or changing angle mode clears the displayed result until you calculate again.
Is my history saved?
Expressions are processed in your browser and are not uploaded or saved in browser storage. Clear history removes the list but keeps Ans. Reset all restores the degree-mode example and clears history and Ans. Leaving the page clears the tab’s calculation state. A downloaded text file contains the expressions, angle units and results you chose to save.