Skip to main content
v2026.11,858 entries · CC-BY 4.0
LAC HealthMedical Supply Distributor100,000+ medical supplies. 48-hour critical dispatch.Ships from 8 regional U.S. hubs. Net-30 terms for verified institutional accounts.Shop lac.us CodeCASRAIlac.us

Percent Sign in LaTeX: How to Type \% (and Why % Comments Out Text)

How to print a percent sign in LaTeX: escape it with a backslash, or use siunitx for quantities, plus fixes for text that disappears after a percent sign.

Written and maintained by CASRAI Editorial Board

Last updated

Short answer: type \% to print a percent sign in LaTeX. A bare % is the comment character, so it prints nothing and hides the rest of its line. For measured quantities, the siunitx package offers \qty{10}{\percent}, which sets the number and the percent sign together.

This page is for researchers and analysts writing papers, theses or reports in LaTeX who see a missing percent sign, text that vanishes after a %, or a compile error around one. After reading it you should be able to print the symbol correctly in running text, tables and quantities, and recognise the usual failure modes.

What it is used for in research

Percentages appear in results text, table cells, figure captions and confidence-interval reporting. LaTeX reserves a small set of characters for its own syntax, and the percent sign is one of them: according to the LaTeX2e unofficial reference manual, “the percent sign % is for comments”. Typing it raw therefore does not produce the symbol.

Install or access (official source only)

No separate install is needed for \%; it works in any LaTeX document. The siunitx package is distributed through CTAN (the Comprehensive TeX Archive Network) at ctan.org/pkg/siunitx. Add it to the preamble with:

\usepackage{siunitx}

Step-by-step task

Percent sign in text (latex percent sign, percent sign latex)

  1. Put a backslash directly before the percent sign: The sample shrank by 12\% after treatment.
  2. Compile. The output reads “The sample shrank by 12% after treatment.”

The reference manual’s rule for reserved characters is general: “simply put a backslash \ in front of the character” so that it prints as itself. Its own example is \$1.23, and the percent sign follows the same rule. The reserved list is # $ % & { } _ ~ ^ \; the last three need different commands (\~{}, \^{}, \textbackslash{}).

Percent symbol in a quantity with siunitx (percent in latex)

  1. Load the package: \usepackage{siunitx}.
  2. Write the quantity with the \percent unit: \qty{10}{\percent}.

The siunitx manual says \percent “is also provided for use in units” and is accepted alongside the SI as detailed in section 5.4.7 of the SI Brochure. Its own example shows the default spacing: a space is inserted between number and unit in \qty{10}{\percent}. The manual also notes that the quantity-product and angle options do not apply to the units \degree, \arcminute, \arcsecond and \percent.

Printing a percent sign in typewriter font

The reference manual shows \verb!% ! style input for reserved characters in a typewriter font, for example \verb!# $ % & { } _ ~ ^ \!, with ! as the delimiter.

Output and how to read it

You type What LaTeX does Source
12% Starts a comment; the percent sign does not print LaTeX2e reference manual, Reserved characters
12\% Prints 12% LaTeX2e reference manual, Reserved characters
\qty{10}{\percent} Prints the value and percent sign with a space between them by default siunitx manual

Troubleshooting

The rest of my line disappeared

A bare % begins a comment, so everything after it on that line is not typeset. Replace it with \%.

The percent sign vanishes inside a table, link or URL

The same rule applies in every context: an unescaped % is read as a comment. Escape it as \%. If a table row ends abruptly or a later column goes missing, look for a raw % in that row.

Output pasted from other software

Text exported from statistics software, spreadsheets or code that already contains % must be escaped before it is pasted into a LaTeX source file. Generated strings need the backslash added by the generating code, not by hand afterwards.

Free alternatives (table)

Both approaches below are free to use: one is built into LaTeX, the other is an openly distributed package on CTAN.

Approach Best for Needs a package
\% A percent sign anywhere in running text, tables or captions No
\qty{10}{\percent} (siunitx) Numbers with units that should be formatted consistently with other SI quantities Yes: siunitx

FAQ

How do I write a percent sign in LaTeX?

Type \%. The backslash tells LaTeX to print the percent sign instead of starting a comment.

Why does the % symbol comment out my text?

Because LaTeX reserves it for comments, as the reference manual states. Everything after an unescaped % on that line is ignored.

Is there a LaTeX command for percent in units?

Yes: siunitx provides \percent, used as in \qty{10}{\percent}.

Which other characters need a backslash?

The reference manual lists # $ % & { } _ ~ ^ \ as reserved. All but the last three take a backslash; tilde, circumflex and backslash need \~{}, \^{} and \textbackslash{}.

Related reading

Sources (official docs)

  • LaTeX2e unofficial reference manual, “Reserved characters” (public domain; latexref.xyz and CTAN mirrors). Read 2026-11-07.
  • siunitx manual, CTAN: ctan.org/pkg/siunitx. Read 2026-11-07.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Percent Sign in LaTeX: How to Type \% (and Why % Comments Out Text)

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →