Integral in LaTeX
Type an integral and see it rendered.
Free · Runs in your browser · Your text is never uploaded
Basic integral
\int_a^b f(x)\,dx. The underscore sets the lower limit and the caret the upper limit. The \, adds a thin space before dx.
More integrals
\iint for double integrals, \iiint for triple and \oint for contour integrals. They need amsmath in your document.
Display versus inline
In display mode, limits appear above and below the symbol for sums but beside it for integrals by default. Inline limits are smaller.
Writing integrals
In LaTeX an integral is written with \int, limits with underscore and caret, for example \int_0^1 x^2\,dx. The \, adds a small space before dx. Use \displaystyle in inline math for larger limits.
Need more options? Open the full LaTeX Equation Editor.
Related guides
Frequently asked questions
How do I put limits on an integral?
Use _ for the lower limit and ^ for the upper limit.
Which command makes a double integral?
\iint, from amsmath.