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 type | Mode | Read as | Result |
|---|---|---|---|
| sqrt(16) + 3^2 × sin(30) | Degrees | √(16) + 3^2 × sin(30°) | 4 + 9 × 0.5 = 8.5 |
| sin(30) | Radians | sin(30) | −0.988031624093 |
| −3^2 | Either | −(3^2) | −9 |
| 2^3^2 | Either | 2^(3^2) | 512 |
| 5! | Either | 5! | 120 |
| 200 + 10% | Either | 200 + 10% | 220 |
| 1/2×3 | Either | (1 ÷ 2) × 3 | 1.5 |
The 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
| Key | What it does | Example |
|---|---|---|
| sin, cos, tan | Sine, cosine and tangent of an angle in the chosen unit | cos(60) = 0.5 in degrees |
| sin⁻¹, cos⁻¹, tan⁻¹ | Inverse functions, which return an angle | tan⁻¹(1) = 45 in degrees |
| ln, log | Natural logarithm (base e) and common logarithm (base 10) | log(1000) = 3 |
| √, x², xʸ | Square root, square and any power | √(2) ≈ 1.414213562 |
| n! | Factorial of a whole number up to 170 | 5! = 120 |
| % | Divides by 100, or after + and − takes that percent of the number before it | 80 × 25% = 20 |
| ± | Changes the sign of the number you are typing | 7 becomes −7 |
| ANS | The last answer you saved with = | Ans × 2 |
| 1/x, eˣ, 10ˣ | Reciprocal, powers of e and powers of 10 | 10^(−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.
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
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.
Frequently asked questions
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…