GGfor Tools

Scientific Calculator

Calculate real-number expressions with powers, roots, trigonometric functions, logarithms and factorials. Switch DEG or RAD and review your calculation history.

Type sin(30), 2^3 or 1e-6. Use * for multiplication and a dot for decimals. Function names stay in English. Buttons insert at the cursor.

Enter an expression and choose the angle mode before calculating.

Calculation history

The last 10 successful calculations stay in this page only. Select an entry to restore its expression and angle mode. Refreshing clears the history.

    Scientific calculator guide: functions, angle modes and numerical precision

    Operator precedence, powers and parentheses

    Multiplication and division precede addition and subtraction: 2+3*4 = 14. Powers associate to the right, so 2^3^2 = 512. A leading minus has lower precedence than a power: -2^2 = -4, while (-2)^2 = 4. Write multiplication explicitly, such as 2*pi or 2*(3+4). Functions take one parenthesized argument. Use parentheses to make your intended grouping clear.

    DEG and RAD for trigonometric functions

    DEG interprets sin, cos and tan inputs as degrees; RAD uses radians. For example, sin(30) in DEG is approximately 0.5, and sin(pi/6) in RAD is approximately 0.5. Inverse functions asin, acos and atan return angles in the selected mode. Tangent is rejected when the absolute cosine is below 1e-14, including numerical representations of its poles. Trigonometric inputs are limited to an absolute angle of 1e9 radians after conversion.

    Logarithms, roots, factorials and real-number limits

    log(x) uses base 10, ln(x) uses base e, and exp(x) calculates e^x. Both logarithms require x>0. sqrt(x) requires x≥0, while abs(x) gives the absolute value. Factorial n! accepts integers from 0 to 170, with 0! = 1; results are still floating-point approximations. Zero division and 0^0 are rejected. Negative bases require integer exponents, so use supported real expressions rather than complex-number notation.

    Significant digits and floating-point accuracy

    The calculator uses JavaScript double-precision numbers, not arbitrary-precision arithmetic. Choose 6–15 significant digits for display; this does not increase internal accuracy. Small residuals such as sin(pi) in RAD are not forcibly replaced by zero. Very small nonzero results may underflow and very large results may overflow; detected cases produce an error. Use Fraction Calculator for exact rational arithmetic. Calculations and history stay in this page; shared website resources may still load.

    Related tools