Flexi Says: The rib cage includes the 12 thoracic vertebrae and the breastbone (or sternum), as well as 12 pairs of ribs, which are attached at joints to the vertebrae.The thoracic vertebrae are located in the thorax posterior and medial to the ribs.