Worked example: Scientific Calculator
Precedence (legacy default). This fixed reference example shows one complete scenario; the interactive results above use your current inputs.
View the example inputs
- Expression
- 2 + 3 * 4
- Angles
- Radians
- Ans value
- 0
| Calculated quantity | Example result |
|---|---|
| Result | 14 |
| Stored machine-number text | 14 |
| Angle mode | Radians |
| Precision and scope | Double-precision arithmetic; displayed values may be rounded. |
Scientific calculator: functions, angle modes and reliable expression entry
What can I calculate with a scientific calculator?
A scientific calculator extends ordinary arithmetic with powers, roots, logarithms, exponentials and trigonometry. These operations appear in algebra, geometry, laboratory formulas and technical coursework. The useful starting point is the mathematical expression you intend to evaluate: identify the quantities, convert any units and group related terms before entering them.
This scientific calculator accepts a typed expression or the on-screen keypad. It gives a live numerical preview and a breakdown of the operations in evaluation order. It evaluates real numbers; it does not solve equations for an unknown, prove an identity or return complex roots. Use the result to check a formula after supplying its numerical inputs.
Why does −2² differ from (−2)²?
Grouping changes meaning. In -2^2, the square is evaluated before the leading minus, so the result is -4. In (-2)^2, the base is the negative number and the result is 4. Powers associate right-to-left: 2^3^2 means 2^(3^2) = 512. Write (2^3)^2 if you intend 64.
The order is parentheses, factorials, powers, unary signs, multiplication/division/remainder, then addition/subtraction. Operations at the multiplication level run left-to-right. This tool accepts implicit multiplication such as 2pi or 3(2+1), but treats it like an explicit multiplication sign: 6/2(1+2) evaluates to 9. Because handwritten shorthand is interpreted differently by different calculators, use 6/(2*(1+2)) when the entire product belongs in the denominator.
The breakdown records the stored numerical result of each evaluated operation. It is a numerical trace rather than a symbolic derivation. Parenthesized groups may disappear from the working once their numerical value has been substituted; the original expression remains in the input and text download.
Should my scientific calculator be in degrees or radians?
Degrees divide a full turn into 360 parts; radians relate an angle to arc length divided by radius. A full turn is 2pi radians. For trigonometric functions, 30 degrees and pi/6 radians describe the same angle, so sin(30) in degree mode and sin(pi/6) in radian mode both give approximately 0.5.
The Angles selector controls sin, cos and tan. It also controls the units returned by asin, acos and atan. Changing the mode reinterprets the expression; it does not rewrite an entered 30 into pi/6. The default stays Radians to preserve previous shared links, while Calculator.net initially selects degrees. Compare outputs only after matching this setting.
Tangent is undefined at odd multiples of a right angle, such as 90 degrees or pi/2 radians. Near such an angle, a finite answer can be very large and sensitive to tiny input changes. Large angles and floating-point approximations of pi can also lose precision; a tiny residual from a trigonometric identity is not necessarily an algebra error.
Does sin⁻¹ mean inverse sine or one divided by sine?
On the keypad, sin⁻¹ inserts asin, the inverse sine. For example, asin(0.5) gives approximately 30 in degree mode or pi/6 in radians. It asks which principal angle has the supplied sine. The reciprocal of a sine is a different expression: 1/sin(30) gives approximately 2 in degree mode.
Real asin and acos require inputs from -1 to 1. Asin returns a principal angle from -90 to 90 degrees, acos from 0 to 180 degrees, and atan from -90 to 90 degrees with endpoints excluded. Equivalent radian ranges use pi/2 and pi. A triangle problem can still require geometric information to choose among other angles with the same trigonometric value.
What is the difference between log, ln and EXP?
The log key and log(x) mean base-10 logarithm; ln(x) means natural logarithm, whose base is e. Therefore log(1000) is 3 and ln(e) is 1. A logarithm answers an exponent question: if 10^3 = 1000, then log(1000) = 3. To calculate a different base, use the change-of-base expression ln(value)/ln(base), with value positive and base positive but not 1.
The eˣ key inserts exp(x), the exponential function. The EXP entry key has a separate role: it inserts the e used inside scientific number notation. Typing 1.2e-3 means 1.2 × 10^-3 = 0.0012. It does not mean 1.2 multiplied by the constant e and then minus 3. Use e or the Euler constant key when you want the mathematical constant.
Real logarithms require positive arguments. ln(0) and log(-10) are rejected rather than displayed as ordinary finite results. Exponentials and powers can overflow or underflow the supported numerical range, even when their mathematical real values exist.
How do I calculate a cube root or nth root of a negative number?
Use sqrt(x) for square roots, cbrt(x) for cube roots and root(x,n) for a root with a specified integer degree. For example, cbrt(-8) = -2 and root(-32,5) = -2. Negative radicands have real odd roots; an even root such as sqrt(-9) has no real result in this tool.
A fractional floating-point exponent is not a reliable way to request an odd real root of a negative base. The expression (-8)^(1/3) can fall outside the evaluator’s real-power convention because 1/3 is stored as an approximation. Use cbrt(-8) or root(-8,3) to state the intended operation explicitly. Root degrees are integers from 1 to 1000.
What does n! mean, and why is factorial limited to 170?
For a nonnegative integer n, factorial multiplies the integers from 1 through n. Thus 5! = 120, and 0! is defined as 1. Factorials appear in counting arrangements and combinations, although a larger counting problem may benefit from the dedicated permutation or combination calculator.
This scientific calculator accepts factorial inputs from 0 to 170. Negative integers, fractional inputs and double-factorial shorthand are rejected. The limit reflects the finite range of double-precision numbers; it does not make every permitted factorial an exact integer. A value can fit the numerical range while still losing low-order digits. Use an exact arithmetic tool when those digits matter.
How do I calculate a percentage without confusing it with remainder?
The % keypad button wraps the selected value, or the whole expression, in pct(x), which divides by 100. To find 15% of 200, enter 200*pct(15), giving 30. To increase 200 by 15%, enter 200*(1+pct(15)), giving 230. This explicit syntax avoids relying on a handheld calculator’s context-dependent percent behavior.
The typed binary % operator retains the site’s earlier remainder behavior: 7%4 gives 3. It is not a postfix percentage. For negative operands, remainder follows the sign of the dividend, so -7%4 is -3. The interface distinguishes the percentage key from the operator to preserve old expressions without silently changing their meaning.
How do Ans, memory and calculation history work?
Live previews do not overwrite Ans. Press = or Enter to save the valid result and add it to history. For example, evaluate 6*7 to store 42, then use Ans/2 to obtain 21. When you save an expression containing Ans, its previous Ans is replaced with that numerical value so saving does not change the expression’s own answer.
M+ adds the current valid result to memory, M− subtracts it, MR inserts the memory value and MC clears memory. A memory operation that would overflow is rejected. Ans and memory are separate: changing memory does not silently replace the saved answer. AC clears the current expression; Reset restores the default calculation and clears Ans, memory and history.
History retains the last 20 saved calculations in this page session. Reusing an entry restores its expression, angle mode and original Ans. Shared links include those three inputs, but do not include memory or history. Reloading clears session memory and history; neither is uploaded to a history service.
Why can a scientific calculator show 0.30000000000000004?
Many decimal fractions cannot be represented exactly as binary floating-point numbers. As a result, 0.1+0.2 can have the stored value 0.30000000000000004 even when the main display rounds it to 0.3. The Precision and stored value disclosure exposes that stored representation. Additional displayed digits do not establish greater measurement accuracy.
The scientific calculator uses finite double-precision numbers. Very large integers, subtraction of nearly equal quantities and very large angles can lose useful digits. Undefined intermediate operations are rejected immediately: sqrt(-1)^0 is not accepted merely because a later exponent could mask an invalid intermediate value. Detected nonzero underflow and overflow produce errors instead of a misleading finite answer.
Use the Fraction Calculator for exact rational arithmetic or the Big Number Calculator for its supported exact decimal operations. The scientific tool is appropriate when the requested operations include functions such as sine or logarithm and an approximate numerical result is sufficient.
Can I use the scientific calculator with a keyboard?
Type directly into Expression using ordinary parentheses and explicit function names. Enter or = saves the current valid result; Escape clears the expression. Backspace and selection editing work in the field, and the on-screen backspace key removes the selection or preceding character. These shortcuts apply in the expression field, without intercepting typing elsewhere on the page.
Function keys wrap selected text, or the entire expression when nothing is selected. With an empty expression they create a function template and put the cursor inside it. The nth-root key inserts root(value,3) and selects the degree so you can change it. RND inserts a sampled number from 0 inclusive to 1 exclusive only when pressed. The inserted number remains fixed in a shared expression; this is not a cryptographic key generator.
When is a scientific calculator useful for study and practical formulas?
For geometry, a right-triangle projection such as 12*sin(35) in degrees gives approximately 6.8829 in the original length unit. For a growth formula, 1500*exp(0.04*3) gives approximately 1691.25; the exponent must be dimensionless, so the rate and time units must agree. The calculator evaluates the supplied formula rather than deciding whether it accurately models a situation.
For coursework, compare the entered expression with the operation breakdown and test a simple limiting case. If an answer differs from another calculator, first match angle mode, parentheses, exponent grouping, percent conventions and rounding. Save or share the complete input scenario instead of comparing only the final number.
Scientific calculator functions and entry examples
Examples are numeric, real-valued evaluations. Trigonometric examples require the stated angle mode. Function names are case-insensitive; explicit multiplication is recommended for complex expressions.
| Function or key | Typed example | Meaning / result |
|---|---|---|
| Sine / inverse sine | sin(30); asin(0.5) | In degrees: approximately 0.5; approximately 30° |
| Cosine / tangent | cos(pi); tan(pi/4) | In radians: -1; approximately 1 |
| Power / square | 2^3; (-2)^2 | 8; 4. Parentheses define the base. |
| Square / cube / nth root | sqrt(81); cbrt(-8); root(32,5) | 9; -2; 2 |
| Natural / base-10 logarithm | ln(e); log(1000) | 1; 3. Arguments must be positive. |
| Exponential / scientific notation | exp(1); 1.2e-3 | Approximately 2.71828; 0.0012 |
| Factorial | 5!; fact(0) | 120; 1. Integer inputs 0–170. |
| Percent / remainder | pct(15); 7%4 | 0.15; 3. Different operations. |
| Absolute value / bounds | abs(-4); min(4,9); max(4,9) | 4; 4; 9 |
| Rounding | floor(-1.5); ceil(-1.5); round(-1.5) | -2; -1; -1. round ties go toward +∞. |
| Constants / saved answer | pi; e; Ans | π; Euler’s number; explicitly saved Ans value |
| Legacy payment helper | amortizedPayment(12000,0,1) | 1000. Inputs are principal, annual rate in percent and years; helper retained for prior expressions. |
| Sine / inverse sine | sin(30); asin(0.5) | In degrees: approximately 0.5; approximately 30° |
| Cosine / tangent | cos(pi); tan(pi/4) | In radians: -1; approximately 1 |
| Power / square | 2^3; (-2)^2 | 8; 4. Parentheses define the base. |
| Square / cube / nth root | sqrt(81); cbrt(-8); root(32,5) | 9; -2; 2 |
| Natural / base-10 logarithm | ln(e); log(1000) | 1; 3. Arguments must be positive. |
| Exponential / scientific notation | exp(1); 1.2e-3 | Approximately 2.71828; 0.0012 |
| Factorial | 5!; fact(0) | 120; 1. Integer inputs 0–170. |
| Percent / remainder | pct(15); 7%4 | 0.15; 3. Different operations. |
| Absolute value / bounds | abs(-4); min(4,9); max(4,9) | 4; 4; 9 |
| Rounding | floor(-1.5); ceil(-1.5); round(-1.5) | -2; -1; -1. round ties go toward +∞. |
| Constants / saved answer | pi; e; Ans | π; Euler’s number; explicitly saved Ans value |
| Legacy payment helper | amortizedPayment(12000,0,1) | 1000. Inputs are principal, annual rate in percent and years; helper retained for prior expressions. |
Common angles in degrees and radians
Exact mathematical reference values. The numerical evaluator can show small floating-point residuals, particularly in radian expressions involving pi.
| Degrees | Radians | Sine | Cosine | Tangent |
|---|---|---|---|---|
| 0° | 0 | 0 | 1 | 0 |
| 30° | pi/6 | 1/2 | sqrt(3)/2 | 1/sqrt(3) |
| 45° | pi/4 | sqrt(2)/2 | sqrt(2)/2 | 1 |
| 60° | pi/3 | sqrt(3)/2 | 1/2 | sqrt(3) |
| 90° | pi/2 | 1 | 0 | Undefined |
| 180° | pi | 0 | -1 | 0 |
| 0° | 0 | 0 | 1 | 0 |
| 30° | pi/6 | 1/2 | sqrt(3)/2 | 1/sqrt(3) |
| 45° | pi/4 | sqrt(2)/2 | sqrt(2)/2 | 1 |
| 60° | pi/3 | sqrt(3)/2 | 1/2 | sqrt(3) |
| 90° | pi/2 | 1 | 0 | Undefined |
| 180° | pi | 0 | -1 | 0 |
Formula and calculation method
Parentheses → factorial → powers → unary signs → multiplication/division/remainder → addition/subtraction. Powers associate right-to-left; -2^2 = -4. Implicit multiplication shares the precedence of explicit multiplication and division, evaluated left-to-right.
Functions use parentheses. sin/cos/tan follow the angle setting; inverse trigonometric functions return that unit. log and log10 are base 10; ln is natural log.
root(x,n) uses an integer degree from 1 to 1000. Negative radicands require an odd degree. Factorial accepts integers 0–170. 0^0 is treated as indeterminate.
The % operator retains the previous remainder behavior: 7%4=3. The % key inserts pct(x)=x/100, so 200*pct(15)=30. It does not perform an automatic retail markup.
Real, finite double-precision arithmetic; the display may round, while the machine-number text and CSV retain the stored numeric representation. Undefined intermediate operations, overflow and detected nonzero underflow are rejected.
Press = or Enter to save Ans and add a history entry. Memory and the last 20 history entries belong to the current page session. AC clears the expression; Reset restores the defaults, Ans, memory and history.
Scope and Limitations
- This is a real numeric evaluator, not a symbolic algebra, complex-number or arbitrary-precision calculator. Long integers and factorials beyond the safe-integer range can be approximate.
- At most 2,000 characters, 512 tokens and 64 levels of nesting. The breakdown retains at most 80 operations. Very large angles and cancellation can reduce numerical accuracy.
- RND generates a value in [0,1) only when pressed and inserts the sampled numeric literal. Memory/history are not uploaded or saved across page reloads. Shared links include expression, angle mode and Ans, not memory or history.
Reference Sources
- NIST DLMF: Trigonometric identities
- NIST DLMF: Logarithms, exponentials and powers
- ECMAScript: Number and Math
Frequently asked questions
Does this scientific calculator use degrees or radians?
Both are available. The default is Radians to preserve earlier links. The Angles selector controls trigonometric inputs and inverse-trigonometric output units.
How do I enter scientific notation?
Type a coefficient followed by e and a base-10 exponent, such as 1.2e-3 for 0.0012. The EXP key inserts that e; the eˣ key calculates exp(x).
Why is -2^2 equal to -4?
Exponentiation precedes a leading minus. Use (-2)^2 when the negative number is the entire base. Powers associate right-to-left.
Can I calculate negative cube roots?
Yes. Use cbrt(-8) or root(-8,3) for -2. Even roots of negative numbers are outside this calculator’s real-number domain.
Does the % key mean the same thing as typed %?
No. The key inserts pct(x), meaning x/100. The typed binary operator retains remainder behavior, so 7%4 equals 3.
Does Ans change while I type?
No. Only = or Enter saves a valid answer to Ans and history. Shared links include the Ans value needed to reproduce the expression.
Are all scientific results exact?
No. Scientific functions use double-precision floating-point arithmetic. The display can round; the stored machine-number text is available separately. Large integers and some decimal calculations can lose precision.
Is my calculation history saved online?
No. Memory and the last 20 saved calculations belong to the current page session and are cleared on reload. Shared links contain expression, angle mode and Ans, not history or memory.