Scientific Calculator

A full scientific calculator for arithmetic, powers, roots, logarithms and trigonometry — type an expression and get the result, with the working shown.

How to use this calculator

  1. 1Tap the keys, or type straight into the display — it is an ordinary text box, so you can paste an expression in as well.
  2. 2Set Deg or Rad before using a trigonometry key. The key writes sind( or sin( to match, so the expression always records which unit it meant.
  3. 3Press = to evaluate. The answer stays on the display as the starting value for your next calculation, and Ans recalls it later.
  4. 4M+ and M− add the displayed value to memory and subtract it; MR pastes the stored total back in.

How the calculation works

result = evaluate(your expression)
your expression
Any combination of numbers, the operators + − × ÷ ^ %, parentheses, and the functions listed in the help text

Available functions: abs, acos, acosd, asin, asind, atan, atand, avg, ceil, clamp, cos, cosd, exp, factorial, floor, ln, log, max, min, pow, round, sin, sind, sqrt, sum, tan, tand.

Trigonometric functions come in two forms — sin/cos/tan take radians, sind/cosd/tand take degrees — so there is no separate mode to toggle.

Worked example

sin(pi/2) + sqrt(16) × 2

  1. 1.sin(pi/2) = sin(90°) = 1.
  2. 2.sqrt(16) = 4, then 4 × 2 = 8.
  3. 3.1 + 8 = 9.

Result: 9

What "scientific" adds to a calculator

A basic calculator handles the four arithmetic operations and not much else. A scientific calculator adds the tools that science, engineering and higher mathematics actually run on — trigonometric functions, logarithms and exponents, roots, factorials, and usually a memory that holds an intermediate result across several steps of a longer calculation.

The other quiet but important addition is correct order of operations. A basic four-function calculator often evaluates strictly left to right as you press keys, while a scientific calculator — and the expression box here — respects standard algebraic precedence, evaluating functions and parentheses first and multiplication and division before addition and subtraction, so typing an expression the way you would write it on paper gives the answer you actually expect.

The building blocks, and where each one is used

Every key on a scientific calculator maps onto a specific, common real-world need.

  • Trigonometric functionssin, cos and tan handle angles and triangles in construction, navigation, and any physics involving waves or rotation.
  • Logarithmslog and ln are the right tool for anything measured on a scale spanning many orders of magnitude, from earthquake intensity to chemical concentration to sound level.
  • Exponents and rootscompound growth in finance, scaling laws in physics, and the Pythagorean theorem in geometry all lean on powers and roots.
  • Memory (M+, M−, MR)holds a subtotal or a constant partway through a longer, multi-step calculation without needing to write it down.
  • Constants (π, e)built in because they appear in an enormous share of scientific formulas, from circles to compound interest to exponential decay.

Degrees, radians, and the mistake that trips almost everyone up

The single most common scientific-calculator error is mixing up angle units — computing sin(90) expecting the sine of 90 degrees (which is 1), while the calculator is actually set to radians, where 90 radians is a very different angle, wrapped many times around the circle. Mathematics itself defaults to radians, since that is the unit that makes calculus formulas involving trigonometry come out clean, while everyday and engineering contexts more often think in degrees.

This tool sidesteps the ambiguity by keeping both forms available at once: sin/cos/tan always mean radians and sind/cosd/tand always mean degrees, so the expression itself records which one was intended rather than depending on a mode setting you might forget you changed.

From slide rule to pocket calculator

For most of the twentieth century, "doing the math" for an engineer meant a slide rule — a mechanical device built on logarithms, capable of multiplication, division, roots and trigonometry, but only ever accurate to a few significant figures. The first handheld electronic scientific calculator, Hewlett-Packard’s HP-35, arrived in 1972 and made the slide rule obsolete within just a few years by offering far greater precision in a device that fit in a shirt pocket.

Every scientific calculator since has been an elaboration on that same basic idea: put the functions a working scientist or engineer needs most — trigonometry, logarithms, powers — directly under their fingers, evaluated to many more digits than a hand-manipulated instrument could ever manage.

What this assumes, and where it stops

Assumptions

  • Trigonometric functions default to radians, the mathematical convention — use the sind/cosd/tand variants for degrees.

Limitations

  • Single expressions only — there is no way to define your own named variables or multi-step formulas here. For that, use the custom calculator builder, which exposes this same engine with your own input fields.
  • No complex numbers, matrices, calculus, or statistical functions. For those, use the dedicated Matrix, Statistics or Standard Deviation calculators.
  • Results above 1e+15 in magnitude, or below what double-precision floating point can represent, are rejected rather than silently rounded.

Common questions

Does this use degrees or radians?

Both, depending on which function you call. sin, cos and tan take radians, the standard convention in mathematics and every programming language. sind, cosd and tand take degrees directly, so sind(90) equals 1 without needing to convert 90 to radians first.

What functions and operators are supported?

Standard arithmetic (+ − × ÷ ^ % and parentheses), comparisons, and the functions abs, acos, acosd, asin, asind, atan, atand, avg, ceil, clamp, cos, cosd, exp, factorial, floor, ln, log, max, min, pow, round, sin, sind, sqrt, sum, tan, tand. The same list is available in the custom calculator builder, since both share this engine.

Can I use my own variables, like x or y?

Not on this page — only the constants pi and e are predefined. If you want an expression with your own named inputs, the "Build your own" custom calculator tool uses this exact same expression engine but lets you define input fields for any variable you name.

Formula and content last reviewed on .

Results are estimates for information only, not professional advice.

Report an error

Tools people commonly use alongside the scientific calculator.

See all math calculators →