Scientific Calculator Online
Full scientific calculator with trigonometry, logarithms, powers, factorials, and mathematical constants. Degree and radian modes. Runs entirely in your browser — no app, no download.
How to Use the Scientific Calculator
- 1Set DEG or RAD mode using the toggle in the top-left before entering trig functions.
- 2Enter numbers and operations — use scientific function buttons (sin, cos, log, etc.) which automatically open a parenthesis.
- 3Close parentheses with ), then press = to evaluate.
- 4Use DEL to backspace and AC to clear everything.
Functions Reference
Trig: sin, cos, tan (and their inverses sin⁻¹, cos⁻¹, tan⁻¹) — respects DEG/RAD mode. Logarithms: log (base 10), ln (natural log). Powers: xʸ (any power), x² (square), √ (square root), 1/x (reciprocal). Constants: π (3.14159…), e (2.71828…). Other: n! (factorial), abs (absolute value), % (percent).
Calculator Tips
Always check DEG vs RAD
The most common error with trig functions is the wrong angle mode. sin(90) in DEG = 1. sin(90) in RAD ≈ 0.894.
Use parentheses for clarity
Complex expressions like sin(30) + cos(45) × 2 should use explicit parentheses to ensure operations evaluate in the right order.
Chaining functions
You can nest functions: log( sqrt( 100 ) ) = log(10) = 1. Just make sure every opening parenthesis has a matching close.
Percent shortcut
Press % after a number to divide it by 100 inline. For example: 200 × 15 % = 30 (15% of 200).
Large factorials
Factorials grow extremely fast. 20! ≈ 2.4 × 10¹⁸. Anything above 170! overflows to Infinity on JavaScript's 64-bit float.
1/x for reciprocals
Press 1/x to insert (1/ before your number. Close the parenthesis and press = to get the reciprocal of any expression.
Frequently Asked Questions
How do I switch between degrees and radians?
Press the DEG/RAD button in the top-left of the calculator to toggle between degree mode and radian mode. The current mode is shown in the display. When in DEG mode, trig functions accept and return values in degrees (e.g., sin(90) = 1). In RAD mode, they use radians (e.g., sin(π/2) = 1).
How do I enter trigonometric functions?
Press sin, cos, or tan — the calculator opens the function with a parenthesis. Enter your angle and close the parenthesis manually with the ) button, then press =. Example: sin( 30 ) = 0.5 in degree mode.
What is the difference between log and ln?
log computes the base-10 logarithm (common logarithm). ln computes the natural logarithm (base e ≈ 2.71828). For example: log(100) = 2, ln(e) = 1. Use log for pH calculations and decibels; use ln for exponential growth and calculus.
How do I calculate powers and exponents?
Use xʸ to raise a number to any power (e.g., 2 xʸ 8 = 256). x² appends ^2 for squaring. For cube roots or other roots, use xʸ with a fraction exponent: 8 xʸ (1/3) = 2.
How does factorial (n!) work?
Press n! after entering a positive integer to compute its factorial. For example: 5 n! = 120 (5 × 4 × 3 × 2 × 1). Factorials grow very quickly — the calculator supports up to 170! before overflowing to Infinity.
Is the data I calculate stored anywhere?
No. All calculations run entirely in your browser in JavaScript. Nothing is transmitted to a server, nothing is stored.
Can I use π and e as constants?
Yes. Press π to insert the value of pi (3.14159…) and e to insert Euler's number (2.71828…). They can be used in any expression, for example: 2 × π = 6.28318…