GO:0046167: glycerol-3-phosphate biosynthetic process
The chemical reactions and pathways resulting in the formation of glycerol-3-phosphate, a phosphoric monoester of glycerol.