Math Symbols on Keyboard: Alt Codes for Every Sign

Most maths symbols — ± × ÷ √ π ∞ ≈ ≤ ≥ ° and dozens more — aren’t printed on a keyboard, so you need another way to type them. On Windows that way is Alt codes: hold the Alt key, type a number on the numeric keypad, and the symbol appears. This page is a full reference of those codes, grouped by kind, with a click-to-copy grid and the details other guides leave out.

If you just need a symbol now, copy it from the grid below. If you want to understand the codes — why Alt+241 and Alt+0177 both make ±, why they fail on a laptop, and what to do on a Mac — the sections after it explain all of that.

In a hurry?

  • Copy any symbol: click it in the grid below.
  • Type an Alt code: turn on Num Lock, hold Alt, type the number on the numeric keypad, release.
  • No numpad? use the on-screen keyboard or Windows + . instead (see below).
  • On a Mac? Alt codes don’t work — use the Option-key shortcuts in the table further down.
  • In Word: type the hex code then press Alt + X.

Click to copy: math symbols

Tap any symbol to copy it. The label is its Windows Alt code.

Copied
+
Alt plus
Copied
Alt 8722
Copied
×
Alt 0215
Copied
÷
Alt 0247
Copied
=
Alt equals
Copied
Alt 8800
Copied
±
Alt 0177
Copied
Alt 8723
Copied
Alt 251
Copied
Alt 8731
Copied
Alt 236
Copied
π
Alt 227
Copied
Alt 247
Copied
Alt 243
Copied
Alt 242
Copied
°
Alt 0176
Copied
²
Alt 0178
Copied
³
Alt 0179
Copied
½
Alt 0189
Copied
¼
Alt 0188
Copied
¾
Alt 0190
Copied
·
Alt 0183
Copied
µ
Alt 0181
Copied
Ω
Alt 234
Copied
Σ
Alt 228
Copied
Alt 8719
Copied
Alt 8747
Copied
Alt 8706
Copied
Alt 8710
Copied
Alt 8711
Copied
Alt 8712
Copied
Alt 8713
Copied
Alt 8834
Copied
Alt 8746
Copied
Alt 8745
Copied
Alt 8704
Copied
Alt 8707
Copied
Alt 8756
Copied
Alt 8733
Copied
Alt 8736
Copied
Alt 8869

How Alt codes actually work (and why they’re not Unicode)

Alt codes feel like magic, but the mechanism is worth understanding because it explains every weird thing about them. When you hold Alt and type a number on the numeric keypad, Windows looks that number up in a character table and inserts whatever it finds. The catch is that which table it uses depends on how you type the number.

If you type a plain number like Alt + 241, Windows uses the old code page 437, the original IBM PC character set, and 241 there is ±. If you add a leading zero, Alt + 0177, Windows instead uses Windows-1252 (the Latin-1 set), where 177 is also ±. That’s why the same symbol often has two codes — a short one and a zero-padded one — and, more confusingly, why the same number can give different characters with and without the zero.

You typeTable usedExample
Alt + 241Code page 437± (no leading zero)
Alt + 0177Windows-1252± (with leading zero)
Alt + 065Windows-1252A (0 + Latin-1 code)
Alt + 65Code page 437A

Neither of those tables is Unicode, which is the modern universal character set. That’s why classic Alt codes only reach a few hundred symbols. To get any character, newer Windows also accepts the decimal Unicode code point directly — for instance Alt + 8800 for ≠ — though this needs app support and, for some symbols, a registry tweak. The practical takeaway: the short codes are legacy, the big numbers are Unicode, and if a code “gives the wrong symbol,” you’ve probably crossed between the two systems.

Alt codes for basic operators

The everyday arithmetic signs. Plus and equals are already on the keyboard; the rest need a code or a copy.

