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

Integral in LaTeX

The LaTeX command for integral (∫) is \int (integral).

∫\int∫
\int
Calculus & Analysis · Unicode ∫ (U+222B) · 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
\int_a^b f(x)\,dx recommendednoneDefinite integral; \, adds a thin space before dx.
\int\limits_a^b f(x)\,dx noneLimits above and below the sign.
\iint_D f\,dA amsmathDouble integral, correctly spaced (\iiint for triple).
\oint_C \mathbf{F} \cdot d\mathbf{r} noneContour integral.
\int f(x)\,\mathrm{d}x noneUpright d, as ISO style asks.
Table 1. Ways to write integral in LaTeX. Every line was compiled with pdfLaTeX (TeX Live 2026) loading only the package shown.
Common mistake. Without \, the dx runs into the integrand, and \int\int leaves a gap between the signs: use \iint from amsmath.

How to type Integral

Write \int 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
$\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}$∫−∞∞e−x2 dx=π\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}∫−∞∞​e−x2dx=π​

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

Related Calculus & Analysis symbols

ⁿ√\sqrt[n]{x}⁄\frac{a}{b}⁄\dfrac{a}{b}…\ldots⋯\cdots⋮\vdots⋱\ddots∬\iint∭\iiint⨌\iiiint∮\oint∑\sum∏\prod∐\coprod

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

FAQ

How do you write integral (∫) in LaTeX?

Use \int in math mode; it needs no extra package. For example, $\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}$.

Which package provides \int?

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

What is the most common mistake with integral in LaTeX?

Without \, the dx runs into the integrand, and \int\int leaves a gap between the signs: use \iint from amsmath.

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