
\documentclass{article}
  \usepackage{graphicx}
  \pagestyle{empty}

\begin{document}
\resizebox{3cm}{!}{
    $2^{2^2}$
    $\cramped{2^{2^2}}$
}
\end{document}
