The chemical reactions and pathways resulting in the formation of carbamoyl phosphate, an intermediate in the urea cycle and other nitrogen compound metabolic pathways.
carbamyl phosphate biosynthetic process