Accented Letters

Alt+167
Masculine Ordinal Indicator º

Hold Alt and type 167 on the numeric keypad to get the masculine ordinal indicator symbol.

At a glance
Symbol
Alt code
Also
Code page
CP437 (classic)
Mac
HTML
Unicode
Word

How to type Alt+167

  1. Make sure Num Lock is on.
  2. Hold down the Alt key.
  3. Type 167 on the numeric keypad. The number row above the letters will not work.
  4. Release Alt. The masculine ordinal indicator symbol º appears.

Alt+167 is a classic code from the CP437 table used by the original IBM PC, which is why there is no leading zero. The same symbol is also available as Alt+0186 on the Windows-1252 table.

On a laptop without a numpad

Press Win+. to open the emoji panel, pick the Symbols tab and search for "masculine ordinal indicator". Or open Character Map from the Start menu. In Microsoft Word you can type 00BA followed by Alt+X. Some laptops have a hidden numpad on the J, K, L, U, I and O keys that activates with Fn.

On a Mac

Alt codes do not exist on macOS, but this symbol has a shortcut: press Option+0.

In HTML and code

Use º in HTML, "\00BA" in CSS and "\u00BA" in JavaScript. See the Masculine Ordinal Indicator guide for every platform.

Frequently asked questions

What does Alt+167 type?+

Alt+167 types the masculine ordinal indicator symbol, º (Unicode U+00BA). Hold Alt, type 167 on the numeric keypad, then release Alt.

Why do I need the code without a zero?+

Alt+167 is a classic CP437 code from the original IBM PC character set. It has no leading zero. The same symbol can also be typed as Alt+0186 on the Windows-1252 table.

Alt+167 does not work. Why?+

Check that Num Lock is on and that you are using the numeric keypad rather than the number row. Laptops without a numpad cannot enter Alt codes: use Win + . for the symbol panel, Character Map, or copy the symbol from this page.

How do I type º on a Mac?+

Press Option+0 on a Mac. Alt codes themselves do not work on macOS.

✓ Copied to clipboard