Scientific calculator

Tap the keys or type an expression such as 2sin(30)+√16 and press = or Enter. The calculator follows the standard order of operations, works in degrees or radians, and handles powers, roots, logarithms, factorials and memory. Your last 20 calculations are kept in your browser.

Free, no sign-up Runs in your browser

0

Keyboard: type in the box, press Enter for =, Esc to clear. Typed * and / become × and ÷; type sqrt, pi or asin for √, π and sin⁻¹.

History

    Tap a past result to use it in a new calculation. History stays in this browser only.

    Order of operations (BODMAS / PEMDAS)

    When an expression has several operations, the calculator works them out in a fixed order, the same one taught in schools. BODMAS (Brackets, Orders, Division/Multiplication, Addition/Subtraction) and PEMDAS (Parentheses, Exponents, Multiplication/Division, Addition/Subtraction) are two names for the same rule.

    1. Brackets first, innermost outwards.
    2. Functions and postfix operators: sin, √, log, n!, x², %.
    3. Powers (xʸ), worked right to left: 2^3^2 = 2^9.
    4. Unary minus: −2² means −(2²).
    5. Multiplication and division, left to right.
    6. Addition and subtraction, left to right.
    ExpressionWorked asResult
    2+3×43×4 first, then +214
    (2+3)×4brackets first: 5×420
    2^3^2right to left: 2^9512
    −2^2−(2²)−4
    (−2)^2(−2)×(−2)4
    3!^26²36
    6÷2(1+2)6÷2×3, left to right9

    You can leave out the × sign before a bracket, a constant or a function: 3(4+5) = 27, 2π = 6.28318530718 and 2sin(30) = 1 in degree mode. Implied multiplication has the same priority as an ordinary ×, so 6÷2(1+2) is 9. If you mean 6 ÷ 6, write 6÷(2(1+2)). A missing closing bracket at the end is added for you.

    Degrees vs radians

    Trigonometric functions need to know the unit of the angle. A full turn is 360 degrees or 2π radians, so 180° = π rad and 1 rad ≈ 57.2958°.

    radians = degrees × π ÷ 180 degrees = radians × 180 ÷ π

    Use DEG for everyday geometry, surveying and navigation, and RAD for calculus, physics and most programming languages. The same keys give very different answers: sin(30) is 0.5 in DEG mode but −0.988031624093 in RAD mode, because 30 radians is almost five full turns. In DEG mode, inverse functions also return degrees, so sin⁻¹(0.5) = 30.

    Functions on this calculator

    KeyMeaningExample
    x², xʸsquare, any power2^10 = 1024
    √, ∛square root, cube root√16 = 4, ∛(−8) = −2
    1/xreciprocal (shown as ⁻¹)4⁻¹ = 0.25
    ln, lognatural log (base e), common log (base 10)ln(e) = 1, log(1000) = 3
    n!factorial of a whole number5! = 120
    %divides by 100; after + or − it takes that percentage of the number before it200×10% = 20, 50+10% = 55
    EXP× 10 to the power6.02E23 = 6.02 × 10²³
    Ans, MRlast answer, memoryAns+1

    Accuracy and error messages

    Results are shown to 12 significant digits, which hides the tiny binary rounding errors every computer makes: 0.1+0.2 shows 0.3, not 0.30000000000000004. Very large or very small numbers switch to E notation, such as 2.43290200818E18 for 20!. Instead of a vague "Error", the calculator tells you what went wrong: dividing by zero, the square root or logarithm of a negative number, ln(0), sin⁻¹ of a value outside −1 to 1, tan(90°), or the factorial of a non-whole number.

    For everyday percentages, the percentage calculator is quicker, and the unit converter handles lengths, weights and temperatures.

    Frequently asked questions

    Does this calculator follow BODMAS / PEMDAS?
    Yes. Brackets come first, then functions, powers (right to left), multiplication and division (left to right), and finally addition and subtraction. For example, 2+3×4 = 14.
    Why is −2² equal to −4?
    By the standard convention, the power is worked out before the minus sign, so −2² means −(2²) = −4. To square negative two, use brackets: (−2)² = 4.
    How do I switch between degrees and radians?
    Use the DEG / RAD switch above the display. It affects sin, cos, tan and their inverses. In DEG mode sin(30) = 0.5; in RAD mode sin(π/6) = 0.5.
    How do I enter a number like 6.02 × 10²³?
    Type 6.02, press EXP, then 23. The display shows 6.02E23. Press ± right after the exponent digits to make the power negative, for example 1E−7.
    What do MC, MR, M+ and M− do?
    M+ adds the current result to memory and M− subtracts it. MR inserts the stored value into your expression, and MC clears it. The memory and your last 20 calculations are saved in this browser only.
    Why does 0.1 + 0.2 show 0.3 here but not in some apps?
    Computers store decimals in binary, so 0.1 + 0.2 is really 0.30000000000000004. This calculator rounds results to 12 significant digits, which removes those artefacts without affecting real answers.

    Last updated . How we check our tools.