Everyday Utilities

Scientific
Calculator

A full-featured scientific calculator with trig functions, logarithms, powers, roots, factorials, memory storage, and calculation history. Full keyboard support — use it exactly like a physical calculator.

DEG RAD
M
0
History
Your calculations will appear here.
Click any entry to restore it.
📖 How to Use the Scientific Calculator
1
Enter your calculation
Click the number and operator buttons, or use your keyboard directly — number keys, +, −, *, /, and Enter all work. Type expressions naturally: 2+3*4 follows standard order of operations (multiplication before addition). Use parentheses to group: (2+3)*4.
2
Use scientific functions
Click sin / cos / tan to insert the function — then type your angle and close the bracket. Example: sin(45). Toggle DEG/RAD to switch between degree and radian mode (the active mode is shown in the top-left). Use log for base-10, ln for natural log, for square root.
3
Powers and roots
Click or after a number to square or cube it. Use for any power — it inserts ^( so you can type the exponent. Use sqrt( for square roots, or 8^(1/3) for a cube root. Press x! after an integer for factorials.
4
Memory functions
MS stores the current result in memory. MR recalls it into your expression. M+ adds the current result to memory, M− subtracts it. MC clears memory. The M indicator in the top-right lights up when memory is active. This is useful for multi-step calculations where you need to reuse a subtotal.
5
History and restore
Every calculation is saved in the History panel on the right. Click any history entry to restore that result to the display — so you can continue calculating from a previous answer without retyping. Click Clear all to wipe the history. History is kept for your session only.
6
Constants π and e
Click π to insert 3.14159265… and e to insert Euler's number 2.71828… into your expression. These work anywhere a number would: 2*π*5 gives the circumference of a circle with radius 5. Use e^2 for e squared.
Keyboard shortcuts: Numbers and operators work directly. Enter or = to calculate. Escape to clear all. Backspace to delete last character. D to toggle DEG/RAD mode. Parentheses ( and ) work as expected. For powers, type ^ directly from the keyboard.
Quick Reference
sin(x), cos(x), tan(x)
Trig functions — angle in DEG or RAD
asin(x), acos(x), atan(x)
Inverse trig — result in current mode
log(x)
Base-10 logarithm
ln(x)
Natural logarithm (base e)
sqrt(x)
Square root of x
x^y
x to the power of y
x!
Factorial — integers only (0–170)
abs(x)
Absolute value of x
π
3.14159265358979…
e
2.71828182845904…
x%
Percentage — divides by 100
( )
Grouping — overrides order of operations

Order of operations (PEMDAS/BODMAS)

The calculator follows standard mathematical order of operations: Parentheses first, then Exponents, then Multiplication and Division (left to right), then Addition and Subtraction (left to right). So 2+3×4 = 14, not 20. If you want addition first, use parentheses: (2+3)×4 = 20. This matches how most scientific and graphing calculators work.

Degrees vs Radians — when to use each

Degrees are the everyday unit for angles — a full circle is 360°, a right angle is 90°. Radians are the mathematical unit — a full circle is 2π ≈ 6.28, a right angle is π/2 ≈ 1.57. Use DEG for everyday geometry, navigation, and most applied problems. Use RAD for calculus, physics, and engineering where angles appear in formulas. The mode indicator in the top-left shows which is active. sin(90) in DEG = 1. sin(90) in RAD = 0.894.

How factorials work

A factorial (x!) multiplies a positive integer by every integer below it down to 1. So 5! = 5×4×3×2×1 = 120. Factorials grow extremely fast — 10! = 3,628,800 and 20! = 2.4 quintillion. The calculator supports up to 170! (the largest factorial that fits in JavaScript's number range). Factorials are used in probability, combinations (nCr), and permutations (nPr). 0! = 1 by mathematical convention.

Using this calculator for common math

Percentage: To find 15% of 200, type 200*15% = 30. Circumference: 2*π*r. Pythagorean theorem: sqrt(3^2+4^2) = 5. Compound interest: 1000*(1+0.05)^10. Natural log: ln(e) = 1. pH chemistry: -log(0.001) = 3.

Frequently Asked Questions
Why does my trig calculation give the wrong answer?
The most common cause is using the wrong angle mode. If you're entering angles in degrees (like 45°, 90°, 180°), make sure DEG is active — shown in the top-left of the display. If RAD is active, the calculator interprets your input as radians, so sin(90) in RAD gives sin(90 radians) ≈ 0.894, not 1. Click DEG/RAD to toggle the mode. For calculus and physics, RAD is typically correct. For everyday geometry problems, DEG is usually what you want.
How do I calculate a square root or cube root?
For square root, click the √ button which inserts sqrt( — then type your number and close the bracket: sqrt(16) = 4. For cube root, use the fractional exponent: 8^(1/3) = 2. For any nth root, use x^(1/n): 32^(1/5) = 2. You can also type sqrt( directly from the keyboard if you prefer. The expression display at the top of the calculator shows your full expression so you can verify the brackets are correct before pressing =.
What does the % button do?
The % button divides the preceding number by 100, converting a percentage to a decimal. So typing 15% gives 0.15, and 200*15% gives 30 (15% of 200). This is the same behavior as most physical calculators. Note this is a direct division by 100 — it's not a "percentage of" operation on its own. For compound percentage calculations like "200 increased by 15%", type 200*(1+15%) or 200*1.15.
Can I use the keyboard instead of clicking buttons?
Yes — full keyboard support is built in. Type numbers 0–9, operators + − * /, decimal point, and parentheses ( ) directly. Press Enter or = to calculate. Backspace deletes the last character. Escape clears everything (same as AC). Press D to toggle DEG/RAD. You can also type function names directly: sin(, cos(, sqrt(, log(, ln(, abs(. The caret ^ works for exponents. Keyboard input is generally faster than clicking for long expressions.
How to Use the Scientific Calculator

Perform advanced calculations with trig functions, logarithms, powers, and roots.

01
Use the function buttons
Click sin, cos, tan, log, ln, and other functions before entering the number. Or enter the number first and click the function for post-fix entry.
02
Toggle degrees/radians
For trig functions, make sure you're in the right mode. Most everyday uses (angles in geometry) use degrees. Scientific/engineering calculations often use radians.
03
Use memory functions
M+ adds the current result to memory, M− subtracts, MR recalls memory, MC clears it. Useful for multi-step calculations where you need to reuse an intermediate result.
04
Check the history log
Previous calculations appear in the history panel. Click any previous result to use it in a new calculation — avoids re-entering long numbers.
05
Use keyboard shortcuts
Type numbers and operators directly from your keyboard. The calculator responds to numeric input, making it faster than clicking buttons.
💡
💡 Order of operations (PEMDAS/BODMAS) applies: brackets first, then powers, then multiply/divide, then add/subtract. Use brackets liberally to avoid ambiguity in complex expressions.