Scientific Calculator
NovoFull scientific calculator with trig, log, factorial, powers and memory functions.
Recent Calculations
Runs entirely in your browser. Nothing is uploaded.
What is a scientific calculator?
A scientific calculator is an advanced tool that goes far beyond arithmetic to provide the mathematical functions needed in science, engineering, and higher mathematics. Unlike a basic four-function calculator, a scientific calculator includes trigonometric functions, logarithms, exponentials, factorials, powers, roots, and constants like π and e. These functions are needed for physics, chemistry, engineering, statistics, and anything past basic algebra.
This free online scientific calculator uses a full expression parser rather than a simple button-by-button interface. Type a complete expression such as sin(45) + log(100) / 2 and evaluate it in one step — exactly like writing a formula, not pressing buttons sequentially. It supports DEG and RAD angle modes, a 2nd function layer for inverse trig and exponentials, memory storage, and a five-entry calculation history panel.
How to use the scientific calculator
Click the function buttons (sin, cos, tan, log, ln, √ etc.) to insert them into the expression field, then close parentheses and press = to evaluate. The display shows both the expression you are building and a live preview of the result as you type, so you can spot mistakes before committing to them.
To unlock the 2nd function layer, press the [2nd] button — labels update to show asin, acos, atan, eˣ, 10ˣ, and ∛. Use the DEG/RAD toggle to switch angle units; the active mode is always visible. For memory, M+ stores the current result, MR recalls it, and MC clears it. The history panel below the keypad shows your last five calculations — click any entry to reuse the result. Keyboard users can type expressions directly, press Enter to evaluate, Backspace to delete, and Escape to clear everything.
How this compares to Desmos, Wolfram Alpha, and Casio
Desmos is excellent for graphing but its scientific calculator mode is a secondary feature. The expression interface is graph-first, not calculator-first, and it opens with a graphing canvas most users don't need for arithmetic. Wolfram Alpha supports symbolic math and exact answers (like sin(π) = 0 rather than 1.2e-16) but requires an internet connection for every query and has a learning curve for complex input syntax. Physical Casio and Texas Instruments calculators are reliable but you can't type full expressions — you press buttons one operation at a time, which is slow for multi-step problems.
UtiloKit's scientific calculator is designed for the middle case: a student or engineer who wants to type a full formula, evaluate it instantly, and move on. No graphing canvas to navigate, no server round-trip, no syntax to learn. Everything runs locally in the browser — works on a phone, works offline, no sign-up needed.
Trigonometry, logarithms, and powers
Trigonometric functions — sin, cos, tan — relate angles to the side ratios of right triangles. Their inverses (asin, acos, atan) recover an angle from a ratio. Always check DEG vs RAD mode: sin(90°) = 1 but sin(90 radians) ≈ 0.894. Use RAD mode for calculus, angular frequency, or wave problems, and DEG mode for geometry, navigation, and surveying.
Logarithms are the inverses of exponentiation. ln(x) asks 'to what power must e be raised to get x?' and is core to calculus, growth/decay models, and information theory. log(x) uses base 10 and appears in pH, decibels, and the Richter scale. Powers and roots: x² squares a value, xⁿ raises to any power, √ gives the square root, and the 2nd key gives ∛. Fractional exponents like x^(1/n) compute nth roots — all computed with IEEE 754 double-precision arithmetic accurate to 15 significant digits.
Tips and real-world examples
For compound interest, type the entire formula in one expression: 1000 * (1 + 0.05/12)^(12*10) for $1,000 at 5% annual rate compounded monthly over 10 years. For physics vectors, type 150 * cos(35) and 150 * sin(35) (in DEG mode) for horizontal and vertical force components. For pH, type -log(0.0001) to get pH 4 for a 10⁻⁴ mol/L solution.
Use memory to avoid retyping intermediate results: compute the first sub-expression, press M+, build the next part, and press MR to recall the stored value. For combinations and permutations, use the n! button: C(10,3) = 10! / (3! × 7!) can be computed step by step using = and M+. Press Escape to clear everything if you make an error — faster than clicking AC. Use parentheses liberally: when in doubt, wrap sub-expressions in () to ensure the correct evaluation order.
Order of operations: PEMDAS, BODMAS, and the rules that govern every calculation
Order of operations is the ruleset every calculator and programmer must follow to evaluate an expression unambiguously. English-speaking countries teach it as PEMDAS (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction), while the UK and many Commonwealth nations use BODMAS (Brackets, Orders, Division, Multiplication, Addition, Subtraction) and Canada uses BEDMAS. All three acronyms encode exactly the same hierarchy: grouping symbols first, then powers and roots, then multiplication and division evaluated left-to-right, and finally addition and subtraction evaluated left-to-right. A critical point most students miss is that multiplication and division share the same precedence level — they are not separate tiers — and the same is true for addition and subtraction. Failing to apply the left-to-right rule at equal-precedence levels is the source of most arithmetic errors.
A concrete worked example illustrates why the rules matter. Consider 2 + 3 × 4. A left-to-right naïve evaluation gives (2 + 3) × 4 = 20. Correct PEMDAS evaluation gives 2 + (3 × 4) = 2 + 12 = 14. The same trap appears in 48 ÷ 2(9 + 3), which went viral on social media around 2011 with millions arguing for both 2 and 288. The ambiguity is real: traditional textbook notation treats a coefficient immediately adjacent to brackets (the '2' in '2(...)') as implied multiplication at higher precedence than explicit ÷, giving 48 ÷ 24 = 2. Modern calculators and programming languages apply strict left-to-right rules for division and multiplication, giving 48 ÷ 2 × 12 = 288. Neither is 'wrong' — the expression is genuinely ambiguous. The lesson is that parentheses remove ambiguity: (48 ÷ 2) × (9 + 3) = 288 and 48 ÷ (2 × (9 + 3)) = 2 are each unambiguous. Similarly, the infamous 6 ÷ 2(1 + 2) resolves to 9 under strict left-to-right rules and to 1 under implied-multiplication-first convention — always use explicit parentheses in real work.
This calculator's Shunting-Yard parser applies strict IEEE-standard precedence: explicit × and ÷ carry equal precedence and associate left-to-right with no special treatment for juxtaposition. That means 6 ÷ 2 × 3 evaluates as (6 ÷ 2) × 3 = 9, consistent with Python, Wolfram Alpha, and every IEEE-compliant language. If your textbook uses the implied-multiplication-higher convention, simply add the parentheses yourself — e.g., type 6 / (2 * (1 + 2)) — and you will always get the result the problem intended.
Logarithms and exponentials: from decibels to earthquake magnitude
Logarithms are the inverse of exponentiation. If 10² = 100, then log₁₀(100) = 2. If eˣ = y, then ln(y) = x. On this calculator the log button computes the base-10 (common) logarithm, and the ln button computes the natural logarithm (base e ≈ 2.71828). Pressing the 2nd key turns log into 10ˣ and ln into eˣ — their respective inverse operations. The two are related by the change-of-base formula: log₁₀(x) = ln(x) / ln(10) ≈ ln(x) / 2.302585. This formula also extends to any base: log_b(x) = ln(x) / ln(b), which lets you compute, for example, log₂(1024) = ln(1024) / ln(2) = 10 directly on this calculator.
The constant e ≈ 2.71828182845... is not arbitrary. It emerges naturally when compounding interest infinitely frequently: as the compounding periods n → ∞, the factor (1 + 1/n)ⁿ → e. More deeply, e is the unique base for which the derivative of eˣ equals itself — making it indispensable in differential equations that model anything changing at a rate proportional to its current value: population growth, radioactive decay, capacitor discharge, and Newton's law of cooling all involve eˣ or ln(x). The natural logarithm ln is therefore the native language of calculus and physics, whereas log₁₀ dominates measurement scales designed for human convenience.
Three of the most important real-world measurement scales are all base-10 logarithmic. The decibel scale for sound intensity is defined as dB = 10 × log₁₀(I / I₀), where I₀ is the threshold of human hearing (10⁻¹² W/m²). A sound 10× more intense adds exactly 10 dB; 100× more intense adds 20 dB. The Richter scale for earthquake magnitude works the same way — each integer step represents a 10× increase in ground-motion amplitude. A magnitude 7 earthquake releases roughly 32× the energy of a magnitude 6. The pH scale is defined as pH = −log₁₀[H⁺], where [H⁺] is the hydrogen-ion concentration in mol/L. Pure water has [H⁺] = 10⁻⁷, so pH = 7. Battery acid at pH 1 is 10⁶ (one million) times more acidic than pure water. All three scales are computable on this calculator: type -log(0.000001) to confirm pH 6, or 10 * log(1000000) for the dB level of a signal one million times the reference power.
Trigonometric functions: unit circle, radians, and real-world applications
The three primary trigonometric functions — sine, cosine, and tangent — are defined for a right triangle as: sin(θ) = opposite / hypotenuse, cos(θ) = adjacent / hypotenuse, and tan(θ) = opposite / adjacent (equivalently sin(θ) / cos(θ)). The unit circle extends these definitions to all angles, not just acute ones: for any angle θ measured from the positive x-axis, the coordinates of the corresponding point on the unit circle are (cos θ, sin θ). This is why sin(0°) = 0, cos(0°) = 1, sin(90°) = 1, and cos(90°) = 0. The unit circle also explains why trig functions are periodic — a full rotation of 360° (or 2π radians) returns every value to its starting point.
Radians are the natural unit for angles in mathematics and physics. One radian is the angle subtended at the centre of a circle by an arc equal in length to the radius. This makes arc length elegantly simple: arc = r·θ (with θ in radians), which in degrees would require a messy conversion factor. The conversion is π radians = 180°, so 1 radian ≈ 57.296°. Derivatives of trig functions only take their clean forms (d/dx sin(x) = cos(x)) when x is in radians — if you work in degrees the derivative gains a factor of π/180. For this reason, all physics, calculus, and engineering work defaults to RAD mode; use DEG mode only when angles come from geometry, navigation, or surveying problems stated in degrees. Always check the mode indicator before computing — the most common trig mistake on any calculator is using the wrong angle unit.
The inverse trig functions — arcsin (asin), arccos (acos), and arctan (atan) — recover an angle from a ratio. If sin(θ) = 0.5, then asin(0.5) = 30° (in DEG mode) or π/6 ≈ 0.5236 (in RAD mode). A physics projectile launched at velocity v at angle θ clears a horizontal distance of v²·sin(2θ)/g — enter values, solve for θ using atan if the range is known. In AC circuit analysis, engineers use phasor representation where voltages and currents are complex vectors: the phase angle between voltage and current through an inductor or capacitor is computed via arctan(X_L / R) or arctan(X_C / R), where X is reactance. Navigation uses trig constantly: a ship bearing 35° northeast at 20 knots has a northward velocity component of 20·cos(35°) ≈ 16.4 knots and an eastward component of 20·sin(35°) ≈ 11.5 knots — two quick keystrokes on this calculator.
A brief history of calculators: from the Pascaline to the pocket scientific
Mechanical calculation has a four-century history. In 1642, the 19-year-old French mathematician Blaise Pascal built the Pascaline — a gear-driven machine that could add and subtract by turning wheels, intended to help his father add up tax figures. It was the first mass-produced calculator, though only about 50 were ever built. Thirty years later, in 1673, Gottfried Wilhelm Leibniz extended Pascal's design with the Leibniz Wheel (Staffelwalze), a stepped-drum gear that allowed multiplication and division, not just addition. Leibniz famously wrote that 'it is unworthy of excellent men to lose hours like slaves in the labour of calculation.' His design influenced mechanical calculators for the next 200 years.
In 1837, Charles Babbage conceived the Analytical Engine — a general-purpose mechanical computer with a 'mill' (arithmetic unit), a 'store' (memory), and a card-based program input borrowed from Jacquard looms. It was never completed in his lifetime, but Ada Lovelace's notes on it — including an algorithm to compute Bernoulli numbers — are widely recognised as the first computer program. The leap from mechanical gears to electronics came in the 1960s with integrated circuits. Texas Instruments produced the first handheld electronic calculator prototype in 1967. By 1970, companies including Sharp, Sanyo, and Canon had commercial models, but all were four-function only.
The watershed moment for science and engineering was 1972, when Hewlett-Packard released the HP-35 — the first pocket scientific calculator. It cost $395 (roughly $2,800 in 2025 dollars) and rendered the slide rule obsolete almost overnight. HP engineers famously verified it was working correctly by computing e^(π × √163) and checking that it was almost, but not quite, an integer (a known mathematical curiosity). In 1974, Texas Instruments countered with the SR-50, bringing the price of scientific calculation below $150. Casio's FX series, beginning with the FX-1 in 1972 and exploding in variety through the 1980s, made scientific calculators affordable worldwide. By the late 1970s, the education debate was fierce: should students be allowed calculators on standardised tests? The US National Advisory Committee on Mathematical Education recommended limited calculator use in 1975; full approval for SAT use did not come until 1994. That debate's echoes persist today — and the proliferation of free browser-based scientific calculators has raised the same questions for a new generation.
Frequently asked questions
What functions does this scientific calculator support?
The calculator supports all major trigonometric functions (sin, cos, tan and their inverses asin, acos, atan), natural logarithm (ln), base-10 logarithm (log), square root, cube root, arbitrary powers (xⁿ), factorial (n!), absolute value, reciprocal (1/x), percentage (%), sign toggle (±), and the constants π and e. You can freely combine all of these in a single typed expression and evaluate it in one press of =. Unlike a basic four-function calculator, there's no limit on expression complexity.
What is the difference between DEG and RAD mode?
In DEG mode, angles are measured in degrees (a full circle = 360°). In RAD mode, angles are in radians (a full circle = 2π ≈ 6.283). For example, sin(90) in DEG mode = 1, but sin(90) in RAD mode ≈ 0.894. Physics and calculus problems typically use radians, while geometry and navigation use degrees. Always confirm your mode matches the problem before calculating, as using the wrong mode is the most common source of trig errors — it trips up students on Wolfram Alpha and Desmos too.
How do I use the 2nd function key?
Press the [2nd] button to toggle the second layer of functions. sin becomes asin (arcsine), cos becomes acos (arccosine), tan becomes atan (arctangent), ln becomes eˣ, log becomes 10ˣ, and √ becomes ∛ (cube root). The button labels update live to show which function is active. Press [2nd] again to return to primary functions. The 2nd mode is also cancelled automatically after using a function, so you don't need to toggle back manually each time.
How does order of operations (PEMDAS) work in this calculator?
This calculator uses a full Shunting-Yard expression parser that correctly enforces PEMDAS: Parentheses first, then Exponents, then Multiplication and Division left-to-right, then Addition and Subtraction left-to-right. For example, 2 + 3 × 4 = 14, not 20. Many basic online calculators — including some built into phone browsers — evaluate left to right and get this wrong. You can type full multi-step expressions like sin(45) + log(100) / 2 and the result is always mathematically correct.
How do the memory functions M+, M−, MR, and MC work?
M+ adds the current displayed result to the memory register. M− subtracts the current result from memory. MR recalls the stored memory value and appends it to your current expression. MC clears the memory register back to zero and hides the M indicator. Memory persists across multiple calculations until you explicitly clear it or close the tab, making it useful for accumulating subtotals or referencing a constant across several calculations — just like a physical Casio or Texas Instruments calculator.
Can I type expressions using my keyboard?
Yes — full keyboard input is supported. Type digits 0–9 and the operators +, −, *, / directly. Press Enter or = to evaluate, Backspace to delete the last character, and Escape (or click AC) to clear everything. Parentheses ( and ) work as typed. The caret ^ inputs the power operator. Keyboard input is significantly faster than clicking buttons when you have a long sequence of complex expressions, which is one place this calculator beats a phone's built-in calculator.
How is factorial calculated and what are its limits?
Factorial n! equals the product of all positive integers from 1 to n. For example, 5! = 5 × 4 × 3 × 2 × 1 = 120. The calculator handles non-negative integers up to 170! before exceeding JavaScript's maximum floating-point number (~1.8 × 10³⁰⁸). Entering 0! correctly returns 1 by definition. For non-integer input, the value is rounded to the nearest integer before calculating. Wolfram Alpha can compute larger factorials using arbitrary-precision arithmetic, but for typical coursework 170! is more than sufficient.
What is the difference between log and ln?
ln is the natural logarithm with base e ≈ 2.71828, used in calculus, population growth models, radioactive decay, and continuous compounding. log is the common logarithm with base 10, used in pH, decibels, and the Richter scale. They are related by the change-of-base formula: log(x) = ln(x) / ln(10). On this calculator, ln and log buttons give you both; the 2nd key gives you their inverses eˣ and 10ˣ. Desmos also supports both but its scientific layout is less focused on one-line expression entry.
Is this calculator safe — does it use eval()?
No, this calculator never uses JavaScript's eval() function. It implements a two-stage compiler: a tokenizer that splits input into numbers, operators, functions, and parentheses, then the Shunting-Yard algorithm converting the expression to Reverse Polish Notation. The RPN stack is then evaluated purely mathematically. This means no JavaScript code can be injected through the input field. Many online calculators — including some found on GitHub — do use eval() and are vulnerable to arbitrary code execution. All computation runs locally in your browser with zero network requests.
How do I enter and work with scientific notation?
Enter numbers in the form a × 10ⁿ using the multiplication and power buttons — for example, type 6.022 × 10 ^ 23 to represent Avogadro's number. Very large or very small results are automatically displayed in JavaScript's exponential notation (e.g., 6.022e+23). You can then use that result in subsequent calculations without retyping the full number, which is particularly useful in chemistry and physics where constants like Avogadro's number, the speed of light, or Planck's constant appear repeatedly.
How accurate are the trigonometric results?
The calculator uses JavaScript's native Math library, which implements IEEE 754 double-precision floating-point arithmetic accurate to approximately 15–17 significant decimal digits — more precision than any physical Casio or TI scientific calculator. Tiny rounding artefacts (e.g., sin(π) showing 1.2e-16 instead of exactly 0) are a normal consequence of binary floating-point representation, not a calculation error. Wolfram Alpha uses symbolic computation and can return exact results like sin(π)=0, but for numerical computation the difference is irrelevant in practice.
What real-world problems can I solve with a scientific calculator?
Physics: kinematics (sqrt(2 × 9.81 × 45) for free-fall velocity), wave frequency, vector components with sin and cos. Chemistry: pH = −log[H⁺], molar mass calculations, Avogadro-scale numbers in scientific notation. Finance: compound interest A = P(1+r/n)^(nt) as a single expression. Engineering: signal-to-noise ratios in dB via 10×log(ratio), resolving force vectors. Statistics: z-score normalisation. The expression parser handles all of these in one line without switching tools.
What does the 1/x (reciprocal) button do?
The 1/x button wraps the current expression in a reciprocal: it effectively computes 1 ÷ (current expression). For example, if you have entered 4, pressing 1/x transforms the expression to 1/(4) and evaluates to 0.25. It is mathematically equivalent to raising the number to the power −1. Entering 1/0 produces Infinity, which is JavaScript's correct representation for division by zero.
Can I chain multiple functions in one expression?
Yes — the expression parser supports deeply nested and chained function calls. You can type sin(π/6) + log(100) - sqrt(16)^2 and press = to evaluate everything in one step. Parentheses can be nested to any depth, and each function argument is fully evaluated before the outer function applies. This lets you express multi-step physics or engineering formulas as a single readable line — something you can't do on a basic phone calculator or a simple online four-function tool.
How does the calculation history work?
Every time you press = and get a valid result, the full expression and result are prepended to the history panel below the keypad, which stores the last five calculations. You can review recent work at a glance and click any historical entry to reuse the result in a new expression. History is stored in memory only and cleared when you close or refresh the tab — nothing is saved to a server or your account.
Does this scientific calculator work on iPhone and Android?
Yes — it works on any modern smartphone or tablet. There is no app to download from the App Store or Google Play. Open the page in Safari or Chrome on your phone and the full layout adapts to the screen size. All functions — trig, logarithms, memory, history, keyboard input — work the same on mobile. The buttons are sized for touchscreen use, so you don't need a physical keyboard to operate it comfortably on a small screen.
Related tools
Oglejte si vsa orodjaArea Calculator
Area calculator for 10 shapes: circle, rectangle, triangle (3 methods), trapezoid, ellipse, rhombus & more. Formula shown instantly.
GCF & LCM Calculator
Find GCF (greatest common factor) and LCM (least common multiple) for up to 10 numbers. Euclidean algorithm steps & prime factorization shown.
Pretvornik enot
Pretvarjajte dolžino, težo, temperaturo, površino, prostornino, hitrost, čas in podatkovne velikosti.
Pretvornik Unix časovnega žiga
Pretvorite čas epohe v datum in nazaj, z živim trenutnim časom in ISO 8601.
Pretvornik številskih osnov
Pretvarjajte med binarnim, oktalnim, decimalnim, šestnajstiškim in katerokoli osnovo od 2 do 36.
Pretvornik rimskih številk
Pretvorite številke v rimske številke in nazaj z validacijo.