SymbolNameAlt codeUnicodeHTML
×multiplyAlt + 0215U+00D7×
÷divideAlt + 0247U+00F7÷
minus (true)Alt + 8722U+2212−
±plus-minusAlt + 0177U+00B1±
minus-plusAlt + 8723U+2213∓
·dot multiplyAlt + 0183U+00B7·
square rootAlt + 251U+221A√

A note on the minus: the true minus sign − (Alt + 8722) is slightly longer than the hyphen on your keyboard, and lines up better with the plus. For full guides, see the plus-minus symbol and the square root symbol.

Alt codes for comparison and relation signs

The signs that compare two quantities. Less-than and greater-than are on the keyboard; these are the ones that aren’t.

SymbolNameAlt codeUnicodeHTML
not equalAlt + 8800U+2260≠
approximatelyAlt + 247U+2248≈
less or equalAlt + 243U+2264≤
greater or equalAlt + 242U+2265≥
identical toAlt + 8801U+2261≡
proportional toAlt + 8733U+221D∝
infinityAlt + 236U+221E∞

The infinity sign gets its own deep dive in the infinity symbol guide.

Alt codes for powers, fractions, and degrees

Superscripts, common fractions, and the degree sign — the symbols that turn up in units, measurements, and simple formulas.

SymbolNameAlt codeUnicodeHTML
°degreeAlt + 0176U+00B0°
¹superscript 1Alt + 0185U+00B9¹
²squaredAlt + 0178U+00B2²
³cubedAlt + 0179U+00B3³
½one halfAlt + 0189U+00BD½
¼one quarterAlt + 0188U+00BC¼
¾three quartersAlt + 0190U+00BE¾

The degree symbol and squared symbol each have a full guide, including the spacing rules and the difference between the ² character and a formatted superscript.

Alt codes for Greek letters used in maths

Greek letters carry a lot of meaning in maths and science. These are the ones that come up most, from pi to the summation sign.

SymbolNameAlt codeUnicodeHTML
πpiAlt + 227U+03C0π
Σsigma (sum)Alt + 228U+03A3Σ
µmu (micro)Alt + 0181U+00B5µ
Ωomega (ohm)Alt + 234U+03A9Ω
Δdelta (change)Alt + 916U+0394Δ
θthetaAlt + 952U+03B8θ
λlambdaAlt + 955U+03BBλ

Pi has its own page covering the symbol, the number, and the capital Π: see the pi symbol guide.

Alt codes for calculus and set theory

The heavier symbols from calculus, logic, and set theory. Most of these have no short legacy code, so they use the decimal Unicode value.

SymbolNameAlt codeUnicodeHTML
integralAlt + 8747U+222B∫
partial derivativeAlt + 8706U+2202∂
n-ary sumAlt + 8721U+2211∑
n-ary productAlt + 8719U+220F∏
element ofAlt + 8712U+2208∈
unionAlt + 8746U+222A∪
intersectionAlt + 8745U+2229∩
for allAlt + 8704U+2200∀
thereforeAlt + 8756U+2234∴

The laptop problem: Alt codes with no numeric keypad

Here’s the single most common reason Alt codes “don’t work”: they require the numeric keypad, the separate block of number keys on a full keyboard, and most laptops don’t have one. The number row above the letters does not work for Alt codes, which catches almost everyone out.

If you’re on a laptop, you have a few options. Many laptops hide a numeric keypad under the right-hand letters (often 7 8 9 / U I O / J K L) that you switch on with a Fn key or Fn + Num Lock; then hold Fn + Alt and type the code on those keys. If that’s too fiddly, skip Alt codes entirely: press Windows + . (period) to open the emoji and symbol panel and search by name, or open the on-screen keyboard (which has a real numpad you can click). Honestly, for most people on a laptop, the copy grid at the top of this page or Windows + . is faster than fighting the Fn key.

SituationBest method
Full keyboardAlt code on the numpad
Laptop, occasional symbolCopy from the grid above
Laptop, by nameWindows + . (emoji panel)
Laptop, many codesFn layer or on-screen keyboard

