Scientific Calculator

A full scientific calculator with trigonometry, logarithms, powers, roots, factorials, memory and history. DEG and RAD modes, full keyboard support, and instant results — free, private, and running entirely in your browser.

Calculator

DEG M 2ND
Ans: 0
= 0

Result & History

Current Result
0
Mode: Degrees

Memory

Stored value 0

History

No calculations yet. Press = to calculate.

Keyboard Shortcuts

CalculateEnter
Delete last characterBackspace
Clear everythingEsc
Square rootr
Previous answera
Pi constantp
Toggle signn

What does this scientific calculator do?

This free online scientific calculator handles far more than the four basic operations. It supports trigonometry (sin, cos, tan and their inverses), natural and base-10 logarithms, powers and roots, factorials, absolute values, and the mathematical constants π and e. You can switch between degrees and radians, store values in memory, and scroll back through your calculation history.

Unlike a basic calculator, this one evaluates full expressions rather than forcing you to press equals after every operation. Type sin(30) + 2^5 - sqrt(16) and get the answer in one go. The parser respects standard operator precedence, handles nested parentheses, and supports implicit multiplication — so 2π, 3(4+1), and 2sin(30) all work exactly as you'd expect.

Everything runs locally in your browser. Your calculations never leave your device, there's no signup, and there are no usage limits. It's built for students, engineers, teachers, and anyone who needs a reliable calculator without installing an app or opening a spreadsheet.

How to use the scientific calculator

  1. Type your expression. Use the on-screen keypad or your keyboard. You can also type directly into the display box.
  2. Choose DEG or RAD. The DEG/RAD button toggles between degrees and radians for all trigonometric functions. The active mode is shown on the display.
  3. Use 2nd for extra functions. Pressing 2nd swaps the top rows to inverse trig (sin⁻¹, cos⁻¹, tan⁻¹), exponential functions (eˣ, 10ˣ), and additional roots and powers.
  4. Store values in memory. Use M+ to add the current result to memory, M− to subtract, MR to recall it, and MC to clear it. An M indicator lights up when memory holds a value.
  5. Press = to calculate. The result appears instantly below the expression and is added to your history. Use the Ans button to insert the previous result into a new calculation.

The calculator also previews the result live as you type, so you can often see the answer without pressing equals at all.

Function reference

Here's what every key does, and how to type it if you prefer using the keyboard.

