The chemical reactions and pathways resulting in the formation of dermatan sulfate, any glycosaminoglycan with repeats consisting of beta-(1,4)-linked L-iduronyl-beta-(1,3)-N-acetyl-D-galactosamine 4-sulfate units.