Skip to content

Scientific calculator online

Trig, logs, powers and roots, with degrees or radians.

0 DEG
Unit circle Type sin(30) or ln(5) and the last trig or log call is drawn here.
History

    Press Enter or = to keep a calculation here.

    Runs in your browser. Expressions are read by a small parser, nothing is sent anywhere.

    How do I use this scientific calculator?

    Type an expression the way you would write it on paper, or build it with the keypad. Enter (or =) keeps the answer in the history and stores it as ANS. Brackets you forget at the end are closed for you.

    The Degrees and Radians switch decides how sin, cos and tan read their input and how asin, acos and atan report their answer. The INV key turns sin, cos, tan, ln, log, √ and x² into their inverses (sin⁻¹, ex, 10x, ∛ and x³). Multiplication can be left out before a bracket, a function or π, so 2π and 3(4+5) both work.

    What is the difference between degrees and radians?

    Degrees cut a full turn into 360 parts; radians measure the angle by the length of arc it sweeps on a circle, in units of the radius: one radian is about 57.2958 degrees, and a full turn is 2π radians. For the area of a circular sector, the area calculator does the sum.

    One radian on a circle A circle with an angle at the center whose arc is as long as the radius; that angle is one radian, about 57.3 degrees. 1 rad r arc = r 1 radian ≈ 57.3° 180° = π rad ≈ 3.1416 90° = π/2 ≈ 1.5708 360° = 2π ≈ 6.2832 degrees × π ÷ 180 = radians
    An angle of one radian cuts off an arc exactly as long as the radius.
    Familiar angles in both units
    DegreesRadianssincostan
    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
    180° π ≈ 3.1416 0 −1 0
    360° 2π ≈ 6.2832 0 1 0

    Source: Standard trigonometric values, rounded to four decimal places.

    Same keys, two answers

    sin(30) is 0.5 in Degrees mode and −0.988031624093 in Radians mode, because the second reading is 30 radians, about 4.8 full turns. In Radians mode, a whole-number angle above 6.3 is usually a degree value typed by mistake, and the note under the picture says so.

    Which functions does it support?

    Function reference
    Type it asWhat it doesValid input
    sin(x) cos(x) tan(x) Sine, cosine, tangent of an angle in the chosen unit Any angle; tan fails at 90° (π/2) and its repeats
    asin(x) acos(x) atan(x) The angle with that sine, cosine or tangent, in the chosen unit asin and acos need −1 to 1
    ln(x) Natural logarithm (base e) Above 0
    log(x) Common logarithm (base 10) Above 0
    exp(x) or e^x e raised to x Any number that does not overflow
    √(x) sqrt(x) cbrt(x) Square root and cube root Square root needs 0 or more
    root(x, n) The nth root of x n not 0; negative x only with odd whole n
    x^y Power, evaluated right to left No negative base with a fractional power
    n! Factorial Whole numbers 0 to 170
    x% Divides by 100; after + or − it is a share of the left side Any number
    abs(x) ans π e Absolute value, previous answer, and the constants Constants are stored to full double precision

    Source: In this calculator log means base 10, as on most handheld models; some software uses log for the natural logarithm.

    What order does the calculator follow?

    Operations run from the top of the table down, and equal levels run left to right except powers, which stack from the right.

    Order of operations
    StepOperationExampleResult
    1 Brackets and function arguments (2+3)×4 20
    2 Factorial and percent 3!+1 7
    3 Powers, right to left 2^3^2 512
    4 Minus sign in front of a value −2^2 −4
    5 × ÷ and implied multiplication, left to right 8÷2(2+2) 16
    6 + − left to right 10−4+2 8

    Source: Computed with this calculator. Textbooks disagree about expressions like 8÷2(2+2); here the implied multiplication has the same rank as ×, so it is read left to right.

    For 4, type (−2)^2: the power binds before the minus sign.

    Worked examples

    1. Height of a ladder. A 5 m ladder leans at 70° to the ground. In Degrees mode, type 5*sin(70). The answer is 4.698 m, the height it reaches up the wall.
    2. Angle of a 3-4-5 triangle. Type atan(3/4). In Degrees mode it gives 36.87°; in Radians mode, 0.6435. Check the long side with √(3^2+4^2), which gives 5. To keep 3/4 as a fraction, use the fraction calculator.
    3. Doubling time. Anything growing 5% a year doubles when 1.05^t = 2, so t = ln(2)/ln(1.05). Type that and read 14.2 years. The same method works for any steady growth rate; the compound interest calculator shows the year-by-year balance.

    Common errors and what they mean

    Error messages and fixes
    You typedMessageFix
    tan(90) in Degrees tan is undefined at 90° and 270° The tangent has no value there; check the angle
    asin(2) asin only accepts values from −1 to 1 Sine and cosine never exceed 1; recheck the ratio you typed
    ln(0) or log(−5) ln needs a number above 0 Logarithms are defined only for positive numbers
    171! 170! is the largest factorial that fits 171! is about 1.24 × 10^309, past what a double can hold
    5/(3−3) Cannot divide by zero Find where the denominator becomes 0
    sin 30 Write sin with brackets, like sin(30) Functions always need brackets

    Common questions

    Why does sin(π) show 0 and not 1.2246e-16?

    Computers hold π as an approximation, so a raw sin(π) comes out as about 1.2246 × 10-16. Results that small from trig functions are shown as 0, and sums such as 0.1 + 0.2 are tidied to 0.3.

    Is this the same as the everyday calculator?

    It uses the same parser and number cleanup, but takes a typed expression instead of key-by-key entry. For quick sums with a paper-style tape, use the everyday calculator.

    Does it store my calculations?

    The last 30 lines and your angle choice are saved in this browser so they survive a reload. Nothing is sent anywhere.

    Sources

    Last reviewed November 9, 2026.