Scientific Calculator

Work out expressions with trigonometry, logarithms, powers, roots, factorials and percentages, with degree and radian modes, a live preview and a history list.

Math & Science Runs in your browser · no upload

Reviewed 23 November 2026 · Free · No account needed

ExecutionYour browserInput never leaves your tab
File retentionNoneNothing is stored
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Type an expression such as sin(30) + 5!/4, or tap the keys on the keypad.
  2. Choose degrees or radians for the trigonometric functions.
  3. Watch the live preview, then press = or Enter to add the result to the history.
  4. Use Ans to reuse the last result, or copy the answer into your work.

Example

Input: sin(30) + 5!/4 (degrees)

Output: 30.5

How it works

A small parser reads your expression, respects operator precedence and brackets, then evaluates it with standard maths functions. It never uses eval, so typed text cannot run code.

Order of work: brackets and functions, then factorial and percent, then powers (right to left), then multiplication and division, then addition and subtraction. A leading minus ranks below a power, so -2^2 = -4. Percent divides by 100.

Another example

sin(30) in degree mode is sin(30 × π ÷ 180) = 0.5. Then 5! = 120, 120 ÷ 4 = 30, and 0.5 + 30 = 30.5.

Limits and edge cases

  • Results are shown with up to 12 significant digits, so very long decimals are rounded.
  • Factorials above 170 are too large for the number format and are rejected.
  • It works with real numbers only: the square root or logarithm of a negative number gives an error, not a complex result.
  • Expressions longer than 500 characters are rejected.
  • Tiny floating-point errors are cleaned up, so 0.1 + 0.2 shows 0.3 and sin(180) in degrees shows 0.
  • tan of exactly 90 degrees is undefined and reports an error instead of a huge number.
  • Powers are right-associative, so 2^3^2 is 2^9 = 512, not 64.
  • asin and acos need values between -1 and 1.

Privacy

Your calculations are worked out in this browser tab. Nothing you type is sent to a server or stored.

About this page

Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.

Further reading

Guides that use Scientific Calculator

All guides →

Related tools

FAQ

Questions about Scientific Calculator

How do I switch between degrees and radians?

Use the Degrees / Radians switch in the bar above the calculator. In degree mode sin(30) is 0.5; in radian mode the same input is about -0.988 because 30 is read as radians. Pick the mode before you use sin, cos, tan or their inverses.

Does the calculator follow the order of operations?

Yes. Brackets and functions come first, then factorials and percentages, then powers, then multiplication and division, then addition and subtraction. For example 2 + 3 × 4 gives 14, and 2^3^2 gives 512 because powers group from the right.

Which functions can I use?

sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, sqrt, cbrt, ln, log (base 10), log2, exp, abs, floor, ceil, round, fact, pow, mod, min and max, plus the constants pi and e. Type them with brackets, for example mod(10, 3) or max(2, 9, 4).

How do I use percentages?

Put % after a number to divide it by 100, so 200 * 15% is 30. It is a simple divide-by-100, not the context-dependent percent key on some handheld calculators.

Why does it show an error for some inputs?

The tool works with real numbers. It reports an error for things like the square root of a negative number, ln of zero, a factorial of a decimal, or a missing bracket, and the message says which part to fix.