Skip to content

Scientific calculator

Calculate typed expressions or use the keypad, switch angle modes, and recall your recent calculations.

Calculator display
5
DegreesEnter to calculate
Recent calculations

Saved calculations appear here. Tap one to reuse its expression.

Use * for multiplication and ^ for powers. A percentage divides the preceding value by 100.

Processed on your device

How it works & useful details

How it works & limits

Type an expression or use the keypad. Enter or = saves the result. Multiplication must be explicit: use 2*pi, not 2pi. Powers are right-associative (2^3^2 = 512); −2^2 = −4. Percent is a postfix division by 100, so 100 + 10% = 100.1.

Functions: sin, cos, tan, asin, acos, atan, sqrt, ln (natural), log (base 10), abs, exp, floor, ceil. Trigonometric functions use the selected degrees/radians mode. Factorial accepts integers 0–69. Expressions allow 256 characters, 128 tokens and 32 nested operations; real finite results must be within ±1e100. Calculations use floating-point arithmetic and display 12 significant digits. History exists only on this page.

Your working space

Change the values to explore the preview. Use the action below to create a copyable, downloadable result. All calculations stay on this device; refreshing clears your work.

About this tool

Scientific calculator evaluates typed expressions or keypad input, with trigonometry in degrees or radians, factorials, powers, and parentheses. Recent calculations stay visible in a session history on the page.

Expressions are evaluated locally and are bounded so a pathological input cannot run away. The history exists only in the current page and disappears when you refresh.

How to use it

  1. Type an expression or use the keypad.
  2. Choose the angle mode for trigonometric functions.
  3. Evaluate the expression and check the result.
  4. Recall or reuse a previous calculation from the history list.

Worked example

In degree mode, sqrt(3^2 + 4^2) + sin(30) evaluates to 5.5. The square root of 9 + 16 is 5, and the sine of 30° is 0.5. In radian mode the same expression gives a different result, because sin(30) then means 30 radians.

Operator precedence follows mathematical convention: powers first, then multiplication and division, then addition and subtraction. Powers are right-associative, so 2^3^2 is 2^9 = 512, not 8^2 = 64. A leading minus applies after the power, so -2^2 is -4. Write (-2)^2 to get 4.

Mistakes the calculator helps you avoid

  • Wrong angle mode: check the degrees/radians switch before using trigonometric functions.
  • Implicit multiplication: 2pi is rejected. Write 2*pi so the intent is unambiguous.
  • log vs. ln: log is base 10 (log(1000) = 3), and ln is the natural logarithm (ln(e) = 1).
  • Percent: 100 + 10% is 100 + 0.1 = 100.1, because % divides the preceding number by 100. For "100 plus 10 percent", write 100 * 1.1.

Results are displayed to 12 significant digits. Floating-point arithmetic cannot represent some decimals exactly, which is why many calculators show tiny errors such as 0.30000000000000004 for 0.1 + 0.2. Rounding the display to 12 digits hides that noise without changing meaningful results.

Frequently asked questions

How precise are the results?

The calculator uses floating-point arithmetic, and results are displayed with a practical number of significant digits rather than pretending to arbitrary precision.

Does it keep a history between visits?

No. History is stored only in the page; refreshing or closing it clears the list.

Are there input limits?

Expressions are limited to 256 characters, and unsupported syntax is reported instead of guessed.

Is my calculation history saved?

History exists only on the open page. Refreshing or closing the tab clears it, and nothing is stored in your browser or sent anywhere.