Scientific Calculator
Full-featured scientific calculator with trigonometry, logarithms, and more. Supports keyboard input.
0
Keyboard input supported · Angles in degrees
Last updated:
An online scientific calculator with keyboard input
This scientific calculator handles everyday arithmetic and the common scientific functions: sine, cosine, tangent, base-10 and natural logarithms, square root, squares, powers, factorials, and the constants π and e. You can click the buttons or type on your keyboard.
How to use it
- Click the buttons, or type digits and
+ - * / ^ ! ( )on your keyboard. - Function buttons such as sin, log and √ add an opening bracket. Type the value, then close it with
). A missing final bracket is closed for you. - Press = or Enter to get the result.
- Use ⌫ or Backspace to delete, and C or Escape to clear everything.
Buttons and functions
| Button | Meaning |
|---|---|
| sin, cos, tan | Trigonometry, with the angle in degrees |
| log, ln | Log base 10 and natural log |
| √, x², xʸ | Square root, square and power |
| n! | Factorial, for whole numbers 0 to 170 |
| π, e | Pi and Euler's number |
| +/− | Flips the sign of a number or wraps the whole expression in a minus |
How it works
The expression is read by a small parser, not by JavaScript eval. It follows the usual order of operations: brackets, then powers and factorials, then multiplication and division, then addition and subtraction. Powers are right-associative, so 2^3^2 is 2^9. Writing 2π or 3sin(30) without a × sign also works. Results are rounded to 12 significant digits. Everything runs in your browser.
Assumptions and limits
- Angles are always in degrees. There is no radian or gradian switch.
- There are no inverse trig functions (sin⁻¹ and so on), no memory keys and no history.
- Invalid input, division by zero, tan(90) and factorials above 170 show "Error".
- Factorial only accepts non-negative whole numbers.
- Keyboard shortcuts are paused while you are typing in another text field on the page.
Frequently asked questions
Does it use degrees or radians?
Degrees. For example sin(30) returns 0.5. To work in radians, convert first by multiplying by 180 and dividing by π.
Why does -2^2 give -4?
The minus sign applies after the power, so it is read as -(2^2). To square negative two, write (-2)^2 or (-2)².
What is the largest factorial I can calculate?
170!. Anything larger overflows and the display shows Error.
Related Calculators
Browse all tools from the same category.
Percentage Calculator
Calculate percentages, increases, and decreases
Open toolAge Calculator
Exact age in years, months, and days
Open toolShowing 1-2 of 29