In the lower leg, the muscle fibers of the gastrocnemius converge with those of the deeper soleus muscle to form the calcaneal tendon, which attaches to the calcaneus (heel) of the foot.
The gastrocnemius plantarflexes the foot at the ankle joint and can also flex the leg at the knee joint. It is innervated by the tibial nerve.