# Subscript numbers

How do we format subscript and superscript numbers?

For example, I've referred to SO2 a few times, and someone has already edited an answer of mine and converted the '2' to subscript.

• – yo' Apr 16 '14 at 20:07

I'm not sure whether there's a Markdown way to do it, but Stackexchange allows you to just use the HTML <sub> and <sup> tags.

So,

CO<sub>2</sub> and mv<sup>2</sup>


give

CO2 and mv2 respectively.

• thanks (9 chars ) – winwaed Apr 16 '14 at 19:32
• Just to note, there is no markdown support for subscripts and superscripts. – Robert Cartaino Apr 17 '14 at 13:58