\hat{a} hat accent (circumflex) (â) in LaTeX

Command\hat{a}
Modemath
Packagenone, part of LaTeX
Unicodeâ U+00E2
KindMath accents
Also calledestimator, unit vector

\hat{a} typesets the symbol “hat accent (circumflex)” (â). It is a math accent.

Try it

a^\hat{a}

Open this formula in the editor The preview is drawn in your browser by KaTeX, which knows the common math commands. The editor compiles the formula with pdfTeX.

Example

\documentclass{article}
\begin{document}
\( \hat{a} \)
\end{document}

Open in the editor

Compiled with pdfLaTeX from TeX Live 2023.

How to use it

\hat{a} works only in math mode. In running text, put it between $...$ or \(...\). Outside math mode LaTeX stops with Missing $ inserted. The command is part of LaTeX; you need no package.

About math accents

A math accent takes its base as an argument: \hat{a}. The plain accents fit one letter; the wide forms and \overline stretch over several. On i and j, use \imath and \jmath so the accent does not collide with the dot. These commands work only in math mode; accents in text are written like \'e or typed directly.

More math accents

All math accents