What is a scientific calculator?
A scientific calculator is one that understands mathematical structure, not just a sequence of keypresses. A basic four-function calculator processes what you type in the order you type it: press 2 + 3 × 4 = and many of them answer 20, because they add 2 and 3 first and then multiply. A scientific calculator answers 14, because multiplication binds tighter than addition. That single difference is what makes it a mathematical instrument rather than an adding machine.
Beyond precedence, a scientific calculator adds the function set that secondary-school and university mathematics actually requires: trigonometry, logarithms, exponents and roots, factorials, scientific notation, and constants such as π and e. This one also carries an editable tape, unit-aware arithmetic, base conversion, an equation solver, matrices and statistics — but the core is the same: type an expression the way it is written on paper, and get the mathematically correct answer.
How to use this calculator
- Type the expression. The input accepts ordinary mathematical notation — sin(45) + ln(2)^3 works as written. You do not have to press buttons; the keypad is there when you want it.
- Watch the preview. The line under the input evaluates as you type, so you can see a mistake before you commit to it. Unclosed brackets are counted and reported.
- Check the angle mode. DEG, RAD or GRAD is shown in brass at the top left. This is the setting that causes the most wrong answers in the world; see below.
- Press Enter. The result lands on the tape with its expression.
- Reuse anything. Click a past result to insert it into the current expression, or edit a past line to recalculate everything downstream of it.
Scientific calculator functions explained
| Function | Type as | Example | Result |
|---|---|---|---|
| Sine | sin(x) | sin(30) in DEG | 0.5 |
| Cosine | cos(x) | cos(60) in DEG | 0.5 |
| Tangent | tan(x) | tan(45) in DEG | 1 |
| Inverse sine | asin(x) | asin(0.5) in DEG | 30 |
| Hyperbolic sine | sinh(x) | sinh(0) | 0 |
| Common log (base 10) | log10(x) | log10(1000) | 3 |
| Natural log (base e) | log(x) | log(e) | 1 |
| Log to any base | log(x, b) | log(8, 2) | 3 |
| Square root | sqrt(x) | sqrt(144) | 12 |
| Cube root | cbrt(x) | cbrt(27) | 3 |
| nth root | nthRoot(x, n) | nthRoot(32, 5) | 2 |
| Power | x^y | 2^10 | 1024 |
| Exponential | exp(x) | exp(1) | 2.718281828… |
| Factorial | x! | 6! | 720 |
| Absolute value | abs(x) | abs(-7) | 7 |
| Combinations | combinations(n, k) | combinations(5, 2) | 10 |
| Permutations | permutations(n, k) | permutations(5, 2) | 20 |
| Modulo | a mod b | 17 mod 5 | 2 |
| Round / floor / ceil | round(x) | ceil(4.1) | 5 |
| Constants | pi, e | 2 * pi | 6.283185307… |
Degrees, radians and gradians
Angle mode is the most common source of wrong answers on any scientific calculator, and it is worth understanding rather than memorising. All three units measure the same thing — how far round a circle you have gone — they just divide the circle differently.
| Mode | A full circle is | Use it for | sin of a right angle |
|---|---|---|---|
| DEG | 360 degrees | School geometry, surveying, navigation, most engineering drawings | sin(90) = 1 |
| RAD | 2π ≈ 6.283 radians | Calculus, physics, anything where you differentiate a trig function | sin(pi/2) = 1 |
| GRAD | 400 gradians | Some surveying and civil engineering traditions, mostly European | sin(100) = 1 |
The trap is that a wrong mode does not produce an error — it produces a plausible-looking wrong number. sin(30) is 0.5 in degrees and about −0.988 in radians. Both are valid sines; only one answers the question you meant. Radians are not an arbitrary alternative: they are the unit in which the derivative of sin(x) is cos(x). Use degrees for geometry, radians for calculus, and check the brass indicator before you trust a trig result.
Calculating sin, cos and tan
In a right-angled triangle, sine is opposite over hypotenuse, cosine is adjacent over hypotenuse, and tangent is opposite over adjacent — the mnemonic is SOH-CAH-TOA. To find an angle rather than a ratio, use the inverse functions: asin(0.5) returns 30 in DEG mode. Note that tan is undefined at 90° and 270°, where the adjacent side has length zero; the calculator will return a very large number rather than an error, because floating-point 90° is not exactly a right angle.
How logarithms work
A logarithm answers the question "what power do I raise this base to, in order to get this number?" So log10(1000) = 3, because 10³ = 1000. And log(e) = 1, because e¹ = e.
Base 10 is used wherever quantities span many orders of magnitude — the decibel scale, pH, the Richter scale. Base e, the natural logarithm, is used wherever something grows or decays in proportion to its own size: compound interest, radioactive decay, population models, and every integral of 1/x. For any other base, log(x, b) takes it directly — log(8, 2) = 3.
Three rules do most of the work: log(ab) = log(a) + log(b), log(a/b) = log(a) − log(b), and log(aⁿ) = n·log(a). That last one is why logarithms turn awkward exponent problems into ordinary arithmetic, and why slide rules worked.
Powers, roots and reciprocals
Use ^ for any exponent: 2^10 = 1024. Roots are fractional powers, so sqrt(x) is the same as x^(1/2) and cbrt(x) is x^(1/3). For anything else, nthRoot(32, 5) = 2.
Two details that trip people up. First, -2^2 is −4, not 4: the exponent binds tighter than the unary minus, so it reads as −(2²). Write (-2)^2 if you mean 4. Second, exponentiation is right-associative, so 2^3^2 is 2^(3²) = 2⁹ = 512, not (2³)² = 64. That is the standard mathematical convention, and it is what this engine does.
Square roots of negative numbers return a complex result rather than an error, since the underlying engine supports complex arithmetic — sqrt(-4) gives 2i. If you are working strictly in the reals, treat that as a signal that something upstream is wrong.
How factorials work
The factorial of a whole number is that number multiplied by every whole number below it: 5! = 5 × 4 × 3 × 2 × 1 = 120. It counts the number of ways to arrange n distinct things in order, which is why it sits at the heart of probability and combinatorics.
By definition 0! = 1 — there is exactly one way to arrange nothing. Factorials grow ferociously: 10! is 3,628,800, 20! is about 2.4 × 10¹⁸, and 171! exceeds what a double-precision number can represent at all. Beyond about 21! the result stops being exact even though it still displays, because it has passed the point where consecutive integers are representable.
For counting problems, prefer the dedicated functions over building factorials by hand: combinations(5, 2) = 10 for selections where order does not matter, permutations(5, 2) = 20 where it does.
Scientific notation
Scientific notation writes a number as a value between 1 and 10 multiplied by a power of ten, which is the only sane way to handle the quantities physics and chemistry deal in. Avogadro's constant is 6.022 × 10²³; the mass of an electron is about 9.109 × 10⁻³¹ kg.
Type it with e: 6.022e23. The display switches to scientific notation automatically once a result passes 10¹⁵ or drops below 10⁻⁹, because at that point the digit string becomes unreadable and the exponent is the part that matters. You can change where those thresholds sit, and how many decimal places are shown, in the settings panel.
Precision and floating-point
Computers store numbers in binary, and some decimal fractions have no exact binary representation — the same way 1/3 has no exact decimal one. That is why 0.1 + 0.2 evaluates to 0.30000000000000004 in raw JavaScript, and why calculators that display raw values look broken.
This calculator rounds for display at a configurable number of decimal places, defaulting to 10, so 0.1 + 0.2 shows as 0.3 while 1/3 still shows ten meaningful digits. Rounding happens only in the display layer; the value carried onto the tape and into the next calculation keeps its full precision, so errors do not accumulate.
Memory, variables and the tape
Three different ways to keep a number, and they are worth distinguishing.
Memory is the classic MC/MR/M+/M− behaviour: one or more named slots you add to and recall. Use it for a running subtotal you keep coming back to.
Variables let you name a value and use the name in later expressions — assign r = 4.2 and then write pi * r^2. For any calculation with more than two steps this is far less error-prone than re-typing numbers, and it makes the tape readable afterwards.
The tape is the running record of everything you have calculated. It is the feature physical calculators lack and the reason accountants kept printing adding machines. Because each line is editable and everything downstream recalculates, you can correct an input from ten steps ago without redoing the work.
Parentheses and order of operations
The engine follows standard precedence: parentheses first, then exponents, then multiplication, division and modulo, then addition and subtraction, working left to right within each level. So 2 + 3 × 4 = 14 and (2 + 3) × 4 = 20.
Where precedence is genuinely ambiguous in everyday writing — expressions like 6 ÷ 2(1+2), which circulate online precisely because notation is unclear — the honest advice is not to memorise a rule but to add brackets. The bracket counter under the input tells you how many are still open, so long expressions do not become guesswork.
Common scientific calculator mistakes
- Wrong angle mode. By a wide margin the most common. Check DEG/RAD/GRAD before trusting any trig answer.
- Confusing log and ln. Here log is natural and log10 is base 10 — the opposite of the key labels on a physical calculator.
- Missing brackets around a negative base. -3^2 is −9; (-3)^2 is 9.
- Assuming percentages chain. A 10% rise followed by a 10% fall does not return you to the start — it leaves you at 99%.
- Rounding too early. Round once, at the end. Rounding intermediate steps compounds the error.
- Trusting the last digits. Double precision gives about 15 significant digits; anything beyond that is noise.
For students, engineers and physicists
Students mostly need trigonometry in degrees, logarithms, powers and roots, and reliable order of operations. The tape is unusually useful for homework because it shows your working — you can read back the steps you took rather than re-deriving them.
Engineers benefit most from the unit-aware arithmetic and base conversion. You can write 5 km + 300 m and get a sensible answer, or flip a value between decimal, hexadecimal, octal and binary with the bitwise operators alongside. For repeated financial calculations, our EMI calculator handles amortisation properly rather than making you rebuild it from a formula.
Physicists and chemists want scientific notation that behaves, constants that are correct, and radians available in one tap. Combine variables with the tape and a multi-step derivation stays auditable.
Scientific vs basic vs physical calculators
| Feature | Basic calculator | This calculator | Physical scientific calculator |
|---|---|---|---|
| Order of operations | Often left to right | Full precedence | Full precedence |
| Trig and logs | No | Yes | Yes |
| Editable history | No | Yes, recalculating tape | Limited replay at best |
| Named variables | No | Yes | A few lettered stores |
| Copy and paste | No | Yes | No |
| Allowed in exams | Sometimes | No | Often, if an approved model |
| Works without power | Battery | Needs a device | Solar or battery, years |
The honest summary: a browser calculator wins on history, variables, copy-paste and never being in the other room. A physical calculator wins on exam rooms and battery life. Neither replaces the other.
Keyboard shortcuts
| Key | Action |
|---|---|
| 0–9 . ( ) | Type directly into the expression |
| + − * / | Operators |
| ^ | Power |
| Enter | Evaluate and push to the tape |
| Backspace | Delete the character before the cursor |
| Escape | Clear the expression |
| ← → | Move the cursor within the expression |
| Home / End | Jump to the start or end |
Because the expression is an ordinary text field, everything you expect from a text field works — select, copy, paste, and edit in the middle rather than deleting back to your mistake.
Privacy
Every expression is parsed and evaluated in your browser. There is no server component, so your calculations, tape, variables and memory are never transmitted — they are held in memory and, where you have used a feature that persists, in your browser's local storage on this device only.
You can verify it in about ten seconds: open developer tools, switch to the Network tab, and run a few calculations. You will see the page's own files and the maths engine load once, and nothing after that. The engine is currently fetched from a public CDN, which reveals that a file was requested but never what you typed; self-hosting it to remove even that request is on our list. Full details are in our privacy policy.
Related calculators
For everyday percentage work — discounts, tax, tips, percentage change — the dedicated percentage calculator is quicker than typing the formula each time. Converting between units of length, mass, temperature or area is cleaner in the unit converter than as an expression. If you are working out how old something is or counting days between dates, the age calculator handles the calendar edge cases. For loan repayments use the EMI calculator, and for course marks the GPA and CGPA calculator. When you need unpredictable numbers rather than computed ones, the random name picker is the tool for drawing lots.