Whether it’s writing equations, indices, or other use cases, superscripts use becomes nearly impossible to avoid when working with scientific and technical documents.

In this quick guide, we shall discuss how to create superscripts in your LaTeX documents.

## Basic Usage: How to Create a Superscript in LaTeX

To create a superscript in LaTeX, we use the ^ operator. This operator adds the following value(s) as the superscript.

For example:

E = mc^2

\end{equation*}

In the above entries, use the amsmath package in your document preamble to avoid errors.

The result is:

The code below shows another example:

H(s) = \int^\infty_0e^-st_h(t)dt

\end{equation*}

Here is the result of the code:

To combine multiple values as a subscript, you can use the ^{values} syntax. For example:

(a^2)^{x+y} = {a^{i_y}}

\end{equation*}

The resulting equation is:

## Conclusion

In this quick tutorial, we covered how to create superscripts in LaTeX documents. To learn more, check out how to create subscripts in LaTeX.