Scientific Calculator
A free online scientific calculator with trigonometry, logarithms, powers, roots, factorials, and constants like π and e. Type a full expression or tap the buttons, switch between degrees and radians, and get an instant, accurate answer that respects the order of operations. It works entirely in your browser with no eval and no sign-up — a fast, private scientific calculator for math, physics, engineering, and homework.
ToolsSoup's Scientific Calculator evaluates full math expressions — not just one operation at a time — so you can compute things like sin(30) + 2^3 or log(1000) / sqrt(16) in a single step. It supports trigonometric functions, natural and base-10 logarithms, exponents and roots, factorials, parentheses, and the constants π and e, and it always follows the standard order of operations. Toggle between degrees and radians for trig, type your expression or tap the on-screen keypad, and read an exact answer instantly. Everything runs in your browser with no eval and no server, so your calculations stay completely private.
What is a scientific calculator?
A scientific calculator goes beyond the four basic operations of a simple calculator and adds the functions used in algebra, trigonometry, statistics, and the sciences. That means trig functions like sine, cosine, and tangent, logarithms (natural log and log base 10), exponents and powers, square roots, factorials, and built-in constants such as π (pi) and e. It also understands grouping with parentheses and applies the proper order of operations automatically, so a longer expression evaluates exactly the way it would on paper. This online version does all of that in your browser, so you don't need a physical calculator or an app.
How to use the scientific calculator
You can type an expression directly or build it with the buttons — either way the result updates as you go:
- Enter a math expression, such as 5 * (3 + 2) or cos(45)^2, by typing or tapping the keypad.
- If you're using trig functions, choose DEG or RAD so angles are interpreted correctly.
- Use parentheses to group terms and ^ for powers, ! for factorials, and √ for square roots.
- Read the answer in the result line, then copy it or clear the input to start a new calculation.
Degrees vs radians for trigonometry
Trigonometric functions can interpret an angle as either degrees or radians, and using the wrong one is the most common cause of surprising results. In degree mode, sin(30) is exactly 0.5; in radian mode, sin(30) is about -0.988 because 30 radians is a very different angle. Use the DEG / RAD toggle to match whatever your problem expects — geometry and everyday angles are usually in degrees, while calculus and physics formulas are usually in radians. The calculator handles the conversion for you, so you only have to pick the right unit.
Order of operations and parentheses
The calculator follows the standard order of operations (often remembered as PEMDAS or BODMAS): parentheses first, then exponents, then multiplication and division left to right, and finally addition and subtraction. Exponentiation is right-associative, so 2^3^2 is read as 2^(3^2) = 512, matching mathematical convention. When in doubt, add parentheses to make your intent explicit — for example, write (1 + 2) / 3 rather than 1 + 2 / 3 if you want the addition to happen first.
Why use this scientific calculator?
- Evaluates whole expressions with correct order of operations, not one button at a time.
- Includes trig, logarithms, exponents, roots, factorials, and the constants π and e.
- Switches between degrees and radians for accurate trigonometry.
- Parses expressions safely without using eval, so it can't run arbitrary code.
- Runs entirely in your browser — free, no ads, and your numbers never leave your device.
Frequently asked questions
What functions does this scientific calculator support?
It supports the trigonometric functions sin, cos, and tan (plus asin, acos, and atan), natural log (ln) and base-10 log (log), exponentials (exp and the ^ operator), square root (sqrt or √), factorials (!), absolute value (abs), the modulo operator (%), and the constants π (pi) and e. You can combine all of these in a single expression with parentheses.
How do I switch between degrees and radians?
Use the DEG / RAD toggle above the keypad. In degree mode the calculator treats the argument of sin, cos, and tan as degrees, so sin(30) = 0.5. In radian mode it treats them as radians. Pick whichever your problem uses before evaluating a trig function — geometry usually uses degrees and calculus usually uses radians.
How does it handle the order of operations?
It follows standard PEMDAS/BODMAS rules: parentheses, then exponents, then multiplication and division, then addition and subtraction, evaluated left to right (exponentiation right to left). So 2 + 3 * 4 is 14, not 20. Add parentheses whenever you want to force a different grouping.
Is it safe — does it use eval?
No. The calculator tokenizes your expression and evaluates it with its own parser (a shunting-yard algorithm and a small math engine), so it never runs your input as code. That makes it safe and predictable, and because everything happens in your browser, your calculations are never sent anywhere.
Can it compute factorials and powers?
Yes. Add ! after a non-negative whole number for its factorial — for example, 5! equals 120. Use ^ for powers, so 2^10 equals 1024, and use sqrt() or the √ button for square roots. You can mix these with the other functions in one expression.