The primary muscles in the back of your legs are the gastrocnemius and soleus of the calves and the hamstrings on the back of the thighs. Calf raises help to develop muscle tone in your calf muscles, while squats and leg curls will help you chisel your hamstrings