One half

½ is the Unicode character “VULGAR FRACTION ONE HALF” (U+00BD). It is also known as one half. It belongs to the Latin 1 Supplement block and was added in Unicode 1.1. Click it to copy, or use the codes below.

½ codes

UnicodeCode point U+00BD
HTML codeDecimal, works in any HTML page ½
HTML hexHexadecimal HTML code ½
HTML entityNamed HTML entity ½
CSSFor the CSS content property \00BD
JavaScriptEscape in JavaScript strings \u00BD
PythonEscape in Python strings \u00BD
URL encodedPercent-encoded UTF-8 %C2%BD
UTF-8Bytes in UTF-8 C2 BD
UTF-16Code units in UTF-16 00BD
Alt codeWindows, number pad Alt + 171

How to type ½

Copy and paste

Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.

Windows

Hold Alt and type 171 on the number pad (Num Lock on), then let go of Alt.

In Microsoft Word, type 00BD and press Alt + X.

Mac

Press Control + ⌘ + Space to open the Character Viewer, then search for “one half”.

iPhone and Android

Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).

HTML and CSS

Unicode U+00BD. Every format is on the one half page.

About ½

Unicode name
VULGAR FRACTION ONE HALF
Code point
U+00BD (189)
Block
Latin 1 Supplement
Category
Other Number
Unicode version
1.1