Scientific Calculator

A full scientific calculator that runs in your browser: trigonometry, logarithms, powers, roots, factorials, constants and parentheses, with a real order-of-operations engine, degree and radian modes, and a tape of your recent calculations.

What you get
  • Every scientific functionsin, cos, tan and inverses, ln, log, powers, roots, factorial.
  • True expression engineFull PEMDAS order of operations, parentheses and implicit multiplication.
  • DEG and RAD modesTrig input and output in the unit your problem uses.

Scientific calculator

The result previews as you type

  0

Runs entirely in your browser. Nothing you type is sent or saved

Scientific calculator guide

What a scientific calculator does

A scientific calculator differs from a basic four-function one in two ways. First, it evaluates whole expressions rather than one operation at a time, so 2 + 3 × 4 returns 14, not 20, because it respects the standard order of operations. Second, it carries the transcendental functions: trigonometry, logarithms, powers and roots, plus constants like π and e, the numbers that science and engineering lean on daily.

Everything here evaluates in one pass with full precision; the display only rounds for reading, to ten significant digits, which is more than any hand measurement carries.

Order of operations

The engine follows PEMDAS, the convention every math class teaches:

  • Parentheses first: (1 + 2) × 3 = 9.
  • Exponents and roots next, including factorial: 2^3 = 8, and 5! = 120.
  • Multiplication and division, left to right: 12 ÷ 4 × 2 = 6, not 1.5.
  • Addition and subtraction last, left to right: 10 - 4 - 3 = 3.
-3^2 = -9   but   (-3)^2 = 9

the minus sign binds more loosely than the power, so write the parentheses you mean

Two conveniences are built in. Implicit multiplication works, so 2π is 6.2831853 and (1 + 2)(3 + 4) is 21. And the percent key divides by 100, so 200 × 15% gives 30 directly.

The functions on the keypad

  • sin, cos, tan: the three trigonometric ratios of an angle. With the 2nd toggle they become their inverses, asin, acos and atan, which return the angle whose sine, cosine or tangent you know.
  • ln: the natural logarithm, base e, the inverse of the exponential function. ln(e) = 1.
  • log: the common logarithm, base 10. log(100) = 2.
  • sqrt: square root. For other roots use a fractional exponent: the cube root of 27 is 27^(1/3) = 3.
  • x² and xʸ: squares and general powers. 2^10 = 1024.
  • !: factorial, the product of every whole number up to n. Defined here for integers 0 to 170, because 171! overflows even a computer number.
  • π and e: the circle constant 3.14159265 and Euler's number 2.71828183, inserted at full precision.
  • ANS: recalls the previous result, so you can chain calculations without retyping, like ANS × 2.

Degrees vs radians

Angles can be measured in degrees (a full circle is 360°) or radians (a full circle is 2π radians, so π radians = 180°). Trigonometric functions expect one or the other, and using the wrong mode is the single most common wrong answer in calculator work: in the wrong mode, sin(30) returns 0.5 in degrees but -0.988 in radians.

The DEG and RAD buttons switch the whole calculator. A practical habit: before any trigonometry, look at the units your problem states and check the mode matches. Inverses follow the same switch, so asin(0.5) returns 30 in degrees and 0.5236 in radians.

Using the calculator well

  • Type the whole expression rather than computing in pieces. The engine handles nesting, so sqrt(3^2 + 4^2) gives 5 in one line, and you can read the whole input back in the display before pressing =.
  • Watch matching parentheses: an unclosed ( is flagged as an error rather than silently ignored.
  • Chain with ANS: compute a part, then build on it. The tape on the right keeps your last calculations so nothing is lost.
  • Estimate first: a rough mental answer (is it near 5? near 50? near 500?) catches most mistyped exponents and wrong modes instantly.
  • Negative powers are fractions: 2^-3 = 0.125, because x^-n means 1 ÷ x^n.

A short history of the scientific calculator

For three centuries the scientific tool of choice was the slide rule, a pair of sliding logarithmic scales that multiply by adding lengths. It put men on the Moon, but it had no add or subtract, three significant figures at best, and it could not do trigonometry quickly.

The turning point came in 1972, when Hewlett-Packard released the HP-35, named for its 35 keys: the first pocket calculator that could handle trigonometric and logarithmic functions. It cost $395, about a month of an engineer's salary, and sold so briskly that the slide rule market collapsed within roughly three years. Texas Instruments and Casio followed with models that put a scientific calculator on every student's desk through the late 1970s and 1980s.

This page is the same idea, run in software: the buttons differ, but the order of operations, the functions and the DEG/RAD switch descend directly from those machines.

Common questions

The angle mode is set to the other unit. sin(30) is 0.5 when the calculator is in DEG mode, but 30 radians is a completely different angle, giving -0.988. Check the DEG and RAD buttons above the display whenever a trig result looks wrong, because this one toggle explains nearly every surprising trigonometric answer.

Use a fractional exponent. The cube root of 27 is 27^(1/3), which returns 3, and the fourth root of 16 is 16^(1/4) = 2. The sqrt key is just a shortcut for the power of one half. Negative bases work with odd roots: enter (-8)^(1/3) and the calculator reports an error only because fractional powers of negative numbers are undefined over the reals, so rewrite it as -8^(1/3) with the minus outside.

Only the base. ln is the natural logarithm with base e, about 2.718, and it is the one that appears in continuous growth and decay. log is the common logarithm with base 10, which is the one behind orders of magnitude and the engineering habit of counting zeros: log(1000) = 3. They are related by a fixed factor, since ln(x) = log(x) ÷ log(e).

Computers store numbers in binary, and one tenth has no exact binary form, much as one third has no exact decimal form. The raw hardware sum is 0.30000000000000004. This calculator rounds every displayed result to ten significant digits, so you will see a clean 0.3, but it is worth knowing that the tiny wobble exists in every binary machine.

The factorial of n multiplies every whole number from 1 to n, so 5! = 5 × 4 × 3 × 2 × 1 = 120. It grows explosively: 170! has 307 digits and is the largest factorial that fits in a standard computer number, so 171! and beyond report an overflow error rather than a wrong answer. Factorials are only defined for whole numbers here.

Write it as a multiplication with a power of ten: 6.02 × 10^23 is entered as 6.02*10^23, and the engine handles the rest. Very large or very small results are displayed in exponential form automatically, and the dedicated scientific notation calculator on this site converts and computes with numbers already in that form.

It converts a number to its decimal fraction: 15% becomes 0.15. So 200 × 15% is 30. The percent sign divides by 100 wherever it appears, so 50 + 10% is 50.1, not 55. To add ten percent of a value, write 50 × 1.1 or 50 + 50 × 10%. Keeping one meaning for % lets it compose cleanly inside larger expressions in a way that special-case percent logic does not.

No. Every calculation runs in your browser, and the tape of recent results lives only on this page for as long as you keep it open. Nothing is stored or transmitted.

The full scientific toolbox, one tab away.

Browse all math calculators