Online Scientific Calculator: Trig, Logs, Exponents, Factorial & Deg/Rad
A full scientific calculator with trigonometry (sin/cos/tan and inverses, sec/csc/cot, hyperbolics), logarithms, powers and roots, factorials, combinations/permutations, rounding and number functions, polar/rectangular and DMS conversions, plus constants and an independent memory. Switch among DEG/RAD/GRAD and the 2nd and HYP modifiers, see results live as you type, and copy or paste expressions — all evaluated privately in your browser.
Scientific Calculator Guide
Trigonometry, hyperbolics, logs, combinatorics, number math & memory
The scientific calculator supports a full set of advanced math: trigonometric and inverse-trig functions (plus sec/csc/cot), all six hyperbolic functions and their inverses, natural/base-10/base-2 and arbitrary-base logarithms, exponentials, square/cube/nth roots, factorials, combinations and permutations, gcd/lcm, rounding and sign functions, random numbers, polar/rectangular and DMS/decimal conversions, constants (pi, e, phi, gamma, epsilon), a four-key memory, and degree/radian/gradian modes. Functions are organised into five tabbed panels (Trig, Log/Pwr, Prob, Number, Const/Mem), while the core number and operator keypad stays always visible. It evaluates expressions with proper algebraic precedence as you type, showing a live result.
01 Entering and evaluating expressions
Build an expression using digits, operators and function keys, then press = (or Enter) to evaluate. Parentheses let you control grouping — for example (2 + 3) × 4. The live result updates as you type, so you can catch mismatched parentheses before pressing =. Use Ans to insert the result of the previous calculation into a new expression.
Functions that take two arguments — such as nCr, nPr, gcd, lcm, log_b, nth-root, max, min, randint and polar/rectangular conversion — insert the function name followed by an opening parenthesis; enter the first argument, press the comma key (,), enter the second argument, then close with ). For example nCr(5,2) gives 10 and root(3,8) gives 2.
Angle mode matters for trig functions. Tap DEG/RAD/GRAD to cycle modes; the label shows the active one. DEG uses degrees, RAD radians, and GRAD gradians (a right angle = 100 grad). Inverse trig outputs are returned in the current angle unit. The 2nd button toggles the inverse layer, and HYP toggles the hyperbolic layer — combine 2nd + HYP for inverse hyperbolics such as sinh to the minus 1.
- Trig panel: sin/cos/tan (and sec/csc/cot), 2nd for inverses, HYP for hyperbolic variants, parentheses and comma
- Log/Pwr panel: ln, log, log2, log_b, e^x, 10^x, 2^x, square/cube/nth root, power, square, cube, reciprocal, absolute value
- Prob panel: factorial, nCr, nPr, random, random integer, gcd, lcm, modulo, max, min
- Number panel: floor, ceil, round, truncate, integer part, fractional part, sign, DMS and polar conversions
- Const/Mem panel: pi, e, golden ratio, Euler-Mascheroni constant, machine epsilon, and MC/MR/M+/M- memory
- ^ raises to a power; % is modulo (remainder); ! computes factorial of the preceding integer
02 Memory, constants and correcting mistakes
The four memory keys work like a physical calculator: M+ adds the current result to memory, M- subtracts it, MR inserts the stored value into the expression, and MC clears memory. A small M indicator appears above the display when a value is stored. The constants phi, gamma and epsilon insert the golden ratio (~1.618), the Euler-Mascheroni constant (~0.577) and machine epsilon (~2.22e-16) respectively.
Use backspace to delete the last token, and AC to clear the entire expression. When deleting, a function name together with its opening parenthesis is removed in one step. If a function is mathematically undefined (division by zero, square root of a negative, etc.), the display shows Error; press AC or start typing to reset.
Display
- CopyCopies the current result to the clipboard (disabled while the result is 0).
- PastePastes an expression from the clipboard, replacing the current entry; spaces and alternate operators (÷, en-dash) are normalised. Also available via Ctrl/Cmd+V.
Function panels (tabs)
- TrigTrigonometric functions, 2nd/HYP modifiers, parentheses and comma.
- Log/PwrLogarithms, exponentials, roots, powers and absolute value.
- ProbFactorial, combinations/permutations, random, gcd/lcm, max/min.
- NumberRounding, integer/fraction parts, DMS and polar/rectangular conversion.
- Const/MemMathematical constants and the four memory keys.
Modifiers and angle mode
- 2ndToggles the inverse-function layer (inverse trig, e^x, 10^x, 2^x, inverse sec/csc/cot).
- HYPToggles hyperbolic functions: sin becomes sinh etc.; combine with 2nd for inverse hyperbolics.
- DEG/RAD/GRADCycles the angle unit; label shows the active mode. Trig inputs and inverse outputs follow it.
Trig panel
- sin / cos / tanSine, cosine, tangent; with 2nd their inverses; with HYP hyperbolic.
- sec / csc / cotSecant, cosecant, cotangent; with 2nd their inverses.
- ( )Parentheses to group terms and enclose function arguments.
- ,Comma separator for two-argument functions (nCr, log_b, root, gcd...).
Log/Power panel
- ln / log / log2Natural, base-10 and base-2 logarithms (2nd switches to e^x/10^x/2^x).
- log_bLogarithm with arbitrary base: log_b(base, value).
- root keysSquare root, cube root and nth root root(n, x).
- ^Power operator (exponentiation); x2 and x3 insert quick powers.
- 1/xReciprocal of the value.
- |x|Absolute value.
Probability panel
- !Factorial of the preceding non-negative integer.
- nCrCombinations (n choose r): nCr(n,r).
- nPrPermutations: nPr(n,r).
- RandInserts a random number in [0,1).
- RandIntRandom integer between two bounds: randint(min,max).
- gcd / lcmGreatest common divisor / least common multiple of two integers.
- modModulo (remainder) of two numbers.
- max / minLarger / smaller of two numbers.
Number panel
- floor / ceilRound down / up to the nearest integer.
- roundRound to the nearest integer.
- trunc / intTruncate the decimal part (toward zero).
- fracFractional part of a number.
- signSign of a number (-1, 0 or 1).
- DMS keysConvert decimal degrees to/from degrees-minutes-seconds notation.
- R→P keysRectangular to polar: radius and angle (in current angle unit).
- P→R keysPolar to rectangular: x and y components.
Constants & memory
- pi / eConstants pi (~3.14159) and Euler number (~2.71828).
- phi / gamma / epsGolden ratio, Euler-Mascheroni constant and machine epsilon.
- M+Adds the current result to stored memory.
- M-Subtracts the current result from memory.
- MRRecalls (inserts) the stored memory value.
- MCClears the memory.
Main keypad
- 0-9 / .Digits and decimal point.
- + - * /Basic arithmetic operators.
- %Modulo (remainder) operator.
- AnsInserts the last computed result.
- ACClears the entire expression and result.
- backspaceDeletes the last token.
- =Evaluates the expression. Also available via Enter.
- Always check DEG/RAD/GRAD before trig work — mixing angle units is the most common cause of unexpected results.
- For two-argument functions, use the comma key between arguments: nCr(10,3).
- Use parentheses generously to make the order of evaluation explicit.
- The live result lets you verify intermediate values before pressing =.
- M+ and M- let you accumulate a running total across several calculations.
- For number-base conversion (HEX/DEC/OCT/BIN), use the Base Converter mode.
A free, privacy-friendly online scientific calculator covering secondary-school through early-college science: sin/cos/tan and their inverses, ln and log, eˣ and 10ˣ, powers, roots, factorial, modulo, parentheses and the constants π and e, with a degree/radian (DEG/RAD) toggle and a 2nd function key. A live preview shows the result as you type, with full keyboard support. Everything runs locally in your browser.
Building an expression
Tap the on-screen keys or type on your keyboard and press = or Enter to evaluate. DEG/RAD controls whether trig functions use degrees or radians; 2nd switches sin/cos/tan to asin/acos/atan (and ln↔eˣ, log↔10ˣ). Nested parentheses, powers ^, factorial !, modulo %, sign flip, and π/e are all supported, with a live result preview.
Keyboard shortcuts
Digits 0–9, operators + - * /, parentheses, ^ for powers, ! for factorial and % for modulo all work directly. Enter or = evaluates, Backspace deletes one character and Escape clears. You can type function names such as sin, cos, tan, log, ln, sqrt as well.
Precision and use cases
Suited to high-school math and physics, early-college science and simple engineering estimates (in the spirit of non-programmable calculators permitted in many exams). It uses a shunting-yard expression parser and keeps 12 significant digits to suppress floating-point noise; very large or small numbers appear in scientific notation.
FAQ
QWhich functions are supported?
sin/cos/tan and their inverses (via 2nd), natural log ln, common log log, eˣ and 10ˣ, sqrt, powers x^y, x², x³, factorial, modulo, plus the constants π and e, all combinable with parentheses.
QHow do I switch degrees and radians?
Tap DEG/RAD. In DEG, trig takes and returns degrees (e.g. sin(30)=0.5); in RAD it uses radians and inverse trig returns radians.
QDoes it support keyboard input?
Yes — digits, operators, parentheses, ^, !, %, Enter (=), Backspace (delete) and Escape (clear) all work, and you can type function names.
QAre calculations uploaded or saved?
No. Everything runs locally in your browser, nothing is sent to a server and nothing is written to history; a refresh clears it.