How to type π, ≠, ∞, ± and other math symbols on a Mac
Your Mac’s Option layer has nearly twenty math symbols, from π to ∫. Here’s every one, and how to type ×, ² and ∈.
Same key on the US and British layouts.
How do I type the pi symbol on a Mac?
Press Option + P for π, in any app, with no setup. The same layer has ≠ (⌥ =), ∞ (⌥ 5), ≈ (⌥ X) and ± (⇧ ⌥ =).
Mojito lets you type ::pi, and the symbols with no key too: ::times for ×, ::squared for ².
Other ways to type math symbols
- Character Viewer. Press Fn + E, click the expand button (top right), and open Math Symbols. ×, ∈, ∀ and the rest are there.
- Unicode Hex Input. Add it in System SettingsKeyboardText InputEdit…, switch to it, and hold Option while typing a code:
00D7is ×. - Text replacement. In System SettingsKeyboardText Replacements…, map
;xto ×. Syncs to your iPhone, but only works in Apple’s apps. - Shortcode. With Mojito, type
::timesor::squin any app and press Return. Typed arrows convert too:->becomes →.
::squ, press Return, and ² replaces the shortcode. Every symbol whose name fits shows up, best match first.Every math symbol on the Mac keyboard
US layout. The British layout matches except ‰, which moves to ⇧ ⌥ E.
| Symbol | Name | Mac shortcut | Mojito |
|---|---|---|---|
| π | Pi | ⌥ P | ::pi |
| ≠ | Not equal to | ⌥ = | ::not_equal |
| ≈ | Almost equal to | ⌥ X | ::approx |
| ± | Plus-minus | ⇧ ⌥ = | ::plus_minus |
| ≤ | Less than or equal to | ⌥ , | ::less_equal |
| ≥ | Greater than or equal to | ⌥ . | ::greater_equal |
| ÷ | Division | ⌥ / | ::divide |
| √ | Square root | ⌥ V | ::sqrt |
| ∞ | Infinity | ⌥ 5 | ::infinity |
| ∑ | Summation | ⌥ W | ::sum |
| ∏ | Product | ⇧ ⌥ P | ::n_ary_product |
| ∂ | Partial derivative | ⌥ D | ::partial |
| ∫ | Integral | ⌥ B | ::integral |
| ∆ | Increment (delta) | ⌥ J | ::increment |
| Ω | Omega | ⌥ Z | ::Omega |
| µ | Micro | ⌥ M | ::micro |
| ¬ | Not (logic) | ⌥ L | ::not |
| ‰ | Per mille | ⇧ ⌥ R | ::permille |
| ° | Degree | ⇧ ⌥ 8 | ::degree |
Only π and Ω are real Greek letters. ∆, ∑, ∏ and µ are look-alike math characters, so a search for one usually won’t find the other. For Greek text, use ::Delta, ::Sigma, ::Pi or ::mu.
Which math symbols have no Mac shortcut?
None of these has a key. Use the Character Viewer or a shortcode.
| Symbols | What | Mojito |
|---|---|---|
| × − | Multiply, minus | ::times ::minus_sign |
| ² ³ ⁴ | Superscripts | ::squared ::cubed ::superscript_four |
| ₀ ₁ ₂ | Subscripts | ::subscript_zero ::subscript_one ::subscript_two |
| ½ ¼ ⅓ | Fractions | ::half ::quarter ::one_third |
| → ← ↔ | Arrows | ::arrow_right ::arrow_left ::left_right |
| ∈ ∉ ⊂ | Sets | ::element_of ::not_element ::subset |
| ∪ ∩ ∅ | Union, intersection, empty set | ::union ::intersection ::empty_set |
| ∀ ∃ | For all, there exists | ::forall ::exists |
| ∧ ∨ ≡ | And, or, equivalent | ::logical_and ::logical_or ::equivalent |
| ∴ ∝ ∇ | Therefore, proportional, nabla | ::therefore ::propto ::nabla |
More math symbol questions
Why does Option-V type √ instead of a check mark?
Option + V is the square root sign, and macOS has no check mark key. Typing a real ✓ takes the Character Viewer or a shortcode.
My Option shortcuts don’t work in Terminal. Why?
Turn off Use Option as Meta key in TerminalSettingsProfilesKeyboard. Then ⌥P is π again.