Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Computer Science›Little-o

Little-o in LaTeX

The LaTeX command for little o (o) is o (little-o (strict upper bound)).

ooo
o
Computer Science · Unicode o (U+006F) · no package needed

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

Which command should you use?

CommandPackageUse it when
o(n) recommendednoneLittle-o is simply the letter o.
O(n \log n) noneBig-O.
\mathcal{O}(n) noneCalligraphic big-O, a common style.
\Theta(n) noneTheta, the tight bound.
Table 1. Ways to write little o in LaTeX. Every line was compiled with pdfLaTeX (TeX Live 2026) loading only the package shown.
Common mistake. Do not use \circ (a ring operator) for little-o, and \mathcal{o} does not exist: calligraphic letters are capitals only.

How to type Little-o

Write o 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.

Example
$f(n) = o(g(n))$f(n)=o(g(n))f(n) = o(g(n))f(n)=o(g(n))

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

Related Computer Science symbols

⊥\bot⊨\models𝖭𝖯\mathsf{NP}𝖯\mathsf{P}𝒪\mathcal{O}Ω\OmegaΘ\Theta⊕\oplus∧\land∨\lor¬\neg∣\mid⌊⌋\lfloor x \rfloor⌈⌉\lceil x \rceil

Computer science symbols in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write little o (o) in LaTeX?

Use o in math mode; it needs no extra package. For example, $f(n) = o(g(n))$.

Which package provides o?

None: o is built into LaTeX, so no extra package is required.

What is the most common mistake with little o in LaTeX?

Do not use \circ (a ring operator) for little-o, and \mathcal{o} does not exist: calligraphic letters are capitals only.

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