User manual · Getting started

Calculator keys and keyboard shortcuts

Calculator keys explained: what 2nd, S⇔D, Ans, M+, STO and DEL do, every keyboard shortcut, and how to type π, √ and powers on a computer keyboard.

By Hira Noor, mathematicianUpdated
Short answerOn the ScientifiCalc scientific calculator, the calculator keys work like a handheld’s: 2nd switches the next key to the function printed above it, S⇔D swaps a fraction and its decimal, Ans is the last result, M+, M−, MR and MC keep a running total, and STO saves a result in a letter. You can also skip the keypad: type the expression, press Enter to calculate, Escape to clear and Arrow Up to bring back earlier calculations. Every key has a keyboard spelling, such as pi for π and sqrt( for √.

Jump to: what each key does, desk calculator keys such as MRC and GT, keyboard shortcuts, typing math symbols, worked key sequences, graphing keys, site-wide shortcuts or Windows and Mac calculator shortcuts.

What each calculator key does

The number keys, the four operators and the brackets do what you expect. These are the calculator keys that people most often ask about, with what they do here and how to get the same thing from a computer keyboard:

Scientific calculator keys, what they do and their keyboard equivalent
KeyWhat it doesFrom the keyboard
2ndSwitches the next key you press to the function printed above it, such as sin⁻¹ above sin or eˣ above ln. It turns itself off after one key; a 2nd marker shows in the status bar while it is on.Type the function name, such as asin(
S⇔DSwaps an exact result and its decimal, for example 19/12 and 1.583333333.None; set the result type in Settings
DELDeletes the character before the cursor, or a whole function name such as sin( in one press.Backspace
ACAll clear: empties the expression line and the result.Escape
AnsInserts the last result.ans
M+ / M−Adds the result to memory M, or subtracts it. If the line has not been calculated yet, it is calculated first.None
MR / MCMR inserts the memory value M; MC (2nd MR) clears it.M
STOSaves the result in a letter: A to F, X or Y.-> or →, as in 5 -> A
×10ˣStarts a power of ten for scientific notation, such as 6.02×10²³.e, as in 6.02e23
(−)Negative sign, so you can type −5 even right after a result.-
x⁻¹Reciprocal. 2nd x⁻¹ is factorial, x!.^-1 and !
%Percent, which divides by 100. 2nd % is the degree sign °.% and °
,Separates the arguments of a function, as in log(8, 2).,
f(x)Opens the Functions tab with the full function list.None
=Calculates the expression.Enter
The ScientifiCalc scientific calculator after evaluating 3/4 + 5/6: the display shows 19/12 with 1.583333333 above it, Deg, Rad and Grad buttons under the display, and the keypad below with the 2nd, S⇔D, memory and STO keys.
The keypad. The small label above a key is its 2nd function.

Coming from a Casio or TI model? SHIFT (Casio) and 2nd (TI) are the 2nd key here, the Deg, Rad and Grad buttons above the keypad replace SETUP or MODE, and log(8, 2) replaces the log key with a base box. The full list of 80 functions behind the keys is in scientific calculator functions, and memory and STO are covered in memory, Ans and variables.

Basic and desk calculator keys

A basic or desk calculator has a few keys that a scientific calculator does not. This is what they do on a typical solar desk calculator, as described in its instruction sheet, and what to use instead here. Check your own model’s manual, because makers differ in the details.

Common desk calculator keys and their ScientifiCalc equivalent
KeyWhat it does on a desk calculatorOn ScientifiCalc
ON/ACTurns the calculator on and clears everything, including memory and the grand total.AC clears the line; MC clears memory
CE/CClear entry: cancels the last number you entered, so you can carry on with the calculation.DEL, or Backspace, to fix the last entry
→Deletes the last digit, one per press.DEL
M+ / M−Adds the displayed value to memory, or subtracts it.The same keys
MRCFirst press recalls the memory total; a second press clears it.MR to recall, MC (2nd MR) to clear
GTGrand total: every result after = is added to it. First press shows it; a second press clears it.No GT key. Keep a running total with M+, or read the calculator tape
MUMark-up: adds a percentage margin, for example 100 × 15 MU gives 115.Type 100*(1 + 15%) = 115

For a quick sum with a percentage, typing is often clearer than a desk calculator’s key order: 100*(1 + 15%) shows exactly what is being added. Percent always means ÷ 100 here, so 50 + 10% is 50.1, not 55; write 50*(1 + 10%) for a 10% increase.

Scientific calculator keyboard shortcuts

Shortcuts in the scientific calculator
KeyWhereAction
EnterExpression lineCalculate. The expression stays in the line and is selected, so typing replaces it.
EscapeExpression lineClear the expression line and the result.
Arrow UpExpression lineShow the previous expression from history. Keep pressing to go further back.
Arrow DownExpression lineShow the next, more recent expression. One press past the newest gives an empty line.
Tab / Shift TabAnywhereMove between the expression line, the angle buttons, the keypad, the buttons under the result and the side panel.
Arrow keysKeypadMove between keys. The whole keypad is a single Tab stop.
Home / EndKeypadJump to the first or last key in the row.
Enter or SpaceKeypadPress the focused key.
Arrow Left / Arrow RightSide panel tabsSwitch between History, Variables, Constants, Functions and Settings. Home and End go to the first and last tab.

Right after a result, a typed expression that starts with +, *, /, ^, × or ÷ is applied to the previous answer: typing /4 and pressing Enter calculates Ans/4. A typed leading - is always a negative sign, so -5 means negative five. Pressing the − key on the keypad right after a result, on the other hand, continues from the answer, as on a handheld. Arrow Up history is the same list as the History tab; see calculator tape.

Typing math symbols on a computer keyboard

The expression line accepts plain ASCII and the Unicode symbols you may paste from elsewhere (×, ÷, −, π, √, ², ≤). Function names are not case-sensitive, so SIN(30) works too, but constant names are: pi works and PI does not.

Keyboard spellings for scientific calculator keys
To getTypeExample
× and ÷* and /3*4/2 = 6
Power^ or **, or superscripts ² ³2**10 = 1024, 5² = 25
Factorial and percent! and %5! = 120, 15% = 3/20
π and epi (or π) and e2pi = 6.283185307
Square and cube rootsqrt( or √, cbrt( or ∛√16 = 4, ∛-27 = −3
nth rootroot(x, n)root(32, 5) = 2
Absolute value|x| or abs(|-7| = 7
Inverse trigasin( or sin^-1(sin^-1(0.5) = 30 (degrees)
Degrees, minutes, seconds°, ' and "30°15'20" = 30.25555556 (degrees)
Logarithm in any baselog(x, b) or log_b(x)log_2(8) = 3
Last answeransans^2
Store and define-> (or →) and :=5 -> A, f(x) := x^2 + 1
Comparisons<=, >=, !=y >= 2x + 1 (graphing)
×10 to a powere notation6.02e23, 1.5e-3

To type the degree sign on a Mac, press Option Shift 8; on Windows, hold Alt and type 0176 on the numeric keypad. You can also write deg(30) instead of 30°, or press 2nd then % on the keypad. On a phone, the calculator uses its own keypad; select the keyboard button in the status bar to type with the device keyboard instead.

Worked key sequences

Each example shows the keys to press on the keypad and the same calculation typed on a keyboard. Both give the same result; open the link to run it.

Key sequences and their typed equivalents
TaskKeypad keysTypedResult
Hypotenuse of a 3–4 right triangle√ 3 x² + 4 x² ) =sqrt(3^2 + 4^2)5
Angle whose sine is 0.52nd sin 0.5 ) =asin(0.5)30 (in Deg mode)
Avogadro-sized number6.02 ×10ˣ 23 =6.02e236.02×10²³
Fraction, then decimal1 ÷ 8 = S⇔D1/81/8, then 0.125
Square a negative number( (−) 5 ) x² =(-5)^225

Brackets around negative numbers

Powers come before the negative sign, so -5² is −25, not 25. Put the negative number in brackets, (-5)², when you mean to square it. Handheld calculators follow the same rule.

Graphing calculator keys

Shortcuts in the graphing calculator
KeyWhereAction
Arrow keysGraphPan the view left, right, up or down.
+ or =GraphZoom in.
- or _GraphZoom out.
0GraphReset the view.
EnterLast expression rowAdd a new expression row, up to 10.
Arrow keysSliderMove the slider value by one step.
TabAnywhereMove between the expression list, the graph and the buttons.

The Key points panel lists intercepts, turning points and intersections as text, so you can read the important features of a graph with the keyboard or a screen reader. See how to use a graphing calculator.

Site-wide shortcuts

Shortcuts on every page
KeyAction
/Open site search (when you are not typing in a text box; in a text box it types a slash).
Ctrl K (⌘K on Mac)Open site search from anywhere, including text boxes.
Arrow Up / Arrow Down in searchMove through the results.
Enter in searchOpen the highlighted result, or the full results page.
Escape in searchClose the search dialog.
Tab at the top of a pageReveal the "Skip to main content" link.

Calculator forms and the matrix grid

On the dedicated calculator pages, Tab moves through the fields and results update as you type. The Calculate button moves the focus to the result, which is also announced to screen readers. In a matrix grid, Enter or Arrow Down moves to the cell below, Arrow Up to the cell above, and Arrow Left or Arrow Right move to the neighboring cell when the cursor is at the start or end of the entry. The full rules are in how to enter a matrix in a calculator.

Calculator shortcuts in Windows and on a Mac

The shortcuts above are for ScientifiCalc. If you searched for the keys of the calculator app built into your computer, here is what the makers document. On Windows, open Calculator by selecting Start and searching for “Calculator”; Microsoft lists Alt + Arrow Up to keep it on top of other windows and Alt + Arrow Down to turn that off. Apple lists these keys for Calculator on a Mac:

Keyboard shortcuts for Calculator on Mac, as listed by Apple
KeyAction
Esc or CClear
Option EscClear all
Option MinusMultiply by −1
Command 1 / 2 / 3Basic, scientific or programmer calculator
Pπ (scientific)
^Power (scientific)
Option VSquare root (scientific)
ENatural logarithm (scientific)
Shift EExponential notation (scientific)
Command RTurn RPN mode on or off

Faster than the keypad

Once you know the spellings, typing is quicker than tapping. sqrt(3^2 + 4^2) takes one line, and Arrow Up brings it back to edit, so you can repeat a calculation with new numbers without retyping it.

Frequently asked questions

What does the 2nd key do on a calculator?

The 2nd key (SHIFT on a Casio) switches the next key to the function printed above it, such as sin⁻¹ above sin or eˣ above ln. On ScientifiCalc it turns itself off after one key.

What does S⇔D mean on a calculator?

S⇔D swaps between the standard (exact) form of a result and its decimal, for example 1/8 and 0.125, or 19/12 and 1.583333333.

What do MRC, M+ and M− mean on a calculator?

They are memory keys. M+ adds the displayed value to memory and M− subtracts it. MRC recalls the memory total on the first press and clears it on the second. ScientifiCalc has the same M+ and M−, with MR to recall and MC to clear.

How do I type π without a π key?

Type pi. For example 2pi or 2*pi gives 6.283185307. Uppercase PI is not recognized, because constant names are case-sensitive.

How do I type a square root from the keyboard?

Type sqrt( followed by the number, for example sqrt(144) = 12. If you can type or paste the √ symbol, √144 works as well. For other roots, use cbrt(x) or root(x, n).

Can I recall a calculation without opening the History panel?

Yes. With the cursor in the expression line, press Arrow Up to step back through earlier expressions and Arrow Down to step forward again, then edit and press Enter.

What is the shortcut key for the calculator on a PC?

Microsoft documents opening Calculator by selecting Start and searching for “Calculator”. For ScientifiCalc in a browser, press / or Ctrl K on any page and search for the calculator you need.

Tools on this page

Scientific Calculator

Type or tap expressions with exact fractions, memory, variables, constants and complex mode.