A full-featured scientific calculator with trigonometric functions, logarithms, powers, roots, and constants. Works with your keyboard, tracks history, and runs 100% in your browser.
A scientific calculator handles the math that a basic calculator can't: trigonometric functions, logarithms, powers, roots, factorials, and mathematical constants. It's essential for students, engineers, scientists, and anyone working with technical calculations.
| Button | Function | Example |
|---|---|---|
sin | Sine (angle in DEG or RAD) | sin(30) = 0.5 in DEG |
cos | Cosine | cos(60) = 0.5 in DEG |
tan | Tangent | tan(45) = 1 in DEG |
ln | Natural logarithm (base e) | ln(e) = 1 |
log | Common logarithm (base 10) | log(100) = 2 |
√ | Square root | √(16) = 4 |
x² | Square | 5² = 25 |
xʸ | Power | 2^10 = 1024 |
x! | Factorial | 5! = 120 |
% | Percentage (divide by 100) | 50% = 0.5 |
π | Pi constant | π ≈ 3.14159 |
e | Euler's number | e ≈ 2.71828 |
The calculator follows standard mathematical precedence (PEMDAS):
So 2 + 3 × 4 = 14, not 20.
The angle mode affects trigonometric functions:
sin(90) = 1.sin(π/2) = 1.Click the DEG or RAD badge in the display to switch modes.
Every calculation you perform is saved in the history panel. Click any entry to reuse its result — perfect for chained calculations. Click "Clear" to wipe the history.
JavaScript uses 64-bit floating point numbers, which can cause tiny rounding errors. For example, 0.1 + 0.2 gives 0.30000000000000004. This is normal for any browser-based calculator and matches how Python, Java, and most programming languages work.
Everything runs in your browser. Your calculations are never uploaded, stored, or shared.