Humans have 24 ribs, in 12 pairs. All are attached at the back to the thoracic vertebrae, and are numbered from 1–12 according to the vertebrae they attach to. The first rib is attached to thoracic vertebra 1 (T1). At the front of the body most of the ribs are joined by costal cartilages to the sternum.