Unicode Fraction Characters

How Unicode fraction characters like ½ and ⅓ work, the fraction slash alternative, and when plain-text fractions are safer for copying, search and accessibility.

Unicode includes a small set of ready-made fraction characters, such as ½, ¼ and ⅞, along with a special slash for building other fractions. They can make recipes, measurements and labels look tidy, but they are not the same as typing 1/2. This review covers what these characters are, what changes when text is converted to them, and when an ordinary slash is the better choice.

Short answer: are fraction characters suitable for your use?

Precomposed fraction characters are a reasonable choice for short, display-oriented text where appearance matters and the fraction is one of the few that Unicode encodes, such as a recipe card, a product label or a social post. The main benefit is a compact, single-character fraction that most current systems display without special fonts. The decisive tradeoff is that the stored text no longer contains the digits and slash a person or program might expect. Searching for 1/2 may not find ½, numeric parsers usually reject it, and only a limited set of fractions exists.

Plain text such as 1/2 or 3 1/2 is preferable when the content will be searched, calculated, imported into spreadsheets or databases, edited by others, or needs fractions that Unicode does not encode, such as 5/16 or 7/12. For long documents and web pages, typography features that change appearance without changing the stored characters are often a better fit than substituting characters.

Which fraction characters Unicode includes

Unicode calls these vulgar fractions, an old typographic term meaning a common fraction written with a numerator and denominator. Three come from the Latin-1 Supplement block, inherited from older 8-bit encodings. The rest are in the Number Forms block.

Character | Code point | Unicode name
¼ | U+00BC | VULGAR FRACTION ONE QUARTER
½ | U+00BD | VULGAR FRACTION ONE HALF
¾ | U+00BE | VULGAR FRACTION THREE QUARTERS
⅐ | U+2150 | VULGAR FRACTION ONE SEVENTH
⅑ | U+2151 | VULGAR FRACTION ONE NINTH
⅒ | U+2152 | VULGAR FRACTION ONE TENTH
⅓ | U+2153 | VULGAR FRACTION ONE THIRD
⅔ | U+2154 | VULGAR FRACTION TWO THIRDS
⅕ | U+2155 | VULGAR FRACTION ONE FIFTH
⅖ | U+2156 | VULGAR FRACTION TWO FIFTHS
⅗ | U+2157 | VULGAR FRACTION THREE FIFTHS
⅘ | U+2158 | VULGAR FRACTION FOUR FIFTHS
⅙ | U+2159 | VULGAR FRACTION ONE SIXTH
⅚ | U+215A | VULGAR FRACTION FIVE SIXTHS
⅛ | U+215B | VULGAR FRACTION ONE EIGHTH
⅜ | U+215C | VULGAR FRACTION THREE EIGHTHS
⅝ | U+215D | VULGAR FRACTION FIVE EIGHTHS
⅞ | U+215E | VULGAR FRACTION SEVEN EIGHTHS
⅟ | U+215F | FRACTION NUMERATOR ONE
↉ | U+2189 | VULGAR FRACTION ZERO THIRDS

Two entries are unusual. U+215F is a numerator 1 with a slash, intended to be followed by a denominator, as in ⅟7. U+2189, zero thirds, was added for compatibility with specialized uses such as baseball scoring. Fonts are less likely to include these two, and the sevenths, ninths and tenths, than the halves, quarters and thirds, so it is worth checking that they display in the fonts your audience will actually see.

Half in Unicode: one term, two meanings

Someone searching for the Unicode half character usually wants ½, which is U+00BD. In HTML it can be written as the named entity ½ or the numeric reference ½. In UTF-8 it is stored as the two bytes C2 BD.

The word half also appears in the Halfwidth and Fullwidth Forms block, which has nothing to do with fractions. Halfwidth refers to narrow versions of characters used in East Asian typography. If a tool or search result labels something halfwidth, it is about character width, not the value one half.

What converting to fraction characters actually changes

There are three different ways to make a fraction look like a fraction. They differ in what is stored, and that difference determines how the text behaves later.

  • Character substitution with a precomposed fraction: 1/2 becomes the single code point ½. The stored text changes from three characters to one, and the digits are no longer present as separate characters.
  • Character substitution with superscript, subscript and fraction-slash characters: tools often sold as fraction generators or fraction fonts build forms like ¹⁷⁄₃₂ from superscript digits, the fraction slash U+2044 and subscript digits. This is not a font. It replaces every character with a different code point.
  • Visual presentation only: font features such as OpenType fraction forms, or the CSS property font-variant-numeric with diagonal-fractions or stacked-fractions, make 1/2 look like a typeset fraction while the stored text stays 1/2. Copying usually yields the original digits and slash, although the exact result depends on the application.

The fraction slash U+2044 is distinct from the ordinary slash U+002F and from the division slash U+2215. Unicode intends the fraction slash to signal that the surrounding digits form a fraction, and some fonts and rendering engines will display a sequence like 3⁄16 as a properly typeset fraction. Many do not, and in those environments it looks like digits with a slightly slanted slash. Support depends on the font and renderer, so one good-looking result does not guarantee the same appearance elsewhere.

