formersi
U+00BD½

U+00BD · Latin-1 Supplement

Vulgar fraction one half ½: how to type it

Copy ½ with one click, or type it with Alt + 0189 on Windows.

  • WindowsAlt+0189 numeric keypad
  • MacCtrl+⌘ Cmd+Space Character Viewer, then search
  • Word00BDthenAlt+X
  • iPhoneNo long-press for it. Copy it here.
  • HTML½ or ½
Code point
U+00BD
decimal 189
Windows
Alt + 0189
Alt + numpad
Mac
None
use the Character Viewer
Added
Unicode 1.1
Other number

Every way to type ½

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

Windows Alt code

Alt+0189
Alt+171 (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.
Step-by-step guide

Mac Character Viewer

Ctrl+⌘ Cmd+Space

No Option-key shortcut exists on the U.S. layout. In the Character Viewer, search “vulgar fraction one half” and double-click it.

Microsoft Word Alt + X

00BDthenAlt+X

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

Google Docs menu

Insert › Special characters, then search “vulgar fraction one half”, 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+Uthen00bdthenEnter

GNOME and most GTK apps (IBus).

Chromebook Unicode input

Ctrl+Shift+Uthen00bdthenEnter

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+00BD 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&frac12;
UnicodeU+00BD
HTML decimal&#189;
HTML hex&#x00BD;
CSS content\00BD
JavaScript\u00BD
JSON\u00bd
Python\u00bd
UTF-8 bytesC2 BD
UTF-1600BD
URL encoded%C2%BD
Python name\N{VULGAR FRACTION ONE HALF}

From the Unicode Standard

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

Related symbols

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

SymbolNameCodeAlt code
¾Vulgar fraction three quartersU+00BEAlt + 0190
¼Vulgar fraction one quarterU+00BCAlt + 0188
¿Inverted question markU+00BFAlt + 0191
»Right-pointing double angle quotation markU+00BBAlt + 0187
ÀCapital A with graveU+00C0Alt + 0192
ºMasculine ordinal indicatorU+00BAAlt + 0186

Questions

What is the Alt code for Vulgar fraction one half (½)?

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

How do I type ½ on a Mac?

Character Viewer: press Ctrl + Cmd + Space and search its name, because no Option-key shortcut exists.

What is the HTML code for ½?

Use &frac12; or &#189; (decimal) or &#xBD; (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.