Scientific Calculator
Trigonometry, logarithms, roots, powers, factorials and constants, with DEG/RAD modes and history
100% free. Runs entirely in your browser - your files and data never leave your device and nothing is uploaded to any server.
- Choose DEG or RAD for angles
- Type or tap an expression
- Press Enter or = for the answer
Calculator
Keyboard shortcuts
| Enter | Calculate |
| Esc | Clear the expression |
| Backspace | Delete the last character |
| ^ | Power, e.g. 2^8 |
| ! | Factorial, e.g. 5! |
| , | Separates two values, e.g. ncr(5,2) |
History
Your last calculations appear here. Click one to use its result again.
How to use the scientific calculator
Type an expression or use the keys, then press Enter or =. Use DEG for angles in degrees (sin(30) = 0.5) and RAD for radians. Everything runs in your browser; nothing you type is sent anywhere.
Online scientific calculator
A full scientific calculator in your browser: trigonometry and inverse trig in degrees or radians, logarithms, roots, powers, factorials, permutations and combinations, GCD and LCM, modulo, and the constants pi and e. It keeps memory and a searchable history of your last 12 calculations, shows answers as decimals or fractions, and works from the keyboard.
How to use this tool
- Choose DEG or RADDEG reads angles in degrees, so sin(30) = 0.5. RAD reads them in radians, so sin(pi/2) = 1.
- Enter an expressionType it, or press the keys. Brackets and operator precedence are respected: 2 + 3 × 4 = 14.
- Press Enter or =The answer appears in the display and is added to the history. Press Esc to clear.
- Switch the answer formatShow the result as a decimal with 2 to 10 decimal places, or as a fraction when it has a short exact form such as 3/4.
- Reuse resultsUse ANS for the last answer, the memory keys M+, M−, MR and MC, or click a history entry.
Functions on this calculator
- Trigonometry: sin, cos, tan and inverse asin, acos, atan in degrees or radians.
- Logarithms and exponents: log (base 10), ln (base e), eˣ, xʸ, x² and ×10ˣ.
- Roots: square root √ and cube root ∛.
- Counting: factorial n!, combinations nCr and permutations nPr.
- Number theory: gcd, lcm and mod (remainder).
- Other: |x| absolute value, 1/x reciprocal, ± sign change, percent, pi and e.
Degrees and radians
A full turn is 360 degrees or 2π radians. Use DEG for most school geometry and RAD for calculus and physics formulas. Switching the mode recalculates the last result so the display always matches.
Decimal or fraction answers
Computers store numbers in binary, so sin(30°) comes out as 0.49999999999999994. The display rounds this to 0.5, and fraction mode shows it as 1/2. Fraction mode finds the simplest fraction with a denominator up to 10,000; values such as π that have no short fraction are shown as decimals.
Key features
- Safe expression parser: no code is executed, and invalid input gets a clear message.
- Degree and radian modes with a clear DEG/RAD indicator on the display.
- More than 30 functions including nCr, nPr, gcd, lcm, mod, cube root and e to the x.
- Fraction display turns results like 0.75 or 0.49999999999999994 into 3/4 and 1/2.
- Memory, ANS and a searchable history of the last 12 calculations.
- Keyboard friendly: Enter calculates, Esc clears, Backspace deletes.
Common uses
- Trigonometry homework: sines, cosines and angles in triangles.
- Physics and engineering formulas with powers of ten.
- Probability with combinations and permutations, such as ncr(52,5).
- Logarithms for pH, decibels and compound growth.
- Quick everyday sums with brackets and percentages.
Tips for better results
- Two-value functions use a comma: ncr(5,2), mod(17,5), gcd(12,18).
- Use ×10ˣ for scientific notation, or type 3e8 directly.
- If a trig answer looks wrong, check whether you are in DEG or RAD.
- Use the decimal-places menu to round the display without changing the stored answer.
- Search the history to find an earlier result quickly.
Mistakes to avoid
- Calculating sin(30) in radian mode and getting −0.988 instead of 0.5.
- Forgetting brackets: 1/2x is not the same as 1/(2x).
- Taking the square root or logarithm of a negative number, which has no real answer.
- Using log when the natural logarithm ln was meant, or the other way round.
- Expecting a factorial of a non-whole number; n! is defined for whole numbers here.
Frequently asked questions
Press DEG at the top of the calculator. The DEG badge on the display confirms the mode. In DEG, sin(90) = 1.
You are probably in RAD mode, where 30 means 30 radians. Switch to DEG and sin(30) = 0.5.
Use xʸ or the ^ key: 2^10 = 1024. For squares use x², and for e to a power use eˣ.
Use √ for the square root, for example sqrt(144) = 12, and ∛ for the cube root, for example cbrt(27) = 3.
log is the base-10 logarithm (log(1000) = 3). ln is the natural logarithm with base e (ln(e) = 1).
Use nCr for combinations and nPr for permutations, with a comma between the numbers: ncr(5,2) = 10 and npr(5,2) = 20.
Type the number followed by !, for example 6! = 720.
Use ×10ˣ, which inserts *10^, or type the e form directly: 6.02e23.
M+ adds the current answer to memory, M− subtracts it, MR inserts the memory into your expression and MC clears it. An M badge shows when memory holds a value.
Yes. Choose Fraction under Show result as. Answers with a short exact form such as 0.625 appear as 5/8.
Enter calculates, Esc clears the expression and Backspace deletes the last character. You can type numbers, operators, brackets, ^ and ! directly.
There is no real-number answer for the square root of a negative number, and division by zero is undefined, so the calculator explains the problem instead of showing a misleading number.
The history and memory last until you close or reload the page. Nothing is sent to a server.