Scientific Calculator
A full scientific calculator with trigonometry, logarithms, powers, roots, constants and DEG/RAD modes. Safe expression parser, no eval.
How to use
- 1
Type an expression such as "sin(30) + sqrt(16)" or use the on-screen buttons.
- 2
Pick DEG or RAD mode for angles.
- 3
Press equals or = to see the result.
How it works
Expressions are tokenized and parsed with a recursive-descent parser into an evaluation tree - no eval() is ever used. The full expression is evaluated and the result is shown with up to 10 significant digits.
Frequently asked questions
What do DEG and RAD mean?
They set the unit for trigonometric functions. DEG uses degrees (a full circle is 360), RAD uses radians (a full circle is 2pi).
Why does the tool show an error for "1/0"?
Division by zero is not defined, so the parser reports it clearly instead of showing a meaningless value.
Can I calculate factorials?
Yes - use the ! operator, for example "7!". The limit is 170! because larger values overflow a double.
Related tools
Percentage Calculator
Calculate percentages, percentage increases, decreases and percentage differences quickly and accurately with clear step-by-step formulas.
CalculatorsUnit Converter
Convert length, weight, temperature, area, volume, speed, time and data storage units instantly. Eight categories, fully offline.
Conversion ToolsRatio Calculator
Simplify ratios, scale them to an equivalent ratio and compare two ratios. Handy for recipes, mixes, geometry and proportions.
CalculatorsAge Calculator
Calculate exact age from a date of birth in years, months and days. See your next birthday, total days lived and more - all in your browser.
CalculatorsLoan Calculator
Estimate monthly payments on a loan, see total interest and total cost, and review a full month-by-month amortization schedule.
CalculatorsDiscount Calculator
Find the final price after a discount and the exact amount you save. Works for sale prices, vouchers and percentage markdowns.
Calculators