The chemical reactions and pathways resulting in the formation of granulocyte macrophage colony-stimulating factor, cytokines that act in hemopoiesis by controlling the production, differentiation, and function of two related white cell populations, granulocytes and monocytes-macrophages.