Scientific Calculator
A full scientific calculator with trigonometry in degrees or radians, logs, powers, factorials, variables, unit conversion and history.
This guide is not yet available in your language and is shown in English.
Tool guide
What this tool does
The Scientific Calculator evaluates whole expressions such as 2 sin(30) + √16 with correct operator precedence and a live preview as you type. It supports degree and radian modes, the previous answer, your own variables and functions, unit conversions, matrices and a history of recent calculations.
A handheld scientific calculator makes you key in a long calculation one operation at a time, and a single slip means starting again. Typing the whole expression instead, with brackets where you need them, is faster and lets you see and edit exactly what you asked for. That matters most in trigonometry and physics problems, where the angle unit and the order of operations are the two usual sources of wrong answers.
This calculator parses complete expressions with the mathjs engine, which is loaded on demand and runs in your browser. It follows standard precedence (brackets, powers, multiplication and division, then addition and subtraction), shows a live preview before you press Enter, and keeps the last answer available as ans. Trigonometric functions follow the Degrees or Radians switch, and exact angles such as sin(180°) and cos(90°) return exactly 0. Following calculator convention, log means base 10 and ln means the natural logarithm.
How to use Scientific Calculator
- Choose Degrees or Radians under Angle unit before working with sin, cos and tan.
- Type an expression in the input box or tap the keypad, for example sqrt(2) * 3^4 or 10!/(4! * 6!).
- Watch the preview line under the input, then press Enter or the = key to evaluate.
- Start the next expression with an operator to continue from the previous answer, or type ans anywhere.
- Define variables like r = 5 and functions like f(x) = x^2 + 1, then use them in later lines.
- Open the history menu or click an earlier result to reuse it; use Copy result to paste the answer elsewhere.
Tips for better results
- Implicit multiplication works: 2pi, 3(4 + 5) and 2 sin(30) are all understood.
- Convert units inline, for example 5 cm + 2 inch to mm or 60 km/h to m/s.
- For a logarithm in any base use log(x, b), for example log(81, 3) = 4.
- Mix angle units with an explicit unit: sin(pi/6 rad) works even in Degrees mode.
- Choose fewer significant digits for tidy answers or 14 to inspect rounding behaviour such as 0.1 + 0.2.
Common use cases
- Physics and engineering homework with trigonometry and powers of ten.
- Checking combinatorics such as 10!/(4! × 6!) = 210.
- Quick unit-aware calculations in the kitchen, workshop or lab.
- Evaluating formulas repeatedly with variables instead of retyping numbers.
Common mistakes to avoid
- Leaving the calculator in Radians when the question gives angles in degrees (or the reverse).
- Typing sin 30^2 and expecting (sin 30)²; write (sin(30))^2 or sin(30)^2 explicitly.
- Writing −3^2 for (−3)²: the power binds first, so −3^2 = −9.
- Expecting log to mean the natural log; here use ln for base e.
Frequently asked questions
Does the calculator follow the order of operations?
Yes. Brackets are evaluated first, then powers and factorials, then multiplication and division, then addition and subtraction. Powers are right-associative, so 2^3^2 = 2^9 = 512.
How do I switch between degrees and radians?
Use the Angle unit switch in the options. The DEG or RAD badge above the display shows the current mode, and inverse functions such as asin return their answer in that unit.
Why does 0.1 + 0.2 show 0.3?
Results are rounded to the chosen number of significant digits. Internally binary floating point stores 0.1 + 0.2 as 0.30000000000000004; at 12 significant digits that rounds to 0.3.
Can I use variables and my own functions?
Yes. Type r = 5 and press Enter, then use r in later expressions. Functions such as f(x) = x^2 + 1 work the same way. They last until you reload the page.
Feedback & suggestions
Help us improve Scientific Calculator. We read every message.