# Exponent like 2^3 in \SI

How can I write an exponent in a \SI command like this:

\SI{2^3}{m}


The reason why I want to write 2^3 instead of 8 is that I have a formula above saying b^3 and I want to show the calculation steps very detailed.

\documentclass{article}
\usepackage{siunitx}

\begin{document}
\SI[parse-numbers=false]{2^3}{m}
\end{document}


• +1. :-) Two additional possibilities: \SI[parse-numbers=false]{2\cubed}{m} and \SI[parse-numbers=false]{2\tothe3}{m}. – Mico Dec 11 '19 at 21:08