Advanced Scientific Calculator
A free in-browser scientific calculator covering trigonometry, logarithms, powers, roots, factorials and constants — plus a 20-step history and a stopwatch. Everything runs locally, nothing is sent to a server.
Updated June 14, 2026.
How to use it
Tap the buttons to build an expression, then press = to evaluate. Use C to clear, ← to delete the last character. Brackets nest as deep as you need. Constants π and e behave like numbers — wrap them in parentheses if you need a clean operand.
Supported functions
Trigonometry: sin, cos, tan (toggle between degrees and radians). Logarithms: log (base 10), ln (natural log). Roots and powers: √, ^. Factorial: !. Modulo: mod. Absolute value: abs. Exponential: exp. Percent: %. Constants: π, e.
Quick examples
sin(30) in degrees mode returns 0.5. log(1000) returns 3. ln(e) returns 1. √(2)^2 returns 2. 7mod3 returns 1. 5! returns 120. 50% returns 0.5.
A note on radians vs degrees
JavaScript's native Math.sin/cos/tan operate in radians. By default this calculator now uses degrees because that's what most people expect from a pocket scientific calculator; switch the toggle if you need radians. The trig mode applies to every trig call in the expression you evaluate.
Limits and rounding
Results are rounded to 12 significant decimal places to suppress floating-point noise. Very large factorials may overflow to Infinity. For mission-critical computations (engineering, finance, scientific publication) verify against a dedicated CAS — this tool is for everyday work, not formal proofs.
Calculator engine adapted from Yaldakhoshpey's Calculator_pro (MIT, 2025).