Diameter typically varies in the range 0.4–40 nm (i.e. "only" ~100 times), but the length can vary ~10,000 times, reaching 55.5 cm.
A first approach to calculate the transition energy is defined as \begin{equation} E_{sc,m} =2i\frac{\gamma_0 a_{c-c}}{d} \end{equation} where i=1 for $S{11}$, i=2 for $S{22}$ and i=3 for $M{11}$, $\gamma0=2.9eV$ is the nearest neighbout carbon-carbon interaction energy and $a_{c-c}=0.144$ is the nearest neighbour carbon-carbon distance. (*"Optical absorption spectroscopy and properties of single walled carbon nanotubes at high temperature")