Scientific Calculator Online: Trig, Log, Powers and Memory

A full scientific calculator that runs in your browser. Type an expression or use the keys, in degrees or radians.

Loading tool…

How to use the Scientific Calculator

  1. Type an expression such as sin(30) + 2^3 / sqrt(16), or press the on-screen keys (including x squared, 10 to the x, mod, nPr, nCr, sinh, cosh, tanh).
  2. Choose Degrees or Radians for trigonometry.
  3. Press Enter or = to calculate. The live result appears as you type.
  4. Use Ans, M+, M- and MR for memory, or click an item in the history to reuse it.

About this tool

The calculator reads your expression with a hand-written parser that follows the standard order of operations: brackets, then powers and factorials, then multiplication and division, then addition and subtraction. Powers are right-associative, so 2^3^2 is 2^9 = 512, and a leading minus applies after the power, so -2^2 is -4. Two values written side by side multiply, so 2(3+4), 2pi and even 3 4 (which gives 12) all work.

Percent works like a handheld or phone calculator: in a sum or difference, b% means b percent of the first number, so 100+10% is 110, 100-10% is 90 and 200*10% is 20. A bare 50% is 0.5. Modulo is 10 mod 3 or 10 % 3, which is 1; the result takes the sign of the divisor, so -7 mod 3 is 2. Trigonometric functions use degrees or radians according to your setting, and exact cases such as sin(180) and cos(90) in degrees return 0 instead of a tiny rounding error. log is the base 10 logarithm and ln is the natural logarithm. ncr(n,r) and npr(n,r) give combinations and permutations. Factorial works for whole numbers up to 170, beyond which the result overflows.

Results are computed in standard double precision and shown to 12 significant digits, so very long decimals are rounded. Nothing is sent anywhere and no code is evaluated with eval. Your memory value and last 30 calculations are kept in your browser only.

Functions you can type

  • sin, cos, tan and asin, acos, atan; sinh, cosh, tanh
  • log (base 10), ln, log2, exp, sqrt, cbrt, abs, floor, ceil, round
  • ncr(n,r) combinations, npr(n,r) permutations, fact(n) or n!
  • pi, e, tau, Ans (last answer), mem (memory value)
  • mod or % between two numbers for the remainder

Frequently asked questions

How do I switch between degrees and radians?

Use the Degrees or Radians buttons above the display. The setting applies to sin, cos, tan and their inverses.

Can I type with my keyboard?

Yes. Type directly into the display and press Enter. Names like sin, sqrt, ln, pi and e are understood.

What is the largest factorial supported?

170!, which is about 7.26e306. Larger factorials exceed the range of standard numbers.

Why does 0.1 + 0.2 show 0.3?

The result is rounded to a sensible number of significant digits so that floating point noise does not show.

Why does 100 + 10% give 110?

Like a phone or desk calculator, a percent after a plus or minus is taken as a percentage of the number before it. For plain division by 100 use a bare percent, such as 10% = 0.1, or multiply: 100*10%.

How do I get a remainder?

Type 10 mod 3 or 10 % 3. The result takes the sign of the divisor, so -7 mod 3 gives 2.

Need a custom tool or website?

IDM Valley builds web apps, calculators, AI chatbots and automation for businesses. Fixed prices, code in your name.

Get a free quote

Have a project in mind?

Tell us what you need: a website, landing page, AI chatbot or automation. You get a clear scope and a fixed price within one working day. Free, no obligation.


  • avshack
  • DivineBamboo
  • goldleaf
  • janapril
  • kaizen
  • kwc
  • modv
  • pixelrush
  • revital
  • riderzplanet
  • sandsfashions
  • avshack
  • DivineBamboo
  • goldleaf
  • janapril
  • kaizen
  • kwc
  • modv
  • pixelrush
  • revital
  • riderzplanet
  • sandsfashions