What you can type
| Function | How to type it | Example |
|---|---|---|
| Sine, cosine, tangent | sin( ), cos( ), tan( ) | sin(30) = 0.5 |
| Inverse trig | asin( ), acos( ), atan( ) | atan(1) = 45° |
| Logarithm base 10 | log( ) | log(1000) = 3 |
| Natural logarithm | ln( ) | ln(e) = 1 |
| Square root | sqrt( ) or √ | √81 = 9 |
| Cube root | cbrt( ) | cbrt(27) = 3 |
| Absolute value | abs( ) | abs(−5) = 5 |
| Factorial | ! | 5! = 120 |
| Constants | pi (or π) and e | 2π ≈ 6.2832 |
| Powers and brackets | ^ and ( ) [ ] { } | 2^3 = 8 |
Degrees or radians?
Angles can be measured in degrees or radians, and the right mode matters. A full turn is 360°, which is 2π radians, so 180° = π radians. To convert degrees to radians, multiply by π ÷ 180. The mode applies to sin, cos and tan, and to the answers from asin, acos and atan.
| Degrees | Radians | sin | cos | tan |
|---|---|---|---|---|
| 0° | 0 | 0 | 1 | 0 |
| 30° | π/6 ≈ 0.5236 | 0.5 | 0.8660 | 0.5774 |
| 45° | π/4 ≈ 0.7854 | 0.7071 | 0.7071 | 1 |
| 60° | π/3 ≈ 1.0472 | 0.8660 | 0.5 | 1.7321 |
| 90° | π/2 ≈ 1.5708 | 1 | 0 | undefined |
Worked examples
Trigonometry: sin(30) + cos(60)
In degrees mode, sin(30°) = 0.5 and cos(60°) = 0.5, so the sum is 1.
A hypotenuse: √(3² + 4²)
Work inside the brackets first: 9 + 16 = 25. Then take the square root: √25 = 5. The Pythagorean theorem calculator does this for any right triangle.
A circumference: 2π × 5
With π ≈ 3.14159265, the result is about 31.4159. The circle calculator finds this from any one measurement.
An angle: atan(3 ÷ 4)
Divide first: 3 ÷ 4 = 0.75. Then atan(0.75) ≈ 36.87°, the angle opposite the side of length 3 in a 3-4-5 triangle.
Logarithms: log(1000) + ln(e)
log(1000) = 3 because 10³ = 1000, and ln(e) = 1. The sum is 4.
Factorials and powers: (3! + 2)²
3! = 6, so the bracket is 6 + 2 = 8, and 8² = 64.
A trig identity: sin(30)² + cos(30)²
The result is 1. This identity, sin² + cos² = 1, holds for every angle.
Logarithms explained
A logarithm answers the question “what power gives this number?” So log(1000) = 3, because 10 raised to the power 3 is 1000. The natural logarithm, ln, uses the constant e ≈ 2.71828 as its base, so ln(e) = 1 and ln(10) ≈ 2.3026. For any other base, use the change of base rule: log base b of x = log(x) ÷ log(b). Three laws make logarithms useful: log(ab) = log(a) + log(b), log(a ÷ b) = log(a) − log(b), and log(aⁿ) = n × log(a). Logarithms only exist for positive numbers.
Square roots, cube roots and factorials
The square root of a number is the value that multiplies by itself to give it, so √81 = 9. The square root of a negative number is not a real number, so the calculator reports it instead of guessing. A factorial multiplies all whole numbers from n down to 1, so 5! = 120, and by definition 0! = 1. Factorials count arrangements, which is why they appear in the permutation and combination calculator. The largest factorial shown here is 170!, about 7.26 × 10³⁰⁶.
How the order of operations applies
A function first evaluates what is inside its brackets, then applies itself to that result. After that, the usual order applies: factorials before exponents, then multiplication and division from left to right, then addition and subtraction from left to right. So 2^3! is 2^(3!) = 64, and −3! is −(3!) = −6. The full rules are in the order of operations calculator.
Common mistakes
- The wrong angle mode. sin(30) is 0.5 in degrees but about −0.988 in radians.
- Confusing log and ln. Log is base 10, and ln is base e.
- Leaving out brackets. Type sin(30), not sin 30.
- Misreading sin²(x). Type it as sin(x)^2. The expression sin(x^2) is a different value.
- Confusing inverse notation. sin⁻¹(x) means asin(x), the inverse function, not 1 ÷ sin(x).
- Factorials of negatives or decimals. They are not defined here, and the calculator says so.
Frequently asked questions
How do I use a scientific calculator for sin, cos and tan?
Choose degrees or radians, then type the function with its angle in brackets, such as sin(30). The calculator evaluates the angle first, then applies the function and shows both steps. In degrees mode, sin(30) = 0.5, cos(60) = 0.5 and tan(45) = 1.
What is the difference between degrees and radians?
Both measure angles. A full turn is 360 degrees or 2π radians, so 180° = π radians. To convert, multiply degrees by π ÷ 180. Most school problems use degrees, while calculus and physics usually use radians.
Why is sin(30) not 0.5 on my calculator?
Your calculator is almost certainly in radians mode. In radians, sin(30) means 30 radians, which gives −0.988. Switch to degrees to get 0.5. Always check the angle mode before using sin, cos or tan.
What is the difference between log and ln?
Log means logarithm base 10, so log(1000) = 3 because 10³ = 1000. Ln is the natural logarithm, base e ≈ 2.71828, so ln(e) = 1. They are related by ln(x) = log(x) × ln(10).
How do I calculate a logarithm with a different base?
Use the change of base rule: log base b of x equals log(x) ÷ log(b). To find log base 2 of 8, calculate log(8) ÷ log(2) = 0.90309 ÷ 0.30103 = 3. This works with ln as well.
How do you calculate a factorial?
Multiply every whole number from the value down to 1. So 5! = 5 × 4 × 3 × 2 × 1 = 120. By definition 0! = 1. Factorials grow very fast, and 170! is the largest one that fits in standard calculator precision.
How do I find an angle from a ratio?
Use the inverse functions asin, acos and atan. For a right triangle with opposite side 3 and adjacent side 4, the angle is atan(3 ÷ 4) ≈ 36.87°. In degrees mode the answer is in degrees.
How does the order of operations apply to functions?
A function evaluates the expression inside its brackets first, then applies itself. After that, factorials come before exponents, then multiplication and division, then addition and subtraction. So 2^3! means 2^(3!) = 64. See the order of operations calculator for the full rules.
More Algebra calculators
Browse every algebra calculator.
Other calculators
- Percentage Calculator
- Fraction Calculator
- GCF and LCM Calculator
- Mean, Median, Mode Calculator
- Pythagorean Theorem Calculator
- Standard Deviation Calculator
- Slope, Distance and Midpoint Calculator
- Area Calculator
- Volume Calculator
- Circle Calculator
- Exponent and Root Calculator
- Order of Operations Calculator
- Z-Score Calculator
- Permutation and Combination Calculator
Related topics on this page: sin cos tan, inverse trig, degrees vs radians, log vs ln, change of base, square root, cube root, factorial, pi and e, order of operations with functions