Scientific Calculator
Type an expression or use the keypad. Errors keep your work in place so you can fix it and calculate again.
History (0)
Results stay in this tab only. Choose an entry to restore its expression without calculating it again.
Calculate a scientific expression
Enter the expression as you would read it, with an explicit operator between values. The calculator follows standard precedence: factorial and percent first, then right-associated powers, unary signs, multiplication and division, and finally addition and subtraction. That makes -2^2 equal to -4, while (-2)^2 equals 4.
Functions always use parentheses. Examples include sqrt(9), log(1000), ln(e), and abs(-4). Use pi or π for pi, e for Euler's number, and Ans for the last successful answer.
Use DEG and RAD without changing the expression
DEG is the default. In DEG mode, sin(30) returns 0.5 and asin(1) returns 90. In RAD mode, sin(pi/2) returns 1 and asin(1) returns approximately 1.57079632679. Switching the mode leaves the expression ready to evaluate again.
Tangent at 90° plus any whole multiple of 180° is undefined. The calculator reports that condition directly instead of displaying a very large floating-point artifact.
Edit an error instead of starting over
An invalid calculation keeps the expression in the input and focuses the relevant position. Errors distinguish missing operators, unmatched parentheses, division by zero, function domains, empty Ans, overflow, and resource limits. A failed attempt does not replace Ans. AC clears the current input and message while keeping the history; Clear history removes the list separately.
Inputs, display precision, and limits
Numbers may be decimals or E notation such as 1e3. Multiplication must be written explicitly: use 2*pi rather than 2pi, and 2*(3) rather than 2(3). Percent divides its preceding value by 100. Factorial is limited to whole numbers from 0 through 170.
The engine caps an expression at 512 Unicode characters, 256 tokens, 256 syntax nodes, 32 parenthesis or function levels, and 1,024 evaluation steps. A numeric literal may contain up to 100 digits with an E-notation exponent magnitude up to 1,000; a power exponent is limited to magnitude 10,000. These limits keep malformed or accidental inputs responsive.
Results use finite browser binary64 arithmetic and display up to 12 significant digits. Ordinary decimal form is used from 10−9 up to, but not including, 1012; values outside that range use lowercase E notation. This is a numeric calculator, not a symbolic algebra or proof system.
Keep the general calculator separate from focused workflows
Use this page for one general expression. For converting lists among decimal, E, scientific, and engineering notation, use the Scientific Notation Calculator. The Exponent Calculator handles exact integer powers and real fractional-exponent boundaries, the Square Root Calculator teaches approximation steps, and the Log Calculator supports arbitrary bases and batches.
Frequently asked questions
What can this scientific calculator evaluate?
It evaluates decimals and E notation with parentheses, +, −, ×, ÷, powers, percent, factorial, constants, square root, absolute value, exponential, logarithmic, and trigonometric functions. Functions require parentheses, so enter sin(30), not sin 30.
Should I choose DEG or RAD?
Choose DEG when angles are measured in degrees, such as sin(30) = 0.5. Choose RAD when angles are measured in radians, such as sin(pi/2) = 1. The selected mode also controls the units returned by asin, acos, and atan.
Why does the calculator show an error instead of Infinity or NaN?
Division by zero, invalid real-number domains, undefined tangent values, non-finite results, and expressions beyond the published limits get a specific error. Your expression and last successful Ans remain available so you can edit and retry.
How precise are the results?
Calculations use the browser's IEEE 754 binary64 numbers. The display keeps up to 12 significant digits and normalizes tiny trigonometric artifacts such as cos(90°). Results can be rounded and should not be treated as exact symbolic math.
How does the percent key work?
Percent is a postfix divide-by-100 operation. For example, 10% is 0.1 and 200 × 10% is 20. The expression 200 + 10% is 200.1; this calculator does not reinterpret it as adding ten percent of 200.
What does Ans store?
Ans stores the full numeric value of the last successful result for the current tab. A later error does not overwrite it. Ans and history disappear when the page is reloaded or the tab is closed.
Is my calculation saved or sent anywhere?
No. Expressions, results, Ans, and history stay in this tab. Only the DEG/RAD preference is saved locally. Anonymous tool events may record the mode, keyboard or keypad use, and an error category, never the expression or result.
How is this different from the Scientific Notation Calculator?
This page evaluates general scientific expressions and accepts E notation as one kind of number. The Scientific Notation Calculator converts decimal, E, and ×10 forms in batches and explains notation-specific arithmetic and rounding.