Function Reference

Every key on the keypad, with its exact syntax, the inputs it accepts, and an example you can check.

Last updated: August 2026 · Written and verified by Akash Pandey

This is the complete function list for the main calculator. Every example is verified against the engine, so anything here can be typed in and checked. On a desktop, hovering a key shows a short version of the same information; on touch, press and hold.

Trigonometry

KeyMeaningDomainExample
sinSineany anglesin(30°) = 0.5
cosCosineany anglecos(60°) = 0.5
tanTangentundefined at 90° + n·180°tan(45°) = 1
asinInverse sine (arcsin)−1 to 1asin(0.5) = 30°
acosInverse cosine (arccos)−1 to 1acos(0.5) = 60°
atanInverse tangent (arctan)any realatan(1) = 45°
sinhHyperbolic sineany realsinh(1) ≈ 1.175201
coshHyperbolic cosineany realcosh(1) ≈ 1.543081
tanhHyperbolic tangentany realtanh(1) ≈ 0.761594

Logarithms and exponentials

KeyMeaningDomainExample
logBase-10 logarithmx > 0log(1000) = 3
log(x, b)Logarithm to base bx > 0, b > 0, b ≠ 1log(64, 2) = 6
lnNatural logarithm (base e)x > 0ln(e) = 1
eˣe raised to a powerany realeˣ(2) ≈ 7.389056
10ˣ10 raised to a powerany real10ˣ(3) = 1000
eEuler's numberconstante ≈ 2.71828182846
πPiconstantπ ≈ 3.14159265359

Powers and roots

KeyMeaningNotesExample
x²Square5² = 25
x³Cube5³ = 125
xʸAny powerRight-associative2^10 = 1024
√Square rootx ≥ 0 for a real result√16 = 4
∛Cube rootaccepts negatives∛27 = 3
ⁿ√nth rootnthRoot(x, n)nthRoot(81, 4) = 3
1/xReciprocalx ≠ 01/5 = 0.2
×10ⁿScientific notation entry2×10³ = 2000

Combinatorics and number theory

KeyMeaningDomainExample
n!Factorialnon-negative; decimals via gamma5! = 120
nPrPermutationsintegers, 0 ≤ r ≤ nnPr(5, 2) = 20
nCrCombinationsintegers, 0 ≤ r ≤ nnCr(5, 2) = 10
modModulo (remainder)divisor ≠ 07 mod 3 = 1
|x|Absolute valueany real|−7| = 7

Rounding and utilities

KeyMeaningNotesExample
floorRound downtowards −∞floor(2.9) = 2
ceilRound uptowards +∞ceil(2.1) = 3
roundRound to nearesthalves round upround(2.5) = 3
randRandom number0 ≤ r < 1rand() = 0.4823…
%Percentneeds an operation200 × 15% = 30
±Toggle sign5 → −5
ACClear everything
⌫Delete last character

The % key is context-aware rather than a plain "divide by 100". 200 × 15% gives 15% of 200; 200 + 15% adds 15% of 200 to 200. A bare 15% with nothing to apply to is treated as incomplete - the calculator waits rather than silently returning 0.15.

Memory keys

KeyMeaning
MSStore the current result in memory
MRRecall the stored value into the expression
M+Add the current result to the stored value
M−Subtract the current result from the stored value
MCClear the memory
A small badge appears next to the display whenever memory holds a value. Memory persists between visits, stored locally in your browser.

Frequently Asked Questions

Does log mean base 10 or base e on this calculator?

Base 10. ln is the natural logarithm. You can also pass a base explicitly with log(x, b).

How do I take a root other than a square or cube root?

Use the ⁿ√ key, which produces nthRoot(x, n). For the fourth root of 81, enter nthRoot(81, 4).

Why does nCr give an undefined result for decimals?

Combinations count whole objects, so the function is restricted to integers with 0 ≤ r ≤ n. Anything outside that returns undefined rather than a value from a generalisation you probably did not intend.

Does the memory survive closing the tab?

Yes. Memory and history are saved in your browser's local storage, so they are still there next time. Nothing is sent to a server.

How do I enter scientific notation?

Use the ×10ⁿ key. Entering 2×10³ gives 2000.