Scientific Calculator
Evaluate mathematical expressions including trigonometry, logarithms, exponents, and more.
Did this tool work for you?
How to use this calculator
- 1
Type your mathematical expression in the input field.
- 2
Choose degrees or radians for trigonometric functions.
- 3
Use function names like sin(), cos(), log(), sqrt(), etc.
- 4
Combine operations freely: sin(45)^2 + cos(45)^2 = 1
Frequently asked questions
What functions are supported?
Trig: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh. Logarithms: log (base 10), ln (natural), log2. Roots: sqrt, cbrt. Other: abs, ceil, floor, round, exp, pow, factorial, min, max, sign.
What constants are available?
pi (3.14159…), e (2.71828…), phi (golden ratio 1.61803…), tau (2π = 6.28318…).
How do I write exponents?
Use the ^ operator: 2^10 = 1024. Or use pow(2,10). You can also use ² and ³ symbols directly.
Is this safe — does it use eval()?
No. This calculator uses a custom recursive-descent parser with no eval() or Function(). Only mathematical operations are allowed.
Scientific calculator: functions, constants, and expressions
Trigonometric functions
sin, cos, and tan take an angle and return a ratio. Their inverses (asin, acos, atan) do the reverse. The calculator supports both degrees and radians — switch the angle unit to match your context. Remember: sin²(x) + cos²(x) = 1 always.
Logarithms explained
log(x) computes the base-10 logarithm. ln(x) computes the natural logarithm (base e). log2(x) computes the binary logarithm. Common uses: decibels (20·log(ratio)), pH (−log([H⁺])), bits needed (log2(n)), exponential decay (ln).
Order of operations
This calculator follows standard PEMDAS/BODMAS: parentheses first, then exponents (^), then multiplication/division left to right, then addition/subtraction left to right. Use parentheses to make complex expressions unambiguous: sin(45)^2 vs sin(45^2).
Learn more from an authoritative source:
WikipediaPercentage Calculator
Quickly calculate percentages, percentage change, and percentage of a total.
Fraction Calculator
Add, subtract, multiply, or divide two fractions and get the simplified result instantly.
Ratio Calculator
Simplify ratios, find missing values, and scale ratios up or down.
Average Calculator
Calculate mean, median, mode, range, and sum for up to 10 numbers.
Standard Deviation Calculator
Calculate population and sample standard deviation, variance, and coefficient of variation for a dataset.
Probability Calculator
Calculate single event probability, complementary probability, and odds for/against an event.
Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →