# How to use siunitx to write 100 MBps?

I want to show 100 MBps (one hundred mega byte per second) in my article. How to make use of siunitx package to produce the rate correctly?

The following outputs are not what I want to get.

You could do something like

\documentclass{article}
\usepackage{siunitx}
\sisetup{per-mode=symbol,per-symbol = p}
\begin{document}
\SI{100}{\mega\byte\per\second}
\end{document}

• I would not like to encourage this, as it mixing up separate units (here bytes and seconds). I'd also point out that the correct prefix for binary units would be mebi not mega! – Joseph Wright May 15 '12 at 5:48
• I will think of it later for my other projects even though your suggestion is absolutely correct. – kiss my armpit May 15 '12 at 5:55
• Is \SI{100}{MBps} exactly identical to \SI[per-mode=symbol,per-symbol = p]{100}{\mega\byte\per\second}? I am afraid I will lose some useful features provided by the latter if I use the former. – kiss my armpit May 15 '12 at 6:49
• The output is identical, but you loose the possibility for any automated reformatting. For example, if you decided (or perhaps a editor decided) to use Mb\,s^{-1} rather than Mbps, with the unit macros all you have to do is change an option. – Joseph Wright May 15 '12 at 6:53
• About binary vs. decimal units the following link should be helpful: en.wikipedia.org/wiki/… – Martin Scharrer May 15 '12 at 10:24

It is not a kosher SI unit, but since you and other people in your field use it anyway, just say \SI{100}{MBps}.

• Actually I have tried this approach but I am not sure whether it is exactly equal to \SI[per-mode=symbol,per-symbol = p]{100}{\mega\byte\per\second}. – kiss my armpit May 15 '12 at 6:10
• @Forgiver: It appears to be identical. In what way is it different? I may be missing a slight difference in spacing or something. – qubyte May 15 '12 at 6:42
• @MarkS.Everitt: I will ask the author for this doubt. – kiss my armpit May 15 '12 at 6:47