Online Calculator
A fast, free scientific calculator for everyday math and advanced calculations. Get step-by-step solutions, a persistent history tape, memory functions, degree and radian modes, and full keyboard support, all running privately in your browser.
Step-by-step solution
History tape
Base converter (whole-number results)
How to Use This Scientific Calculator
Type any expression with the buttons or your keyboard and press = or Enter. The calculator evaluates the full expression at once, following the standard order of operations, and shows a step-by-step breakdown of how it reached the answer. Your calculation is saved to the history tape automatically.
| Task | Type this | Result |
|---|---|---|
| Basic arithmetic | 12.5*4-3 | 47 |
| Sine of 30 degrees | sin(30) | 0.5 |
| Power | 2^10 | 1024 |
| 15 percent of 200 | 200*15% | 30 |
| Factorial | 5! | 120 |
| Square root | sqrt(144) | 12 |
Order of Operations (PEMDAS)
The calculator evaluates expressions in this order: Parentheses, Exponents and roots, Multiplication and Division (left to right), then Addition and Subtraction (left to right). This matches what you learn in school and what physical scientific calculators do.
| Priority | Operation | Example | Result |
|---|---|---|---|
| 1 (first) | Parentheses | (2+3)*4 | 20 |
| 2 | Powers and roots | 2^3+1 | 9 |
| 3 | Multiplication, division | 6/2*3 | 9 |
| 4 (last) | Addition, subtraction | 2+3*4 | 14 |
Powers are right-associative: 2^3^2 means 2^(3^2), which equals 512, not 64.
Degrees vs Radians
Trigonometric functions need to know whether your angle is in degrees or radians. Use the DEG/RAD toggle above the display. In DEG mode, sin(30) equals 0.5. In RAD mode, the same angle is written sin(pi/6). Inverse functions like asin return the angle in the active mode.
| Degrees | Radians | sin | cos |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 30 | pi/6 | 0.5 | 0.866025403784 |
| 45 | pi/4 | 0.707106781187 | 0.707106781187 |
| 60 | pi/3 | 0.866025403784 | 0.5 |
| 90 | pi/2 | 1 | 0 |
| 180 | pi | 0 | -1 |
Logarithms, Powers and Roots
log(x) is the base-10 logarithm: it answers "10 to what power gives x?" ln(x) is the natural logarithm with base e (about 2.71828). Powers use the ^ symbol, and roots can be written with sqrt, cbrt, or fractional exponents.
| Expression | Meaning | Result |
|---|---|---|
| 10^3 | 10 cubed | 1000 |
| log(1000) | 10 to what power is 1000? | 3 |
| ln(e^2) | natural log of e squared | 2 |
| sqrt(144) | what squared gives 144? | 12 |
| cbrt(27) | what cubed gives 27? | 3 |
| 27^(1/3) | cube root via exponent | 3 |
Factorials, Percentages and Memory
A factorial multiplies a whole number by every smaller positive whole number: 5! = 5*4*3*2*1 = 120. The % key divides the preceding number by 100, so 200*15% computes a 15 percent tip on 200, giving 30. Memory lets you park a value: M+ adds the current result to memory, M- subtracts it, MR recalls it, and MC clears it.
Function Reference
| Function | What it does | Example | Result |
|---|---|---|---|
| sin(x) | Sine of angle x | sin(30) | 0.5 |
| cos(x) | Cosine of angle x | cos(60) | 0.5 |
| tan(x) | Tangent of angle x | tan(45) | 1 |
| asin(x) | Inverse sine, returns angle | asin(0.5) | 30 |
| acos(x) | Inverse cosine, returns angle | acos(0.5) | 60 |
| atan(x) | Inverse tangent, returns angle | atan(1) | 45 |
| log(x) | Base-10 logarithm | log(1000) | 3 |
| ln(x) | Natural logarithm (base e) | ln(e^2) | 2 |
| sqrt(x) | Square root | sqrt(144) | 12 |
| cbrt(x) | Cube root | cbrt(27) | 3 |
| x^y | x raised to power y | 2^10 | 1024 |
| 1/x | Reciprocal | 1/4 | 0.25 |
| n! | Factorial | 5! | 120 |
| % | Percent (divides by 100) | 200*15% | 30 |
| pi | Constant 3.14159... | 2*pi | 6.28318530718 |
| e | Constant 2.71828... | e^1 | 2.71828182846 |
| Ans | Result of last calculation | Ans*2 | depends on last result |
Keyboard Shortcuts
| Keys | Action |
|---|---|
| 0-9 and . | Enter digits and decimal point |
| + - * / ^ % ! | Operators, power, percent, factorial |
| ( ) | Parentheses |
| a-z | Function and constant names (sin, log, pi, Ans) |
| Enter | Calculate the expression |
| Backspace | Delete the last character |
| Escape | Clear the expression |
Worked Examples
Example 1: sine of 30 degrees. Set DEG mode, type sin(30), press =. Steps: the calculator converts 30 degrees to radians internally, evaluates the sine, and returns 0.5.
Example 2: powers. Type 2^10 and press =. The calculator multiplies 2 by itself 10 times: 1024. This is why computers use 1024 bytes in a kilobyte.
Example 3: the 3-4-5 triangle. Type sqrt(3^2+4^2) and press =. Steps: 3^2 = 9, 4^2 = 16, 9 + 16 = 25, sqrt(25) = 5. This is the Pythagorean theorem in one expression.
Example 4: restaurant tip. For a 200 bill with 15 percent tip, type 200*15% and press =. The % divides 15 by 100, then 200 * 0.15 = 30.
Frequently Asked Questions
What is an online calculator?
How do I use this scientific calculator?
What is the difference between DEG and RAD mode?
How do I calculate a percentage?
What does the Ans button do?
How do the memory buttons (M+, M-, MR, MC) work?
How do I calculate a factorial?
What order does the calculator follow for operations?
How do I find a square root or cube root?
What is the difference between log and ln?
How do I use parentheses?
Can I type with my keyboard?
Is my calculation history saved?
What is the base converter panel for?
Why do I see "Error" as a result?
How do I convert degrees to radians?
What is 2 to the power of 10?
How do I calculate sin(30)?
Is this online calculator free to use?
Does the calculator work on mobile phones?
What is the number e?
How do I clear the display?
Related Calculators
Looking for a dedicated scientific-only layout? Try our Scientific Calculator. The tool on this page is the general-purpose online calculator with scientific functions included.