Scientific Calculator

A calculator with functions, constants and a visible expression.

Calculators Free, no sign-up Runs in your browser

Scientific Calculator tool

0

History

Each result you confirm with = is kept here, and selecting one puts it back in the box.

About the Scientific Calculator

Scientific Calculator evaluates whole expressions rather than making you press one operation at a time. Type something like sin(45) + sqrt(16) * 2 and the answer appears with the expression still visible, which means you can see what you asked for and fix a typo instead of starting again.

The function set covers what a scientific calculator is expected to have: sine, cosine and tangent with their inverses, natural and base-ten logarithms, powers and roots, exponentials, absolute value, rounding, factorials, and the constants pi and e. Degrees and radians are a switch, and the current mode is shown next to the input so you cannot forget which you are in.

Expressions are evaluated by a parser written for the job, which tokenises the input and builds a syntax tree. It never uses the JavaScript evaluator, which would run anything typed into the box as code. That matters on a public page: a calculator that evaluates arbitrary code is a security hole, not a feature.

How to use the Scientific Calculator

  1. Type an expressionUse the keypad, or type directly including function names.
  2. Choose degrees or radiansThe current mode is shown beside the input.
  3. Press equalsThe result appears, and the expression stays visible.
  4. Reuse from historyPrevious calculations can be clicked to bring them back.

Features

  • Full expression entry with operator precedence and brackets
  • Trigonometric functions with inverses, in degrees or radians
  • Natural and base-ten logarithms, powers, roots and exponentials
  • Factorial, absolute value, rounding, floor and ceiling
  • The constants pi and e
  • Answer memory, so the previous result can be reused
  • Calculation history you can click to restore
  • Parsed safely, never evaluated as code

Who uses this tool

The scientific calculator is used by writers, developers, students, marketers and anyone else who needs the job done once without installing software. Common cases include:

  • Working through homework that needs trigonometry
  • Checking a calculation without reaching for a phone
  • Evaluating a formula with several nested brackets
  • Converting between degrees and radians in context
  • Doing arithmetic where seeing the expression matters

Frequently asked questions

Does it follow the normal order of operations?

Yes. Multiplication and division before addition and subtraction, powers before both, and brackets before everything. The parser builds a proper expression tree, so precedence is handled correctly however deeply you nest.

Degrees or radians, which should I use?

Depends on the problem. School trigonometry is usually in degrees; calculus and programming are almost always in radians. The current mode is shown beside the input because getting it wrong silently produces a plausible but wrong answer.

Why not just use the built-in JavaScript evaluator?

Because it would run whatever is typed as code, including code someone sent you in a link. A calculator on a public page that evaluates arbitrary input is a security hole. This one tokenises and parses the expression instead.

What does ans do?

It holds the previous result, so you can continue a calculation from where you left off without retyping the number.

How precise are the results?

They use standard double-precision floating point, accurate to about fifteen significant digits. That is why 0.1 plus 0.2 does not display as exactly 0.3 in any calculator built this way; the tool rounds the display to hide the noise.

Does it handle very large numbers?

Up to around 10 to the power 308, after which the result is reported as infinity. Factorials grow quickly, so anything above 170 factorial exceeds that limit.

If the scientific calculator is not quite what you need, these other free tools solve closely related problems.

Fraction Calculator

Calculate with fractions and mixed numbers, simplified and explained.

Calculators Use tool

Percentage Calculator

Three calculators: percent of a number, what percent one number is, and change.

Calculators Use tool

Average Calculator

Paste any list of numbers and get the full set of summary statistics.

Calculators Use tool

Number Base Converter

Convert a number between binary, octal, decimal, hex and custom bases.

Encoding & Conversion Use tool

Unit Converter

Convert between metric and imperial units across seven categories.

Calculators Use tool