Operator precedence
Respect parentheses, postfix operations, right-associated powers and ordinary arithmetic order.
This online scientific calculator evaluates real-number expressions with parentheses, powers, roots, trigonometry, logarithms, percentages and factorials. Use the keypad or keyboard, choose degrees or radians and save useful results in local session history.
Results update as you edit. Check the expression, operator precedence and DEG/RAD angle mode; postfix % always divides the preceding value by 100.
Read the result together with the breakdown and calculation assumptions below.
Postfix % means divide by 100: 200 + 10% = 200.1. Use 200 × (1 + 10%) for a 10% increase. Powers associate to the right; −2^2 = −4. Real numbers only.
Results use JavaScript floating-point arithmetic and display up to 12 significant digits. Exact symbolic results and arbitrary-precision transcendental functions are not supported.
No saved results yet. Press Enter or Save Result to keep a valid calculation here.
A scientific calculator evaluates arithmetic expressions containing functions and constants as well as ordinary operators. This advanced calculator uses a fixed mathematical grammar, clear precedence and real-number domain checks. It offers degree/radian control, an editable expression, a keypad and explicitly saved session history.
Use the result as a transparent mathematical estimate. The calculation method, input conventions and limitations are explained below so you can compare scenarios with the same assumptions.
Follow four steps to enter consistent inputs, read the estimate and understand the result.
Choose DEG or RAD before entering trigonometric functions.
Type an expression or insert numbers, functions, constants and operators with the keypad.
Review the live result and the ordered operations; correct any domain or syntax error.
Press Enter or Save Result to keep a result in session history; use backspace, Clear or Reset Example as needed.
Explore the inputs, breakdowns and supported options available in this calculator.
Respect parentheses, postfix operations, right-associated powers and ordinary arithmetic order.
Use roots, trigonometric functions, inverse trigonometry, logarithms, exponential and absolute value.
Apply the selected angle convention to direct and inverse trigonometric functions.
Enter expressions directly or insert supported tokens at the current cursor position.
Save up to eight valid results and recall both the expression and angle mode.
Reject arbitrary code, invalid domains, incomplete syntax and non-finite results.
When choosing the best scientific calculator for a task, compare supported operations, angle conventions, precision and error feedback. This tool provides those details rather than making an objective ranking claim. It evaluates real numbers, not symbolic algebra or complex numbers.
See how powers, unary minus and percentages are interpreted before using a result.
Compare sqrt(81), 81^(1/2) and 9 under the same real-number rules.
Use selection-aware insertion, backspace, Clear and normal keyboard editing.
Save deliberate calculations locally without sending expressions to an external API.
Check these definitions and conventions when entering values or comparing estimates.
| Input or Result | Meaning | Main Consideration |
|---|---|---|
| Angle mode | Degrees or radians | sin(90) in DEG equals sin(pi/2) in RAD. |
| Logarithms | log is base 10; ln is base e | The argument must be positive. |
| Postfix percentage | The preceding value divided by 100 | 200 + 10% is 200.1, not a contextual 10% increase. |
| Precision | Finite double-precision real arithmetic | Displayed digits are rounded; this is not a symbolic algebra engine. |
Compare the same expression with the same parentheses and DEG/RAD angle mode. Review operator precedence and real-number domains; postfix % means division by 100 rather than a context-dependent percentage adjustment.
Use a concrete example and focused comparisons to connect the inputs with the outputs.
In DEG mode, sin(30) + 2^3 = 0.5 + 8 = 8.5. In RAD mode, sin(pi/2) = 1. The expression 200 + 10% gives 200.1 because 10% means 0.1; a 10% increase is 200 × (1 + 10%) = 220.
2 + 3 × 4 gives 14; (2 + 3) × 4 gives 20. The power expression 2^3^2 gives 512.
Evaluate sin(30) in DEG to get 0.5, then sin(pi/6) in RAD for the equivalent angle.
200 × (1 + 10%) gives 220. Compare it with 200 + 10%, which gives 200.1.
Read the calculation method alongside its units, precision and input conventions.
Precedence: parentheses and functions → postfix ! and % → powers (right associative) → unary signs → multiplication/division → addition/subtraction. sqrt(x) = x^(1/2); log(x) = log₁₀(x); ln(x) = logₑ(x); x% = x/100.
The advanced calculator tokenizes supported numbers, operators, constants and function names, then evaluates a fixed recursive-descent mathematical grammar. It never executes the expression as JavaScript. Supported functions are sin, cos, tan, asin, acos, atan, sqrt, cbrt, log, ln, exp and abs. Constants pi (or π) and e are built in. Use explicit multiplication or supported implicit multiplication before constants, functions and parentheses, such as 2pi or 2(3+4). Powers associate right-to-left: 2^3^2 = 512; −2^2 = −4 and 2^−2 = 0.25.
Factorial accepts whole numbers from 0 to 170 and 0! = 1. Square roots require nonnegative inputs; logarithms require positive inputs; asin and acos require inputs from −1 to 1.
Tangent at or numerically too close to a singularity is rejected. Trigonometric arguments are limited to absolute values of 1e12. Zero to zero or a negative exponent is reported as undefined.
Multiplication and division, including implicit multiplication, have equal precedence and run left to right: 1/2pi means (1/2) × pi. Use 1/(2pi) when that denominator is intended.
A percent is always postfix division by 100; it is not a context-dependent commercial percentage key. History keeps up to eight explicitly saved results in memory for this page session and is not persisted between visits.
Expressions support up to 500 characters, 200 tokens and 40 recursive grammar levels. Up to 24 intermediate operations are listed. Only finite real-number results are accepted; floating-point representation and rounding still limit precision.
Calculations run locally in your browser. The calculator does not send your entered values to a calculation server or store them between visits.
Results use floating-point arithmetic and display up to 12 significant digits. Review angle mode, operator precedence and domain restrictions when checking a result; rounded displays are not symbolic exact values.
Practical answers about the inputs, calculation method and limitations of this estimate.
No. It accepts only its supported mathematical grammar. Property access, assignments, code strings and arbitrary function calls are rejected; JavaScript eval and Function are not used.
DEG interprets direct trigonometric arguments as degrees, while RAD interprets them as radians. Inverse trigonometric results use the selected angle unit as well. For example, sin(90) in DEG and sin(pi/2) in RAD both equal 1.
It divides the immediately preceding value by 100. Therefore 200 + 10% = 200.1. To increase 200 by 10%, enter 200 × (1 + 10%).
Yes. Type into the expression field and use normal editing keys. Enter or = saves a valid result, Escape clears the expression, and the keypad offers backspace and Clear. Saved entries recall both expression and angle mode.
Malformed expressions, invalid real-number domains, division by zero, excessive nesting and numerical overflow or underflow are rejected. Valid results use floating-point arithmetic and are displayed with up to 12 significant digits.