There are 18 groups in the periodic table. From left to right, there are 2 groups of elements in the s-block (alkali metals and alkaline earth metals), 10 groups in the d-block (transition block) and 6 groups in the p-block (main block)