Scientific Calculator
Full-featured scientific calculator with trigonometry, logarithms and more.
How to Use the Scientific Calculator
Type an expression using the on-screen buttons or your keyboard and press = (or Enter) to evaluate it. The calculator supports:
- Basic arithmetic — addition (+), subtraction (-), multiplication (×), division (÷)
- Trigonometry — sin, cos, tan (input in radians)
- Logarithms — log (base 10) and ln (natural log)
- Powers — x² (square), x^y (arbitrary power)
- Other functions — √ (square root), 1/x (reciprocal), |x| (absolute value)
- Constants — π (pi) and e (Euler’s number)
- Parentheses — for grouping sub-expressions
The last 5 calculations are shown in the history section below the calculator. Press C to clear the display or ⌫ to delete the last character.
All calculations run entirely in your browser. No data is sent to any server.
Frequently Asked Questions
Does the calculator use degrees or radians?
Trigonometric functions (sin, cos, tan) use radians. To convert degrees to radians, multiply by π/180. For example, sin(90°) is sin(π/2) ≈ sin(1.5708).
What is the difference between log and ln?
log computes the base-10 (common) logarithm, while ln computes the natural logarithm (base e ≈ 2.718). For example, log(100) = 2 and ln(e) = 1.
Can I use keyboard shortcuts?
Yes. Number keys, operators (+, -, *, /), decimal point, parentheses and caret (^) all work. Press Enter or = to evaluate, Backspace to delete, and Escape to clear.
How is order of operations handled?
The calculator follows standard mathematical precedence: parentheses first, then exponents (^), then multiplication and division (left to right), then addition and subtraction (left to right).
Is my data stored or sent anywhere?
No. All calculations happen locally in your browser using JavaScript. Nothing is transmitted to a server, and the history is stored only in component state — it resets when you leave the page.
More Math & Calculators
Percentage Calculator
Calculate percentages: X% of Y, percentage increase/decrease, and more.
Open tool →Age Calculator
Calculate exact age in years, months and days from a birthdate.
Open tool →BMI Calculator
Calculate your Body Mass Index and find your weight category.
Open tool →Tip Calculator
Calculate tip amount and split the bill between friends.
Open tool →Discount Calculator
Calculate discount amount, final price and savings instantly.
Open tool →Loan / Mortgage Calculator
Calculate monthly payments, total interest and amortization for any loan.
Open tool →