Normalization: why ½ does not match 1/2

Each vulgar fraction has a compatibility decomposition in the Unicode Character Database. Under NFKC or NFKD normalization, ½ becomes the digit 1, the fraction slash U+2044 and the digit 2. It does not become 1/2 with an ordinary slash. A search system that applies compatibility normalization can still fail to match a query typed with a regular slash unless it also maps the fraction slash to the ordinary slash. Systems that do no normalization will treat ½ and 1/2 as unrelated. How a particular search engine or site search handles this is not documented here and should be tested directly.

Superscript and subscript digits also decompose to ordinary digits under compatibility normalization. Some sanitization pipelines and form validators apply NFKC, which can silently rewrite ¹⁷⁄₃₂ into 17⁄32. That is usually harmless, but it means the styled appearance may not survive a round trip through such a system.

Inspecting fraction characters by code point

Because ½ and 1⁄2 can look nearly identical, inspecting code points is the reliable way to know what a piece of text contains. The Python standard library exposes the relevant Unicode properties. Based on the Unicode Character Database, the snippet below should report the names and numeric values shown in the comments.

import unicodedata

for ch in "½⅓⅞":
    print(f"U+{ord(ch):04X}", unicodedata.name(ch), unicodedata.numeric(ch))
# U+00BD VULGAR FRACTION ONE HALF 0.5
# U+2153 VULGAR FRACTION ONE THIRD 0.3333333333333333
# U+215E VULGAR FRACTION SEVEN EIGHTHS 0.875

nfkc = unicodedata.normalize("NFKC", "½")
print([f"U+{ord(c):04X}" for c in nfkc])
# ['U+0031', 'U+2044', 'U+0032']  -> fraction slash, not '/'

print("½".isnumeric(), "½".isdigit())
# True False

The last line shows a common trap. Unicode assigns ½ a numeric value, so isnumeric returns true, but it is not a decimal digit. Conversions like int('½') and float('½') in Python raise errors. Spreadsheets and other parsers vary, and none were tested for this review, so assume a fraction character will be imported as text unless you confirm otherwise in the specific tool.

Reversal and other transformations can change the meaning

Text reversal tools treat fractions differently depending on how they are encoded. A precomposed ½ is one code point, so reversing a string leaves it intact. A composed fraction such as 1⁄2 or 1/2 is several code points, so reversing it produces 2⁄1 or 2/1, which is a different number. Fraction characters contain no combining marks, so reversal does not detach accents the way it can with other text. The risk is meaning, not display. If text will pass through reversal, mirroring or character-style tools, check the fractions afterward.

Mirrored-text tools generally have no mirrored equivalent for fraction characters and leave them unchanged, which can look inconsistent in otherwise flipped text. That depends on the individual tool's character map and should be checked case by case.

Copying, sharing and accessibility

Precomposed fractions copy and paste as single characters between applications that use Unicode, which today is most of them. Problems tend to come from older or misconfigured systems. One recognizable symptom is mojibake. If the UTF-8 bytes for ½ are misread as Latin-1 or Windows-1252, the text shows up as ½. Seeing that pattern points to an encoding mismatch, not a problem with the character itself.

Screen reader handling of fraction characters is an evidence gap. No documentation or scoped test results were supplied for any particular screen reader, so no claim is made here about how ½, ⅞ or superscript-built fractions are announced. In general, assistive technology depends on pronunciation data for each character. Common fractions are more likely to be covered than rare ones, and strings built from superscript digits, fraction slashes and subscript digits may be read character by character or in an unexpected way. If accessibility matters, test with the screen readers your audience uses, or provide the value in plain words or plain digits nearby.

Editing is another practical cost. Changing ⅜ to ⅝ means deleting and replacing a whole character, not editing one digit, and most keyboards have no direct way to type these characters. Collaborators may end up mixing ½ and 1/2 in the same document, which makes find-and-replace and consistency checks harder.

When a plain-text equivalent is needed

  • The value will be calculated, sorted, filtered or imported into a spreadsheet or database.
  • People will search for the content, and you cannot confirm that the search system treats ½ and 1/2 as equivalent.
  • The fraction is not one of the encoded vulgar fractions, which would force a mix of styles or a superscript-and-subscript construction.
  • The text must be reliably understood by screen readers you have not tested.
  • The content passes through systems with uncertain encoding handling, such as legacy email, older exports or SMS gateways.
  • Others will edit the text and need a format they can type.

Practical recommendation

Use precomposed fraction characters for short, human-facing text with common fractions, especially halves, quarters and thirds, where a compact look helps and nothing downstream needs to parse the value. For web pages and documents, prefer keeping plain digits in the source and applying typographic fraction styling through fonts or CSS, so the stored text stays searchable and editable. Avoid superscript-and-subscript fraction generators for anything important, since they replace every character and depend heavily on font support. Whatever you choose, inspect the code points and check the result in the specific destinations and assistive technologies that matter to you, rather than relying on how it looks in one place.