# Scientific Calculator

URL: https://speedycalculator.com/calculators/math/scientific/
Last updated: 2026-11-25

> This free scientific calculator works out trigonometry, logarithms, powers, roots, factorials and percentages in degrees or radians, with an on-screen keypad, an ANS key and a short history of your last five answers.

## Inputs

- Expression
- Angle unit

## Results

- Result
- Expression as understood
- History (last 5)

## Formula

```
Order of operations: brackets, then powers and factorials (powers stack from the right), then × and ÷, then + and − from left to right
Percent: a + b% = a × (1 + b/100),  a × b% = a × b/100
Angles: θ in radians = θ in degrees × π/180
```

## Explanation

A scientific calculator does what a basic one cannot: it follows the order of operations, works with angles and knows functions such as sine, logarithms and factorials. This one runs in your browser. Type a whole expression such as 2 + 3 × sin(30), or tap it in on the keypad, and the answer updates as you go. Press = or Enter to keep the answer. It moves into a short history list and becomes the value of ANS for your next step.

### How to use the Scientific Calculator

- Type an expression in the box, or build it with the keypad. Names such as sin, sqrt, ln and pi work when typed, and so do the × and ÷ signs.
- Choose DEG (degrees) or RAD (radians) before you use sin, cos, tan or their inverses.
- Watch the result update while you type. If something is missing, the line under the result says what.
- Press = on the keypad or Enter on your keyboard to save the calculation. It appears in the history and its value is stored in ANS.
- Tap an operator such as × straight after = and the next calculation carries on from the last answer.

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

### How it works

Your expression is read the way a maths teacher would read it. Brackets come first, then powers and factorials, then multiplication and division from left to right, and finally addition and subtraction. Powers stack from the right, so 2^3^2 means 2^9 = 512. A minus sign in front of a number binds more loosely than a power, so −3^2 is −9 while (−3)^2 is 9. A number written next to a bracket or a function is multiplied, so 3(4 + 5) = 27 and 2π ≈ 6.283. The line called Expression as understood shows your input with every hidden multiplication and bracket written out, so you can catch a slip before you rely on the answer. Results are shown to 12 significant digits, and very large or very small results switch to scientific notation.

### Worked examples

Here are a few calculations with the answers this calculator gives. Try each one to get a feel for how it reads what you type.

You typeModeRead asResultsqrt(16) + 3^2 × sin(30)Degrees√(16) + 3^2 × sin(30°)4 + 9 × 0.5 = 8.5sin(30)Radianssin(30)−0.988031624093−3^2Either−(3^2)−92^3^2Either2^(3^2)5125!Either5!120200 + 10%Either200 + 10%2201/2x3Either(1 ÷ 2) × 31.5The second row catches a lot of students out. In radian mode, 30 means 30 radians, which is almost five full turns, so the sine comes out near −0.988 instead of 0.5. If a trig answer looks odd, check the angle unit first.

### What each key does

KeyWhat it doesExamplesin, cos, tanSine, cosine and tangent of an angle in the chosen unitcos(60) = 0.5 in degreessin⁻¹, cos⁻¹, tan⁻¹Inverse functions, which return an angletan⁻¹(1) = 45 in degreesln, logNatural logarithm (base e) and common logarithm (base 10)log(1000) = 3√, x², xʸSquare root, square and any power√(2) ≈ 1.414213562n!Factorial of a whole number up to 1705! = 120%Divides by 100, or after + and − takes that percent of the number before it80 × 25% = 20±Changes the sign of the number you are typing7 becomes −7ANSThe last answer you saved with =Ans × 21/x, eˣ, 10ˣReciprocal, powers of e and powers of 1010^(−3) = 0.001

### Percentages on a calculator

Desk calculators treat 200 + 10% as 200 plus ten percent of 200, which is 220, and this calculator does the same. Subtraction works the same way, so 200 − 25% = 150. When a percent is multiplied or divided it simply means divided by 100, so 80 × 25% = 20. If you ever want the plain number instead, write 10/100 rather than 10%.

### Precision and error messages

Numbers are stored as 64-bit floating point values, which carry about 15 to 16 significant digits. The display rounds to 12, so 0.1 + 0.2 shows as 0.3 rather than 0.30000000000000004. In degree mode the standard angles such as 30°, 90° and 180° give exact values, so sin(180) is exactly 0 and tan(90) is reported as undefined. Square roots of negative numbers, logarithms of zero and division by zero produce a short message instead of a number, because their results are not real numbers.

## Worked example

Inputs: Expression: sqrt(16) + 3^2 × sin(30); Angle unit: DEG.

Results: **Result = 8.5**; Expression as understood = √(16) + 3^2 × sin(30°).

## Key terms

- **Order of operations**: The agreed order for evaluating an expression: brackets, powers, multiplication and division, then addition and subtraction.
- **Radian**: The angle that cuts off an arc as long as the radius. 180° equals π radians.
- **Factorial**: n! = 1 × 2 × … × n, with 0! defined as 1.
- **Natural logarithm**: ln x, the logarithm to base e ≈ 2.71828.
- **Inverse trig function**: sin⁻¹, cos⁻¹ and tan⁻¹ return the angle whose sine, cosine or tangent is the given number.

## FAQ

**How do I switch between degrees and radians?**
Use the Angle unit menu next to the expression box: DEG for degrees, RAD for radians. It only affects sin, cos, tan, their inverses and the ° sign. Every other function gives the same answer in both modes.

**Why is sin(30) not 0.5?**
The calculator is in radian mode, and 30 radians is a very different angle from 30 degrees. Switch the angle unit to DEG, or type sin(30°) to mark that one angle in degrees.

**What does ANS do?**
ANS holds the last answer you saved with = or Enter. Tap the key or type Ans inside a new expression, for example Ans × 1.2. Pressing an operator straight after = starts the new calculation with ANS for you.

**Is my history saved?**
No. The last five calculations live only in the memory of this page and disappear when you reload or close it. Nothing is stored or sent anywhere.

**How do I type a power or a root?**
Use ^ for powers (2^10 = 1024), sqrt( ) or √ for square roots and cbrt( ) for cube roots. For any other root, raise to a fraction: 32^(1/5) = 2.

**Can I type scientific notation such as 6.02e23?**
Yes. A number followed directly by e and digits, such as 6.02e23 or 1.5e-3, is read as scientific notation. A lone e, as in 2e or e^2, is Euler’s number 2.71828…


## Sources

- [OpenStax: Algebra and Trigonometry 2e](https://openstax.org/details/books/algebra-and-trigonometry-2e)
- [OpenStax: Precalculus 2e](https://openstax.org/details/books/precalculus-2e)
- [NIST Digital Library of Mathematical Functions](https://dlmf.nist.gov/)