Function Key / Syntax Description
Basic arithmetic + − × ÷ Addition, subtraction, multiplication, and division with standard precedence.
Power ^ or xʸ Raises a number to a power. 2^10 = 1024.
Square / Cube x² / x³ Squares or cubes the current value.
Square root sqrt( or √ Square root of a number. sqrt(144) = 12.
Cube root cbrt( or ∛ Cube root of a number. cbrt(27) = 3.
Reciprocal 1/x Divides 1 by the current value.
Sine / Cosine / Tangent sin( cos( tan( Trigonometric functions, interpreted in the current DEG or RAD mode.
Inverse trig asin( acos( atan( Arcsine, arccosine, arctangent. Return values in the current mode.
Natural log ln( Logarithm base e. ln(e) = 1.
Common log log( Logarithm base 10. log(1000) = 3.
Exponential exp( e raised to a power. exp(1) ≈ 2.718.
Factorial n! Product of all integers up to n. 5! = 120.
Absolute value |x| Distance from zero, always non-negative.
Percent % Context-aware percentage. 200+10% = 220.
Constants π e Pi (3.14159…) and Euler's number (2.71828…).
Previous answer ans Inserts the result of the last calculation.

Why use this scientific calculator?

Full expression parsing

Type whole expressions with parentheses and get the right answer. No need to press equals after every step.

DEG and RAD modes

Switch between degrees and radians for all trigonometric functions with a single click. The active mode is always visible.

Second function layer

The 2nd button reveals inverse trig functions, exponentials, cubes, and extra roots without cluttering the main keypad.

Memory functions

Store, recall, add to, and subtract from memory — the same M+, M−, MR, and MC workflow you'd find on a physical calculator.

Calculation history

Every calculation is saved. Click any past result to reuse the expression or the value in a new calculation.

Keyboard support

Type digits and operators directly. Press Enter to calculate, Backspace to delete, and Escape to clear.

Who is this scientific calculator for?

Students

  • Solve trigonometry, logarithm, and exponent problems for homework
  • Check answers on physics and chemistry assignments
  • Work through statistics problems that need factorials and powers
  • Verify calculations before submitting exam papers

Engineers and scientists

  • Run quick calculations without leaving the browser or opening MATLAB
  • Convert between degrees and radians while working with angles
  • Chain calculations using Ans and memory to avoid retyping long numbers
  • Keep a history of your working for later reference

Teachers and tutors

  • Demonstrate calculations to a class without needing a physical calculator
  • Show students how expressions are parsed with operator precedence
  • Verify answer keys quickly and accurately

Everyday users

  • Handle percentage calculations for tips, discounts, and taxes
  • Work out powers and roots for DIY or finance calculations
  • Have a reliable calculator available on any device, online or offline

Tips for using the calculator efficiently

  • Use parentheses generously. sin(30)+2 is unambiguous, but sin(30+2) means something completely different. When in doubt, add brackets.
  • Check your DEG/RAD mode first. The single most common mistake with trig functions is using the wrong angle unit. sin(30) is 0.5 in degrees but −0.988 in radians.
  • Chain with Ans. Instead of retyping a long result, press Ans to drop the previous answer straight into your next expression.
  • Use memory for constants. If you're repeating the same value across several calculations, store it once with M+ and recall it with MR.
  • Let the live preview work for you. The result updates as you type, so you can often skip pressing equals entirely.
  • Click a history entry to reuse it. The history panel isn't just a log — clicking any line loads that expression back into the input.
  • Implicit multiplication is allowed. 2π, 3(4+1), and 2sin(30) all work without an explicit × symbol.

Frequently asked questions

DEG mode interprets trig inputs as degrees (sin 30 = 0.5). RAD mode interprets them as radians (sin π/2 = 1). Click the DEG/RAD button to switch. The current mode is shown on the display.
The 2nd button switches the keypad to a second layer of functions. For example, sin becomes sin⁻¹ (arcsine), ln becomes eˣ, log becomes 10ˣ, and x² becomes x³. Press 2nd again to return to the primary layer.
MS stores the current result in memory. M+ adds the current result to memory. M− subtracts it. MR recalls the stored value into your expression. MC clears memory. An M indicator on the display shows when a value is stored.
Ans inserts the result of your previous calculation into the current expression. This lets you chain calculations without retyping long numbers — for example, calculating a value, then immediately using it in a new expression.
Percent is context-aware. In 200 + 10%, it calculates 10% of 200 and adds it (result: 220). In 50 * 20%, it multiplies 50 by 0.20 (result: 10). Used alone, x% simply divides x by 100.
Yes. Type digits and operators directly into the expression box. Press Enter to calculate, Backspace to delete the last character, and Escape to clear everything. There are also single-letter shortcuts for common functions — see the keyboard shortcuts panel next to the calculator.
Yes. Once the page has loaded, all calculations happen in your browser with no network requests. You can keep using it without an internet connection, and you can add it to your home screen for quick access.
In RAD mode, 30 is interpreted as 30 radians, not 30 degrees. Since one full circle is 2π radians (about 6.28), 30 radians wraps around the circle multiple times. In DEG mode, sin(30°) = 0.5, which is the familiar result.
Yes, completely free. No signup, no watermark, no hidden charges. Use it as many times as you want.
Absolutely. Everything runs in your browser using JavaScript. Your calculations never leave your device — there is no server processing and no data storage.