Scientific Calculator: Trigonometry, Logs and Powers

Scientific calculator

Evaluate arithmetic, powers, roots, logarithms and trigonometric functions with a safe local parser. Choose degrees or radians and review alternate number formats.

Examples: 2pi, 5!, log(1000), 2^3^2, 200*10%





Result
Scientific notation
Engineering notation

Recent calculations

    Supported scientific calculator syntax

    TypeSyntaxExample
    Arithmetic+ − * /, parentheses and implicit multiplication2(3+4)
    Powers and roots^, sqrt, cbrt and reciprocal through divisionsqrt(81)+2^5
    Trigonometrysin, cos, tan, asin, acos and atansin(30) in degree mode
    Logarithmslog base 10, natural log ln, and expln(e)
    Other functionsabs, floor, ceil and roundabs(-7.5)
    Constants and postfixpi, e, ans, factorial ! and percent %5!+10%

    Exponentiation is right-associative: 2^3^2 means 2(3²). Unary minus follows standard precedence, so -2^2 equals −4. A postfix percent divides the preceding value by 100; therefore 200*10% equals 20.

    How the calculation works

    The calculator tokenizes the expression, inserts supported implicit multiplication, builds a syntax tree and evaluates that tree in the browser. It does not execute typed JavaScript. Degree mode converts trigonometric inputs to radians and converts inverse-trigonometric outputs back to degrees.

    Scientific notation uses a power of ten. Engineering notation adjusts the exponent to a multiple of three. Both alternate formats are generated from the same unrounded binary floating-point result.

    Checked examples

    ExpressionModeExpected result
    2+3*4Either14
    2^3^2Either512
    5!Either120
    sin(30)Degrees0.5
    sin(pi/2)Radians1
    log(1000)+ln(e)Either4
    2piEither2π ≈ 6.283185307
    200*10%Either20
    Limits: Results use JavaScript double-precision floating-point arithmetic and are approximate. Factorials accept integers from 0 through 170. Real-number domain rules apply: division by zero, square roots of negative numbers and logarithms of nonpositive numbers are rejected. This tool is not a symbolic algebra or arbitrary-precision system.

    Frequently asked questions

    Does this calculator graph functions?

    No. Use the Graphing Calculator to plot one or more functions, generate a table and estimate visible roots.

    Can I switch between degrees and radians?

    Yes. The angle selector affects trigonometric and inverse-trigonometric functions. Other operations are unchanged.

    What does Ans mean?

    ans inserts the latest successful result from the current page session. Reset clears the result, history and memory.

    Is scientific notation input accepted?

    Yes. Values such as 1.2e-6 are accepted. Use the dedicated Scientific Notation Calculator for exact decimal-string conversion and arithmetic with extremely large exponents.