Scientific Calculator

This online scientific calculator provides the full function set of a physical scientific calculator — including trigonometric functions, inverse trig, logarithms, natural log, powers, roots, factorials, and mathematical constants. It supports keyboard input so you can type expressions naturally, stores the last five calculations as history, and includes a Degrees/Radians toggle for trigonometric work. Suitable for students from Class 8 upward through university level mathematics.

Expression DEG mode
0
History

    Function Groups

    Trigonometric functions such as sine, cosine, and tangent relate angles to side ratios in right triangles and circular motion. Inverse trigonometric functions reverse those relationships, returning an angle from a ratio. Logarithmic functions answer exponent questions: log tells what power of 10 creates a number, while ln uses the natural base e. Power and root functions cover squaring, arbitrary powers, square roots, cube roots, and reciprocals. Constants π and e are used throughout geometry, calculus, statistics, physics, and engineering. The calculator UI itself is the visual model: expression, result, keys, and history are all visible at once.

    How to Use

    1. Type numbers and operators directly on your keyboard or use the on-screen button grid.
    2. Choose DEG or RAD before using trigonometric functions. DEG is common in school geometry; RAD is common in calculus.
    3. Use parentheses around grouped operations to control order, especially for powers, roots, and logarithms.
    4. Press Enter or the equals button to calculate. Press Escape or C to clear the expression.
    5. Check the history list after each calculation. It stores the last five expressions so you can compare repeated attempts.

    Scientific Calculator Formulas

    sin(θ) = opposite / hypotenuse
    cos(θ) = adjacent / hypotenuse
    tan(θ) = opposite / adjacent
    log(x) = base-10 logarithm; ln(x) = natural logarithm

    Scientific calculator functions are built around algebraic, trigonometric, and exponential relationships. The trigonometric functions convert angles into ratios from a right triangle or coordinates on the unit circle. In degree mode, the calculator converts degrees to radians internally because JavaScript Math functions use radians. Logarithms reverse exponentiation: if 10² = 100, then log(100) = 2. Natural logarithm uses e, approximately 2.71828, as its base. Powers multiply a base repeatedly or apply fractional exponent rules for roots. Factorials multiply all positive whole numbers up to n, so 5! = 5 × 4 × 3 × 2 × 1 = 120. These functions let one calculator solve geometry, algebra, growth, decay, probability, and physics expressions.

    Worked Example

    Evaluate sin(30) + √144 in degree mode. First set the calculator to DEG because 30 is intended as degrees. sin(30°) equals 0.5 because a 30-60-90 triangle has opposite side half the hypotenuse. Next calculate √144. Since 12 × 12 = 144, the square root is 12. Add the two results: 0.5 + 12 = 12.5. In the calculator, press sin, type 30, close the parenthesis if needed, press plus, press √, type 144, and press equals. The history records the full expression and the result so the calculation can be checked later.

    Input Safety and Order

    Scientific expressions depend heavily on order of operations. Parentheses are the safest way to make intent clear, especially around negative numbers, powers, logarithms, and trigonometric functions. The calculator maps button presses to JavaScript Math functions, then evaluates the mathematical expression locally. It limits accepted characters to ordinary mathematical syntax and known function names. If a result is unexpected, check three things first: whether the angle mode is correct, whether parentheses are balanced, and whether multiplication signs were entered explicitly. For example, write 2*(3+4), not 2(3+4). Also remember that squaring a negative number needs parentheses: (-3)^2 is 9, while -3^2 is commonly interpreted as -9.

    Common Trig Values

    Anglesincostan
    010
    30°1/2√3/21/√3
    45°√2/2√2/21
    60°√3/21/2√3
    90°10undefined
    180°0-10
    270°-10undefined
    360°010

    Scientific Calculator FAQ

    What is a scientific calculator

    A scientific calculator is a calculator designed for mathematics beyond basic arithmetic. It includes functions for powers, roots, logarithms, trigonometry, inverse trigonometry, constants, factorials, reciprocals, percentages, and parentheses. These functions are needed in algebra, geometry, trigonometry, physics, statistics, engineering, and finance. Unlike a basic calculator, a scientific calculator can evaluate expressions with operation precedence and nested functions. This online version also keeps history and supports keyboard input, making it useful for homework, checking formulas, and quick technical calculations.

    Should I use degrees or radians

    Use degrees when your angle is measured in degrees, such as 30°, 45°, or 90°. This is common in school geometry, surveying, navigation, and many everyday angle problems. Use radians when working in calculus, advanced trigonometry, circular motion formulas, or expressions involving π as an angle. JavaScript and most programming languages calculate trig functions in radians internally, so this calculator converts degree inputs when DEG mode is selected. If a trigonometric answer looks wrong, the angle mode is the first setting to check.

    What is the difference between log and ln

    Log usually means base-10 logarithm on calculators, while ln means natural logarithm with base e. A logarithm answers the question “what exponent produces this number” Because 10² = 100, log(100) = 2. Because e¹ is e, ln(e) = 1. Base-10 logs are common in scientific notation, pH, decibels, and orders of magnitude. Natural logs are common in calculus, continuous growth, compound interest, radioactive decay, and differential equations. Both are inverse operations for exponential functions, but they use different bases.

    How does factorial work

    Factorial, written n!, multiplies every positive whole number from n down to 1. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials are used in counting arrangements, combinations, permutations, probability, and series expansions. Factorial is defined for non-negative integers in this calculator. The value grows extremely quickly: 10! is 3,628,800 and 20! is already more than 2 quintillion. Because of that rapid growth, very large factorials may exceed ordinary display ranges.

    Is eval safe in this calculator

    This calculator restricts expression input before evaluation by allowing only numbers, operators, parentheses, decimal points, Math constants, and mapped Math functions. It does not accept arbitrary words from the page UI. That said, the calculation runs locally in your browser and is intended for mathematical expressions, not for processing untrusted code. The safest practice is to use the on-screen buttons or normal math keyboard input. The page does not send expressions to a server, and calculation history stays in the current browser session only.