formersi
U+00BAº

U+00BA · Latin-1 Supplement

Masculine ordinal indicator (º): how to type it

Copy º with one click, or type it with Alt + 0186 on Windows or Option + 0 on a Mac.

  • WindowsAlt+0186 numeric keypad
  • Mac⌥ Option+0
  • Word00BAthenAlt+X
  • iPhoneNo long-press for it. Copy it here.
  • HTMLº or º
Code point
U+00BA
decimal 186
Windows
Alt + 0186
Alt + numpad
Mac
Option + 0
U.S. / ABC layout
Added
Unicode 1.1
Other letter

Every way to type º

Only methods that exist on that system are shown as shortcuts.

Windows Alt code

Alt+0186
Alt+167 (older OEM code)
  1. Turn on Num Lock.
  2. Hold Alt and type the digits on the numeric keypad (not the top row).
  3. Let go of Alt.

Mac Option key

⌥ Option+0

U.S. and ABC keyboard layouts. Hold the keys together.

Microsoft Word Alt + X

00BAthenAlt+X

Type 00BA, then press Alt + X (Word for Windows).

Google Docs menu

Insert › Special characters, then search “masculine ordinal indicator”, or paste it from here.

iPhone and iPad copy

Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).

Android symbol pages

Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.

Linux Unicode input

Ctrl+Shift+Uthen00bathenEnter

GNOME and most GTK apps (IBus).

Chromebook Unicode input

Ctrl+Shift+Uthen00bathenEnter

Type the code after the underlined u appears.

How º is stored in UTF-8

2 bytes (16 bits) for 1 code point

length and continuation bitsbits of the code point
Computed from U+00BA with the UTF-8 rules of RFC 3629. Same bytes as text: see “Codes” below.

Codes

For HTML, CSS, JavaScript, JSON, Python and URLs.

HTML entity&ordm;
UnicodeU+00BA
HTML decimal&#186;
HTML hex&#x00BA;
CSS content\00BA
JavaScript\u00BA
JSON\u00ba
Python\u00ba
UTF-8 bytesC2 BA
UTF-1600BA
URL encoded%C2%BA
Python name\N{MASCULINE ORDINAL INDICATOR}

From the Unicode Standard

Names, aliases and notes from the Unicode 13.0 names list.

  • Unicode name MASCULINE ORDINAL INDICATOR
  • Category Other letter (Lo)
  • Block Latin-1 Supplement
  • Note Spanish

Related symbols

Look-alikes named in the Unicode notes first, then neighbours in the same block.

SymbolNameCodeAlt code
»Right-pointing double angle quotation markU+00BBAlt + 0187
¹Superscript oneU+00B9Alt + 0185
¼Vulgar fraction one quarterU+00BCAlt + 0188
¸CedillaU+00B8Alt + 0184
½Vulgar fraction one halfU+00BDAlt + 0189
·Middle dotU+00B7Alt + 0183

Questions

What is the Alt code for Masculine ordinal indicator (º)?

Hold Alt and type 0186 on the numeric keypad, then let go of Alt. The older code Alt + 167 also works in most programs.

How do I type º on a Mac?

Option + 0 on the U.S. or ABC keyboard layout.

What is the HTML code for º?

Use &ordm; or &#186; (decimal) or &#xBA; (hex).

Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.