# Order of elements in a formula? [duplicate]

If I have a formula containing 4 hydrogen atoms and 1 carbon

Should it be written $\small\ce{CH4}$ or $\small\ce{H4C}$?

In general, how do I know the order to put elements in, in a chemical formula?

There's something called Hill System. This is the system of writing chemical formulas. In this system the carbon atoms are first, then hydrogen atoms and then other in alphabetical order. When the formula contains no carbon or hydrogen atoms, then all the elements are sorted alphabetically.

So it should be: $\ce{CH4}$

However, the Hill system is not the only method of ordering elements in a chemical formula. We can instead choose to list the elements based on their electronegativity. ManishEarth explains this in his answer to this question.

• Where can i see the entire hill system, I would like to memorize it :) – Mohamed Ahmed Nabil Sep 26 '12 at 22:35
• Here's something you should check: en.wikipedia.org/wiki/Hill_system – bluepawel Sep 26 '12 at 22:37
• So its alphabetical? – Mohamed Ahmed Nabil Sep 26 '12 at 22:42
• like Clorine before sulpher? – Mohamed Ahmed Nabil Sep 26 '12 at 22:42
• Yes, but there are some exceptions – bluepawel Sep 26 '12 at 22:43