Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Calculus & Analysis›Frac

Frac in LaTeX

The LaTeX command for frac (⁄) is \frac{a}{b} (fraction).

ab\frac{a}{b}ba​
\frac{a}{b}
Calculus & Analysis · Unicode ⁄ (U+2044) · no package needed

Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.

How to type Frac

Write \frac{a}{b} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.

In display math \frac{a}{b} takes its full size; inline it shrinks to fit the line, and \displaystyle forces the large form. With unicode-math under XeLaTeX or LuaLaTeX, typing ⁄ in a formula gives the same symbol.

Example
$\frac{a}{b} f(x)$abf(x)\frac{a}{b} f(x)ba​f(x)

Open this example in the live preview: it renders as you type, with no compiler and no signup.

Related Calculus & Analysis symbols

lim inf\liminfsup\supinf\infmax\maxmin\min√\sqrt{x}ⁿ√\sqrt[n]{x}⁄\dfrac{a}{b}…\ldots⋯\cdots⋮\vdots⋱\ddots∫\int∬\iint

Calculus and analysis symbols in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write frac (⁄) in LaTeX?

Use \frac{a}{b} in math mode; it needs no extra package. For example, $\frac{a}{b} f(x)$.

Which package provides \frac{a}{b}?

None: \frac{a}{b} is built into LaTeX, so no extra package is required.

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms