Scientific Calculator

Scientific Calculator

Deg

You can type in the display: Enter calculates and Esc clears. Inv switches the function keys to their inverses.

Result

Type an expression or use the keys.

History

Your calculations appear here after you press =.

Your history stays in this browser and is never sent anywhere.

About this tool

A scientific calculator for homework, lab work and quick checks. Type a whole expression such as sin(30)×2 + √(16), watch the answer update as you type, and press = to keep it in your history. It handles trigonometry in degrees or radians, natural and common logarithms, powers and roots, factorials, percentages and scientific notation. It also follows the usual order of operations, so you don't have to enter a calculation one step at a time.

How it works

Type into the display or tap the keys. The result appears under the expression as you type; press == or Enter to finish the calculation and add it to your history. To continue from an answer, press an operator such as + or ×. Pressing a number starts a new calculation.

Function keys insert their opening parenthesis, so sin, log and √ are followed by the value and a closing ). Inv switches the function keys to their inverses for one key press: sin⁻¹, cos⁻¹, tan⁻¹, eˣ, 10ˣ, ∛ and x³. Choose Deg or Rad before you use trigonometric functions: sin⁡30∘=0.5\sin 30^\circ = 0.5 in degrees, and sin⁡π6=0.5\sin \frac{\pi}{6} = 0.5 in radians.

The calculator works out powers and factorials first, then multiplication and division, then addition and subtraction, each from left to right. Parentheses override this order. A minus sign in front of a number applies after the power, so −22=−4-2^2 = -4; type (−2)^2 to square −2.

2+3×42=2+3×16=502+3\times 4^{2}=2+3\times 16=50

Example

A ramp is 4 m long and rises at 30°. Its height is 4sin⁡30∘=24 \sin 30^\circ = 2 m: in Deg mode, type 4sin(30) and press ==. For the angle of a slope that rises 1.5 m over 4 m, press Inv and tan, then type 1.5/4): tan⁡−11.54≈20.56∘\tan^{-1} \frac{1.5}{4} \approx 20.56^\circ.

Compound growth works the same way. Type 1000×1.05^10 for 1000 growing by 5% a year for 10 years: 1000×1.0510≈1628.891000 \times 1.05^{10} \approx 1628.89.

Keys and shortcuts

What each key does

KeyWhat it doesExample
sin cos tanSine, cosine and tangent of an angle in the chosen unitsin(30) = 0.5
sin⁻¹ cos⁻¹ tan⁻¹Inverse sine, cosine and tangent (press Inv first); the answer is an anglesin⁻¹(0.5) = 30
lnNatural logarithm, base eln(e^3) = 3
logCommon logarithm, base 10log(1000) = 3
eˣ 10ˣe or 10 raised to a power (Inv with ln or log)e^(2) = 7.38905609893065
√ ∛Square root, and cube root with Inv; cube roots of negative numbers work∛(−27) = −3
x² x³ xʸSquare, cube (with Inv) and any power2^10 = 1024
x!Factorial of a whole number up to 1705! = 120
|x|Absolute valueabs(−7.5) = 7.5
1/xReciprocal: 1 divided by the number8^(−1) = 0.125
%Percent; after + or − it is a percentage of the number before it200+10% = 220
EXPScientific notation: E multiplies by a power of ten1.5e3 = 1500
AnsThe previous answer (21 in this example)Ans×2 = 42
π eπ and e at full precision2π = 6.28318530717959

Keyboard shortcuts

KeyboardWhat it does
0–9 . ,Digits and the decimal separator
+ − * /Add, subtract, multiply, divide
^ ! %Power, factorial, percent
( )Parentheses
Enter =Calculate
BackspaceDelete the last character
EscClear the expression

Assumptions and limits

Results show up to 15 significant digits, and the calculator keeps 40 digits behind the display, so decimals add up exactly: 0.1 + 0.2 − 0.3 gives 0. Very large and very small results switch to E notation, such as 1.5e+20. Factorials go up to 170!, and numbers beyond about 1.8×103081.8 \times 10^{308} are reported as too large. The calculator works with real numbers only: even roots of negative numbers and logarithms of 0 or of negative numbers give an error instead of a complex result. Your history is stored only in this browser.

Frequently asked questions

How do I switch between degrees and radians?

Use the Deg and Rad switch above the function keys. It changes how sin, cos and tan read their input and how sin⁻¹, cos⁻¹ and tan⁻¹ give their answer. A right angle is 90 in degrees and π2≈1.5708\frac{\pi}{2} \approx 1.5708 in radians.

Why is −2² equal to −4?

Powers are worked out before the minus sign in front of a number, so −2² means −(22)=−4-(2^2) = -4. This is the usual mathematical convention, and most scientific calculators follow it. Type (−2)² to square negative two and get 4.

How does the percent key work?

After + or −, a percentage is taken of the number before it, as on a shop calculator: 200 + 10% gives 220 and 200 − 10% gives 180. After × or ÷, and on its own, % divides by 100, so 200 × 10% is 20 and 50% is 0.5.

How do I calculate a cube root or any other root?

Press Inv and then √ for the cube root ∛. For any other root, raise the number to a fractional power: for the fifth root of 32, type 32^(1/5), because 325=321/5=2\sqrt[5]{32} = 32^{1/5} = 2. Odd roots of negative numbers are real, so ∛(−27) gives −3 and (−32)^(1/5) gives −2.

What do Ans and EXP do?

Ans stands for the previous answer: after 21 ==, type Ans×2 to get 42. EXP enters a number in scientific notation, so 6.02 EXP 23 means 6.02×10236.02 \times 10^{23}. Pressing an operator right after == also continues from the answer.

Link with your values

Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.

ParameterValueIf omitted
expressionExpressiontext in the tool's notation, see the examplesrequired
angleAngle unitone of: deg, raddefault deg

Examples

  • ?expression=sin(30)%2Bcos(60)
  • ?expression=sin(pi/6)&angle=rad
  • ?expression=2^10-sqrt(144)
  • ?expression=(-8)^(1/3)*5!

Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.

Result elements: [data-result-block="scientific_calculator"]