EmojiKite

Masculine ordinal indicator (º)

U+00BA · MASCULINE ORDINAL INDICATOR · Unicode 1.1 (1993)

How to type º

Windows

Alt code (numeric keypad)

Alt+0186

Turn on Num Lock, hold the Alt key, type 0186 on the numeric keypad and let go of Alt: º appears.

The shorter code Alt+167 works too in most programs.

Word and Outlook: Alt + X

00BA Alt+X

Type 00BA and press Alt+X right after it: Word turns the code into º. Press Alt+X again to turn it back into the code.

Emoji and symbols panel (Windows 10 and 11)

Win+.

Press Win + full stop (.) to open the panel, go to the Symbols tab (Ω) and pick º.

No numeric keypad on your laptop? See the other ways in our Alt codes guide.

Mac

Keyboard shortcut (U.S. layout)

⌥ Option+0

Press ⌥ Option+0 to type º. This is on the standard U.S. and U.S. English Mac layouts.

Character Viewer

Ctrl+⌘ Cmd+Space

Press Ctrl+⌘+Space (or the Globe key + E), search for “masculine ordinal indicator” and click º to insert it.

More shortcuts in our keyboard guide

iPhone

Make a shortcut (Text Replacement)

Turn a short word into º once and type it in any app:

  1. Copy º from this page.
  2. Open Settings › General › Keyboard › Text Replacement and tap +.
  3. Paste º as the Phrase and type a Shortcut, for example ;ordinalind.
  4. Now type ;ordinalind anywhere: the keyboard suggests º.

More shortcuts in our keyboard guide

Android

Make a shortcut (Gboard personal dictionary)

Teach your keyboard a short word that turns into º:

  1. Copy º from this page.
  2. Open Gboard settings › Dictionary › Personal dictionary, choose your language and tap +.
  3. Paste º as the word and type a shortcut, for example ;ordinalind.
  4. Type ;ordinalind in any app and tap º in the suggestions.

More shortcuts in our keyboard guide

Linux

Unicode input

Ctrl+Shift+U 00ba Enter

Press Ctrl+Shift+U, type 00ba and press Enter or Space. Works in GTK apps and with IBus (GNOME, Ubuntu, Fedora).

More shortcuts in our keyboard guide

What º means and how it is used

º is the masculine ordinal indicator of Spanish, Portuguese and Italian: 1º (primero, primeiro), 2º. Its feminine twin is ª (1ª). It looks like the degree sign ° but is often underlined and sits on letter height, so use ° for temperatures. Mac: Option+0; Windows: Alt+0186.

The official Unicode name of º is MASCULINE ORDINAL INDICATOR, code point U+00BA. You will find it in the Latin-1 Supplement block; it was added in Unicode 1.1 (1993).

It sits in the letters with 253 symbols, among them ª Ø ß ñ ç.

Codes for HTML, CSS and JavaScript

Tap Copy next to the code you need.

HTML entityº
HTML decimalº
HTML hexº
CSScontent: "\00BA";
JavaScript\u00BA
URL%C2%BA
UTF-8 bytesC2 BA
UnicodeU+00BA

Will it show on my friend's phone?

º has been in Unicode since version 1.1 (1993). Practically every phone, computer and app shows it.

Don't confuse º with

These look alike but are different characters. Search, sorting and screen readers treat them differently, so copy the one you mean.

Names in other languages

What º is called in the 12 languages of this site (Unicode CLDR and our editors). Tap a name to open that language's page.

All Letters →

Questions people ask

How do I type º on a laptop without a numeric keypad?

On Windows press Win + full stop (.) and pick º in the Symbols tab, or in Word type 00BA and press Alt+X. On a Mac press ⌥ Option+0.

What is the difference between º and °?

º is the masculine ordinal indicator (U+00BA). ° is a different character: degree symbol (U+00B0, Latin-1 Supplement block). They can look alike, but computers treat them as different letters, so a search for one will not find the other.

How do I type º on an iPhone?

The iPhone keyboard has no key for º. Copy it here, then add it in Settings › General › Keyboard › Text Replacement with a shortcut like ;ordinalind.

What is the HTML code for the masculine ordinal indicator?

Use the entity º or the numeric code º (hex º). In CSS write \00BA, in JavaScript \u00BA.

Will º show on every phone?

º has been in Unicode since version 1.1 (1993). Practically every phone, computer and app shows it.

Copy it yourself

Your browser blocked automatic copying. The text is selected: long-press it and choose Copy (or press Ctrl+C / ⌘C).

Copy as

Open the full page →