Alt codes are Windows-only: Mac, Chromebook, and phones

A detail that trips up a lot of people: Alt codes are a Windows feature. Typing Alt + 0177 on a Mac does not give you ±; it triggers a menu shortcut or does nothing. Every other system has its own method, so here’s the quick translation.

On a Mac, many maths symbols have Option-key shortcuts — Option + V for √, Option + P for π, Shift + Option + = for ±, Option + 5 for ∞ — and for anything else, Control + Command + Space opens the Character Viewer. On a Chromebook, press Ctrl + Shift + U, type the hex code point, and press Enter. On iPhone and Android, there’s no code system at all — you copy the symbol or add a specialised keyboard. So Alt codes are the Windows answer to a problem every platform solves differently.

SystemHow to type symbols
WindowsAlt codes on the numpad
MacOption-key shortcuts / Character Viewer
ChromebookCtrl + Shift + U, then hex
LinuxCtrl + Shift + U, then hex
iPhone / Androidcopy, or a maths keyboard app

The Alt + X trick in Word (better than memorising codes)

If you mostly type maths in Microsoft Word, there’s a method that beats Alt codes for almost everything: type the symbol’s hex Unicode value, then press Alt + X, and Word converts it in place. So 221A then Alt + X becomes √, 2260 becomes ≠, and 03C0 becomes π.

Why it’s better: it works for any Unicode character, not just the few hundred in the legacy Alt tables, and the hex codes are the same ones listed as “Unicode” in every table on this page — so you only have to know one number per symbol. Press Alt + X right after a character and it toggles back to show you its code, which is a handy way to look one up. For serious equations, Word’s equation editor (Alt + =) is better still, with named symbols you can type like \pi and \times.

Troubleshooting Alt codes

My Alt code does nothing or opens a menu

Two usual causes. Either Num Lock is off, or you’re using the number row instead of the numeric keypad — Alt codes only work on the keypad. On a laptop without one, use the copy grid above or Windows + . instead.

I get the wrong symbol

You’ve probably crossed the two code systems. A plain number (Alt + 241) uses code page 437; a zero-padded number (Alt + 0177) uses Windows-1252. If a code gives an unexpected character, try it with or without the leading zero.

The big decimal codes (like Alt + 8800) don’t work

Those are decimal Unicode values, and not every app supports them; some need the EnableHexNumpad registry setting. If they fail, use the Word Alt + X method, or simply copy the symbol from the grid above.

The symbol shows as a box

The character came through, but the current font has no glyph for it. Switch to a broad font (like Segoe UI Symbol or Arial Unicode) and make sure the document is saved as UTF-8.

Full guides for the trickiest symbols

Some of these symbols have enough going on — spacing rules, look-alikes, coding quirks — to need a page of their own. If you’re working with one of these, the dedicated guide goes deeper than a single row in a table can:

FAQ

How do I type math symbols on a keyboard?

On Windows, use Alt codes: hold Alt and type the number on the numeric keypad (with Num Lock on). For example, Alt + 0177 gives ±. On a Mac, use Option-key shortcuts. Or copy any symbol from the grid at the top of this page.

Why won’t my Alt codes work?

Almost always because Num Lock is off or you’re using the top number row instead of the numeric keypad, which is the only part that works for Alt codes. On a laptop without a keypad, use the copy grid or Windows + . instead.

What’s the difference between Alt + 241 and Alt + 0177?

A plain number uses the old code page 437; a zero-padded number uses Windows-1252. Both happen to give ± here, but in general the leading zero changes which character table Windows reads, so the same number can produce different symbols.

Do Alt codes work on a Mac?

No. Alt codes are Windows-only. On a Mac, use Option-key shortcuts (Option + V for √, Option + P for π) or the Character Viewer (Control + Command + Space).

How do I type any symbol in Word?

Type the symbol’s hex Unicode value and press Alt + X. For example, 221A then Alt + X becomes √. It works for any character, so you only need one code per symbol.