# Scientific Calculator

> Free online scientific calculator with trig, logs, powers, roots, factorials, memory, Ans and history. Works with your keyboard; degrees or radians.

Interactive calculator: https://calculatorsplatform.com/c/scientific/
Category: Math & Statistics Calculators
Calculations run in the browser; inputs can be prefilled through URL parameters and shared with the Share button.

## How to use this scientific calculator

Enter a whole expression the way you would write it on paper, for example `sin(30)+√16×2^3`, and the result appears underneath while you type. Press **=** (or **Enter** on a keyboard) to fix the answer: it is stored as **Ans** and added to the history list, where one click brings any earlier calculation back.

Every key has a keyboard equivalent: digits, `+ - * /`, `^` for powers, `!` for factorial, `%`, parentheses, **Backspace** to delete and **Esc** to clear. You can also type function names directly — `sqrt`, `cbrt`, `ln`, `log`, `log2`, `sin`, `asin`, `abs`, `pi`. The **EXP** key enters a power of ten, so `1.5E3` means 1.5 × 10^3.

The memory keys work like a pocket calculator: **M+** adds the current result to memory, **M−** subtracts it, **MR** recalls it and **MC** clears it. An **M** badge shows when memory is not zero. Memory, Ans and the history are kept in your browser only.

## Order of operations

The calculator follows the standard mathematical order of operations (often remembered as PEMDAS or BODMAS), evaluated from the highest priority down:

| Priority | Operation | Example |
|---|---|---|
| 1 | Parentheses and functions | `sin(30)`, `(2+3)` |
| 2 | Postfix: factorial, percent, square | `5!`, `15%`, `3²` |
| 3 | Powers, grouped right to left | `2^3^2 = 2^9 = 512` |
| 4 | Sign (negation) | `−2² = −4` |
| 5 | Multiplication and division, left to right | `8÷2×4 = 16` |
| 6 | Addition and subtraction | `2+3×4 = 14` |

Two results often surprise people. First, `−2²` is **−4**, because the square is applied before the minus sign; write `(−2)²` to get 4. Second, stacked powers are evaluated from the top down, so `2^3^2` is 2^9 = 512, not 8^2 = 64.

Implicit multiplication is supported: `2π`, `3(4+1)` and `2sin(30)` work without a × sign. It has the same priority as an ordinary ×, so `1÷2π` is read as (1÷2)×π; add parentheses, `1÷(2π)`, when you mean the other reading. Missing closing parentheses at the end of the expression are added automatically.

## Degrees, radians and precision

Trigonometric functions use **degrees** by default (a full turn is 360°). Switch to **RAD** for radians, where a full turn is 2π ≈ 6.283. The inverse functions sin⁻¹, cos⁻¹ and tan⁻¹ return their angle in the selected unit. In degree mode the calculator recognises exact angles, so sin(180) is exactly 0 and tan(90) is reported as undefined rather than a huge number.

Internally every value is an IEEE 754 double (about 15–17 significant digits). Results are shown rounded to **12 significant digits**, which hides binary rounding noise: 0.1 + 0.2 displays as 0.3, not 0.30000000000000004. Whole numbers below 10^15 are shown in full; larger and very small values switch to scientific notation such as 2.43290200818 × 10^18.

The factorial key works on whole numbers up to 170! (the largest that fits in a double). For non-integers it uses the gamma function, n! = Γ(n + 1), so 0.5! = √π ÷ 2 ≈ 0.886226925453. The `%` key divides by 100, so `200×15%` gives 30.

**Worked example (the default):** `sin(30)+√16×2^3` → sin 30° = 0.5, √16 = 4, 2^3 = 8, so 0.5 + 4 × 8 = **32.5**.

## Frequently asked questions

### Why is −2² equal to −4 and not 4?

Exponents are applied before the negative sign, so −2² means −(2²) = −4. This is the convention used in algebra and by most scientific calculators. Type (−2)² if you want to square negative two.

### Why do I get a wrong answer for sin(90)?

Check the angle mode. In DEG mode sin(90) = 1; in RAD mode the calculator treats 90 as radians and returns sin(90 rad) ≈ 0.893997. Use RAD only when your angles are in radians, for example sin(π÷2).

### What does the EXP key do?

EXP enters a power of ten in scientific notation. 6.022E23 means 6.022 × 10^23. It is different from the constant e (2.71828…), which has its own key.

### Is my calculation history saved?

Yes, the last 30 calculations, the memory value and Ans are saved in your browser's local storage on this device only. Nothing is sent to a server. Use the Clear button to delete the history.

### Can I calculate the factorial of a decimal number?

Yes. For non-integers the calculator uses the gamma function, n! = Γ(n + 1). For example 0.5! ≈ 0.886227 and 2.5! ≈ 3.323351. Factorials of negative whole numbers are undefined.

## Related calculators

- [Fraction Calculator](https://calculatorsplatform.com/c/fraction/index.md)
- [Exponent Calculator](https://calculatorsplatform.com/c/exponent/index.md)
- [Logarithm Calculator](https://calculatorsplatform.com/c/logarithm/index.md)
- [Percentage Calculator](https://calculatorsplatform.com/c/percentage/index.md)
- [Quadratic Formula Calculator](https://calculatorsplatform.com/c/quadratic/index.md)
- [Permutation & Combination Calculator](https://calculatorsplatform.com/c/permutation-combination/index.md)
- [Unit Converter](https://calculatorsplatform.com/c/unit-converter/index.md)

---
Source: CalculatorsPlatform (https://calculatorsplatform.com/c/scientific/). Last reviewed 2026-11-25. Please link to the calculator page when citing.
