Skip to content

Scientific Calculator

Trig, logs, powers, memory and history, with keyboard input. Runs in your browser.

Loading tool…

About this scientific calculator

This is a free online scientific calculator for trigonometry, logarithms, powers, roots, factorials and more. Type a whole expression such as sqrt(3^2 + 4^2) * sin(30) or tap the keys, and the answer appears as you type.

It keeps a history of your calculations, an ans value, memory keys and named variables. You can switch between degrees and radians, work with 64 significant digits, or keep answers as exact fractions like 7/12.

Expressions are parsed by a proper maths parser, not run as code, and everything stays in your browser.

Features

  • Type or tap

    A full keypad, plus keyboard input for everything. Enter evaluates, Esc clears, and the up and down arrows walk through your history.

  • Live preview

    The result updates with each keystroke. If the expression is incomplete, you get a plain message such as "A closing bracket ) is missing".

  • DEG and RAD

    Trig and inverse trig follow the angle switch. Exact angles give exact answers, so cos(90°) is 0, not 6.1e-17.

  • Three number modes

    Standard 15-digit numbers, 64-digit precision where 0.1 + 0.2 is exactly 0.3, and exact fractions where 1/3 + 1/4 gives 7/12.

  • History, ans and memory

    The last 50 results, an ans value you can reuse, M+, M−, MR and MC, and variables you define like r = 2.5.

  • Constants and units

    Insert π, e, φ and common physical constants such as the speed of light or Avogadro's number. Unit maths like 5 inch to cm works too.

How to use the scientific calculator

  1. 1Type an expression or tap the keys. The answer previews as you type.
  2. 2Switch DEG or RAD, or pick 64-digit or fraction mode if you need them.
  3. 3Press Enter or = to save the result to history and reuse it as ans.

When to use it

  • Homework and exams practice

    Check trig, log and power questions step by step, and keep each answer in history to compare.

  • Physics and chemistry

    Insert constants like Planck's constant directly instead of typing 6.62607015e-34 from memory.

  • Exact fractions

    Add recipe or woodworking fractions without decimals creeping in: 3/8 + 5/16 = 11/16.

  • Money with no rounding errors

    Switch to 64 digits when cents must add up exactly over many steps.

Is log on this calculator base 10 or base e?

log is base 10 and ln is the natural log (base e), the same as most handheld calculators. So log(1000) = 3 and ln(e) = 1.

For any other base, give it as a second argument: log(8, 2) = 3. There is also log2(x) for base 2.

What is the difference between DEG and RAD?

A full turn is 360 degrees or 2π radians, so 180° equals π radians. In DEG mode, sin(30) means the sine of 30 degrees and gives 0.5. In RAD mode, sin(30) is the sine of 30 radians, about −0.988.

Getting a strange trig answer is almost always a mode problem. The current mode is shown above the input. Inverse functions follow the mode too, so asin(0.5) gives 30 in DEG and 0.5236 in RAD.

You can also write the unit in the expression: sin(30 deg) works in either mode.

Why does 0.1 + 0.2 equal 0.30000000000000004 on some calculators?

Most software stores numbers in binary floating point (IEEE 754), which can't hold 0.1 exactly. The tiny error shows up in the 17th digit.

In Standard mode this calculator rounds the display to 14 significant digits, which hides that noise. In 64-digit mode it uses decimal arithmetic, so 0.1 + 0.2 is exactly 0.3 and long chains of money sums stay exact.

Which functions and operators can I use?

Write expressions the way you would on paper. Multiplication needs * or ×, though 2pi and 3(4+1) also work.

  • Operators: + − * / ^, ! for factorial, mod for remainder, % for percent (200 + 10% = 220)
  • Trig: sin cos tan sec csc cot, asin acos atan, atan2(y, x), and hyperbolic sinh cosh tanh
  • Powers and roots: x^2, sqrt, cbrt, nthRoot(x, n), exp
  • Logs: log (base 10), ln, log2, log(x, base)
  • Counting: combinations(n, k), permutations(n, k), gcd, lcm
  • Rounding and stats: round(x, n), floor, ceil, abs, min, max, mean, median, std

Why use Mavros

 MavrosTypical upload sites
InputWhole expressions, typed or tappedOne operation at a time
Precision15 digits, 64 digits or exact fractionsFloating point only
ErrorsPlain messages about what to fix"Error" or "NaN"
HistoryLast 50, editable, with ans and variablesLast answer only
Exact anglescos(90°) = 06.12e-17
PrivacyRuns in your browserAds around the keypad

Tips

  • After you press Enter, start with an operator such as * 2 to continue from the last answer.
  • Click an old expression in the history to edit it, or click its result to insert it.
  • Assign values for repeated formulas: r = 2.5, then pi * r^2.
  • In fraction mode, functions like sin or sqrt have no exact form, so the answer falls back to a decimal and says so.
  • For percentage questions in words, the percentage calculator lays out each type for you.
  • Converting units on a larger scale? The unit converter shows every unit at once, and the number base converter handles binary and hex.

Questions

How do I use this scientific calculator with my keyboard?

Click the input and type the expression, then press Enter. Esc clears it, and the up and down arrows bring back earlier expressions. Use * for times, / for divide and ^ for powers.

How do I calculate sin, cos and tan in degrees?

Make sure DEG is selected, then type sin(30) or tap sin and the number. In DEG mode sin(30) = 0.5. If you get −0.988, you are in RAD mode.

Is log base 10 or natural log?

log is base 10 and ln is the natural log, as on a handheld calculator. For another base, use log(x, base), so log(81, 3) = 4.

How do I enter scientific notation?

Type e between the number and the power of ten, like 3e8 for 3 × 10⁸. The EXP key inserts the e for you.

Can it give answers as fractions?

Yes. Switch to Fractions mode and 1/3 + 1/4 gives 7/12. In Standard mode, tidy decimals such as 0.375 also show a fraction underneath (3/8).

What is the largest factorial it can calculate?

In Standard mode 170! is the largest, about 7.26e306, because 171! is beyond the double-precision limit. In 64-digit mode much larger factorials work, though very large ones take a moment.

How does the percent key work?

x% means x hundredths, and adding a percent adds that share of the number before it. So 200 * 15% = 30 and 200 + 10% = 220.

Is it safe to type anything into it?

Yes. Expressions are parsed by a maths library, never executed as code, and features that could change the calculator itself are turned off. Nothing is sent over the network.