Scientific Calculator
Trigonometry, logarithms, powers and roots. Nothing you type leaves your browser.
Nothing calculated yet.
Runs entirely in your browser. No signup, no upload, no limit.
How to use it
Type an expression the way you would write it. The calculator reads the whole line at once and applies standard operator precedence, so 2 + 3 * 4 gives 14 rather than 20, and parentheses override that where you need them. Press equals and the result appears below the expression; press a digit or operator afterwards and the answer becomes the starting point for the next calculation.
Two shorthands save keystrokes. A number placed straight before a bracket or a constant multiplies, so 2(3+4) is 14 and 2pi is 6.28318530718. And ANS drops the previous result into the current line, which is quicker than retyping it.
Angle unit
The DEG and RAD switch decides how the trigonometric functions read their input, and the active mode is shown on the display so it is never a guess. In DEG mode sin(30) is 0.5. In RAD mode the same expression is −0.988031624093, because 30 radians is a little under five full turns. The inverse functions return an answer in whichever unit is selected.
Memory keys
MS is not needed here: M+ adds the current result to memory and M− subtracts from it, MR recalls the stored value into the expression, and MC clears it. An M marker appears on the display whenever memory holds something other than zero.
Function reference
| Entry | Meaning | Example |
|---|---|---|
| sin, cos, tan | Trigonometric functions, read in the selected angle unit | sin(30) = 0.5 in DEG |
| asin, acos, atan | Inverse trigonometric functions, answering in the selected unit | asin(0.5) = 30 in DEG |
| log | Logarithm to base 10 | log(1000) = 3 |
| ln | Natural logarithm, base e | ln(e) = 1 |
| sqrt, cbrt | Square root and cube root | cbrt(27) = 3 |
| ^ | Raise to a power, evaluated right to left | 2^3^2 = 512 |
| ! | Factorial, whole numbers from 0 to 170 | 5! = 120 |
| abs | Absolute value, the distance from zero | abs(-7) = 7 |
| exp | e raised to the given power | exp(1) = 2.71828182846 |
| % | Divides the preceding value by one hundred | 50 * 20% = 10 |
| mod | Remainder after division | 17 mod 5 = 2 |
| pi, e | The two constants | 2pi = 6.28318530718 |
Keyboard shortcuts
| Key | Does |
|---|---|
| 0 – 9 . | Type a number |
| + - * / ^ | Operators |
| ( ) | Parentheses |
| Enter or = | Evaluate |
| Backspace | Delete the last character |
| Escape | Clear everything |
| % ! | Percent and factorial |
Worked examples
The hypotenuse of a right triangle
For sides of 8 and 15, enter sqrt(8^2 + 15^2). The square root applies to the whole bracket, giving 17. Without the bracket, sqrt(8^2) + 15^2 would square 15 separately and return 233.
Compound interest
Two thousand invested at 6 per cent for ten years is 2000 * (1 + 6%)^10, which returns 3581.69539309. The percent key divides by one hundred, so 6% is 0.06.
Reading an angle back
In DEG mode, atan(1) returns 45. Switch to RAD and the same expression returns 0.785398163397, which is the same angle expressed as a quarter of pi.
Troubleshooting
The answer is not what a phone calculator gives
Nearly always the angle unit. A calculator left in RAD returns a very different value for sin(45) than one in DEG. The active mode is printed on the display for exactly this reason.
It says the expression is incomplete
An opening bracket has no partner, or an operator is waiting for a second value. The message names what is missing rather than showing an error code, so the fix is usually a single keystroke.
A very long result switches to exponent form
Results beyond twelve significant figures are shown in exponential notation, such as 1.23456789012e+15, because printing every digit would imply precision that double precision arithmetic does not have.
Division by zero
The result is reported as infinity rather than an error, which is how floating point arithmetic defines it. 0/0 is undefined and is reported as such.
Questions
Does this calculator work in degrees or radians?
Both. The DEG and RAD switch above the keypad sets the angle unit, and the display shows which mode is active. Trigonometric functions and their inverses follow that setting, so sin(30) returns 0.5 in DEG mode and −0.988031624093 in RAD mode.
Is anything I type sent to a server?
No. The expression is parsed and evaluated inside your browser. There is no backend for this tool and no network request is made when you press equals, so the page also works offline once it has loaded.
Can I use my keyboard instead of the buttons?
Yes. Digits, operators and parentheses type directly, Enter evaluates, Backspace deletes the last character, and Escape clears the entry. The full list is in the keyboard shortcuts table above.
Why does 0.1 + 0.2 show as 0.3 here?
Computers store decimals in binary, which cannot represent 0.1 exactly, so the raw sum is 0.30000000000000004. The result is rounded to twelve significant figures before display, which removes that artefact while leaving genuine precision untouched.
How do I reuse a previous answer?
Press ANS to insert the last result into the current expression, or open the history panel and select any earlier calculation to load it back into the display.
What is the largest number it can handle?
Calculations use double precision floating point, so the range runs to about 1.8 × 10308. Beyond that the result is reported as infinity. Factorials are exact up to 170; above that the value overflows.
Working with numbers elsewhere on the site? The Percentage Calculator handles increases and differences directly, and every other tool is listed on one page.
Related tools
Browse all Sigma Wire tools - every free tool on the site, grouped by category.