Scientific Calculator
A full scientific calculator in your browser: type the calculation on your keyboard or tap it on the buttons and the result shows as you type. It has brackets, powers, roots, percent, sine, cosine and tangent with their inverses in degrees or radians, base-10 and natural logarithms, factorial, π, e, memory (M+, M−, MR, MC), Ans and history.
Works anywhere in the world, wherever you are.
Type on your keyboard or use the buttons. Enter calculates, Esc clears.
Result
—
Enter a calculation.
- Ans (last result)
- 0
- Memory
- —
- Mode
- DEG
History
Calculations you finish with = show up here. Tap one to use it again.
−2² = −4 (the power comes before the sign), 2^3^2 = 2^9 and implicit multiplication ranks the same as ×: 1÷2π = (1÷2)×π. Use brackets when in doubt. After + and −, % is a share of what comes before: 200 + 10% = 220.
Everything is worked out in your browser. Calculations, history and memory are not saved or sent anywhere: they are gone when you close the page. Only the angle mode is remembered.
Related tools
Fraction Calculator
Math
Add, subtract, multiply and divide fractions, step by step.
OpenPercentage Calculator
Math
Six modes: percent of, what percent, change and more.
OpenMean, Median and Mode Calculator
Math
Paste your numbers: mean, median, mode, range and standard deviation.
OpenRule of Three Calculator
Math
Direct, inverse and compound, with the setup and every step.
OpenUnit Converter
Math
Length, weight, volume, temperature, area, mpg, GB, psi, kWh and hp.
OpenAbout this calculator
How to use it
Type the whole calculation, such as 2 + 3 × 4 or sin(30), and press = or Enter. While you type, the running result shows underneath. Esc clears everything and the ⌫ key deletes one character (or a whole function, such as “sin(”).
Functions take brackets: sin(30), log(1000), √(9+16). Square and cube roots can also be written without brackets for a single number: √16 = 4 and ∛27 = 3. For other roots, use a fractional power: the fourth root of 81 is 81^(1/4). EXP types the E of scientific notation: 1.5E3 is 1,500.
Ans is the last result, so you can keep calculating with it. M+ adds what is on screen to memory, M− subtracts it, MR inserts it into the calculation and MC clears memory. History keeps the last 20 calculations; tap one to use it again.
Order of operations
Brackets first, then factorial and percent, then powers, then the minus sign, then multiplication and division, and finally addition and subtraction. That is why 2 + 3 × 4 = 14, but (2 + 3) × 4 = 20.
The power comes before the sign: −2² = −4, and to square the negative you write (−2)² = 4. Chained powers are worked from right to left: 2^3^2 = 2^9 = 512.
Implicit multiplication, such as 2π or 3(4 + 1), ranks the same as ×, left to right: 1 ÷ 2π gives 1.57079632679, which is (1 ÷ 2) × π. To divide by 2π, write 1 ÷ (2π) = 0.159154943092. Two numbers in a row with no operator, such as (1 + 2)3, are flagged as an error rather than guessed at.
Degrees, radians and errors
In degrees (DEG), sin(30) = 0.5; in radians (RAD), sin(30) = −0.988031624093, because that is 30 radians. Inverses answer in the chosen mode: cos⁻¹(0.5) = 60 in degrees.
Results are shown to 12 significant digits, so 0.1 + 0.2 reads 0.3 rather than 0.30000000000000004. Very large or very small numbers come out in scientific notation: 170! = 7.25741561531E306.
When something has no result, the calculator says why: log(−5) is outside the logarithm's domain, tan(90) in degrees is undefined, 1 ÷ 0 cannot be divided and 171! is too large. After + and −, percent is a share of what comes before, as on a shop calculator: 200 + 10% = 220.
Important limitations
- It works with double-precision numbers (about 15 or 16 digits) and shows 12. For arbitrary precision or exact fractions, use the fraction calculator or specialist software.
- Factorial only takes whole numbers from 0 to 170: it does not use the gamma function for decimals.
- A negative base with a fractional exponent, such as (−8)^(1/3), is flagged as out of domain; for the cube root of a negative number use ∛: ∛−8 = −2.
- Use a point for decimals. It does not do complex numbers, matrices or graphs.
Frequently asked questions
This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.