Rib cage
The rib cage is an endoskeletal enclosure in the thorax of most vertebrate animals that comprises the ribs, vertebral column and sternum, which protects vital organs such as the heart, lungs and great vessels. The circumferential enclosure formed by left and right rib cages, together known as the thoracic cage, is a semi-rigid bony and cartilaginous structure which surrounds the thoracic cavity and supports the shoulder girdles to form the core part of the axial skeleton.
A typical human thoracic cage consists of 12 pairs of ribs and the adjoining costal cartilages, the sternum (along with the manubrium and xiphoid process), and the 12 thoracic vertebrae articulating with the ribs. The thoracic cage also provides attachments for extrinsic skeletal muscles of the neck, upper limbs, upper abdomen and back, and together with the overlying skin and associated fascia and muscles, makes up the thoracic wall.
In tetrapods, the rib cage intrinsically holds the muscles of respiration (diaphragm, intercostal muscles, etc.) that are crucial for active inhalation and forced exhalation, and therefore has a major ventilatory function in the respiratory system.

Structure
There are thirty-three vertebrae in the human vertebral column.  The rib cage is associated with TH1−TH12.  Ribs are described based on their location and connection with the sternum. All ribs are attached posteriorly to the thoracic vertebrae and are numbered accordingly one to twelve. Ribs that articulate directly with the sternum are called true ribs, whereas those that do not articulate directly are termed false ribs. The false ribs include the floating ribs (eleven and twelve) that are not attached to the sternum at all.

Attachment
The terms true ribs and false ribs describe rib pairs that are directly or indirectly attached to the sternum respectively. The first seven rib pairs known as the fixed or vertebrosternal ribs are the true ribs (Latin: costae verae) as they connect directly to the sternum via their own individual costal cartilages. The next five pairs (eighth to twelfth) are the false ribs (Latin: costae spuriae) or vertebrochondral ribs, which do not connect directly to the sternum.  The first three pairs of vertebrochondral ribs (eighth to tenth) connect indirectly to the sternum via the costal cartilages of the ribs above them, and the overall elasticity of their articulations allows the bucket handle movements of the rib cage essential for respiratory activity.
The phrase floating rib (Latin: costae fluctuantes) or vertebral rib refers to the two lowermost (the eleventh and twelfth) rib pairs; so-called because they are attached only to the vertebrae and not to the sternum or any of the costal cartilages. These ribs are relatively small and delicate, and include a cartilaginous tip.The spaces between the ribs are known as intercostal spaces; they contain the instrinsic intercostal muscles and the neurovascular bundles containing intercostal nerves, arteries and veins. The superficial surface of the rib cage is covered by the thoracolumbar fascia, which provides external attachments for the neck, back, pectoral and abdominal muscles.

Parts of rib
Each rib consists of a head, neck, and a shaft. All ribs are attached posteriorly to the thoracic vertebrae. They are numbered to match the vertebrae they attach to – one to twelve, from top (T1) to bottom. The head of the rib is the end part closest to the vertebra with which it articulates. It is marked by a kidney-shaped articular surface which is divided by a horizontal crest into two articulating regions. The upper region articulates with the inferior costal facet on the vertebra above, and the larger region articulates with the superior costal facet on the vertebra with the same number. The transverse process of a thoracic vertebra also articulates at the transverse costal facet with the tubercle of the rib of the same number. The crest gives attachment to the intra-articular ligament.The neck of the rib is the flattened part that extends laterally from the head. The neck is about 3 cm long. Its anterior surface is flat and smooth, whilst its posterior is perforated by numerous foramina and its surface rough, to give attachment to the ligament of the neck. Its upper border presents a rough crest (crista colli costae) for the attachment of the anterior costotransverse ligament; its lower border is rounded.
On the posterior surface at the neck, is an eminence—the tubercle that consists of an articular and a non-articular portion. The articular portion is the lower and more medial of the two and presents a small, oval surface for articulation with the transverse costal facet on the end of the transverse process of the lower of the two vertebrae to which the head is connected. The non-articular portion is a rough elevation and affords attachment to the ligament of the tubercle. The tubercle is much more prominent in the upper ribs than in the lower ribs.
The angle of a rib (costal angle) may both refer to the bending part of it, and a prominent line in this area, a little in front of the tubercle. This line is directed downward and laterally; this gives attachment to a tendon of the iliocostalis muscle. At this point, the rib is bent in two directions, and at the same time twisted on its long axis.
The distance between the angle and the tubercle is progressively greater from the second to the tenth ribs. The area between the angle and the tubercle is rounded, rough, and irregular, and serves for the attachment of the longissimus dorsi muscle.

Bones
Ribs and vertebrae
The first rib (the topmost one) is the most curved and usually the shortest of all the ribs; it is broad and flat, its surfaces looking upward and downward, and its borders inward and outward.

			
			
		
		
			
			
		
The head is small and rounded, and possesses only a single articular facet, for articulation with the body of the first thoracic vertebra.  The neck is narrow and rounded. The tubercle, thick and prominent, is placed on the outer border. It bears a small facet for articulation with the transverse costal facet on the transverse process of T1. There is no angle, but at the tubercle, the rib is slightly bent, with the convexity upward, so that the head of the bone is directed downward.  The upper surface of the body is marked by two shallow grooves, separated from each other by a slight ridge prolonged internally into a tubercle, the scalene tubercle, for the attachment of the anterior scalene; the anterior groove transmits the subclavian vein, the posterior the subclavian artery and the lowest trunk of the brachial plexus. Behind the posterior groove is a rough area for the attachment of the medial scalene. The under surface is smooth and without a costal groove. The outer border is convex, thick, and rounded, and at its posterior part gives attachment to the first digitation of the serratus anterior. The inner border is concave, thin, and sharp, and marked about its center by the scalene tubercle.  The anterior extremity is larger and thicker than that of any of the other ribs.
The second rib is the second uppermost rib in humans or second most frontal in animals that walk on four limbs. In humans, the second rib is defined as a true rib since it connects with the sternum through the intervention of the costal cartilage anteriorly (at the front). Posteriorly, the second rib is connected with the vertebral column by the second thoracic vertebra. The second rib is much longer than the first rib, but has a very similar curvature. The non-articular portion of the tubercle is occasionally only feebly marked. The angle is slight and situated close to the tubercle. The body is not twisted so that both ends touch any plane surface upon which it may be laid; but there is a bend, with its convexity upward, similar to, though smaller than that found in the first rib. The body is not flattened horizontally like that of the first rib. Its external surface is convex, and looks upward and a little outward; near the middle of it is a rough eminence for the origin of the lower part of the first and the whole of the second digitation of the serratus anterior; behind and above this is attached the posterior scalene. The internal surface, smooth, and concave, is directed downward and a little inward: on its posterior part there is a short costal groove between the ridge of the internal surface of the rib and the inferior border. It protects the intercostal space containing the intercostal veins, intercostal arteries, and intercostal nerves.The ninth rib has a frontal part at the same level as the first lumbar vertebra. This level is called the transpyloric plane, since the pylorus is also at this level.The tenth rib attaches directly to the body of vertebra T10 instead of between vertebrae like the second through ninth ribs. Due to this direct attachment, vertebra T10 has a complete costal facet on its body.
The eleventh and twelfth ribs, the floating ribs, have a single articular facet on the head, which is of rather large size. They have no necks or tubercles, and are pointed at their anterior ends. The eleventh has a slight angle and a shallow costal groove, whereas the twelfth does not. The twelfth rib is much shorter than the eleventh rib, and only has a one articular facet.

Sternum
The sternum is a long, flat bone that forms the front of the rib cage. The cartilages of the top seven ribs (the true ribs) join with the sternum at the sternocostal joints. The costal cartilage of the second rib articulates with the sternum at the sternal angle making it easy to locate.The manubrium is the wider, superior portion of the sternum. The top of the manubrium has a shallow, U-shaped border called the jugular (suprasternal) notch. The clavicular notch is the shallow depression located on either side at the superior-lateral margins of the manubrium. This is the site of the sternoclavicular joint, between the sternum and clavicle. The first ribs also attach to the manubrium.The transversus thoracis muscle is innervated by one of the intercostal nerves and superiorly attaches at the posterior surface of the lower sternum.  Its inferior attachment is the internal surface of costal cartilages two through six and works to depress the ribs.

Development
Expansion of the rib cage in males is caused by the effects of testosterone during puberty. Thus, males generally have broad shoulders and expanded chests, allowing them to inhale more air to supply their muscles with oxygen.

Variation
Variations in the number of ribs occur. About 1 in 200–500 people have an additional cervical rib, and there is a female predominance. Intrathoracic supernumerary ribs are extremely rare. The rib remnant of the 7th cervical vertebra on one or both sides is occasionally replaced by a free extra rib called a cervical rib, which can mechanically interfere with the nerves (brachial plexus) going to the arm.
In several ethnic groups, most significantly the Japanese, the tenth rib is sometimes a floating rib, as it lacks a cartilaginous connection to the seventh rib.

Function
The human rib cage is a component of the human respiratory system.  It encloses the thoracic cavity, which contains the lungs.  An inhalation is accomplished when the muscular diaphragm, at the floor of the thoracic cavity, contracts and flattens, while the contraction of intercostal muscles lift the rib cage up and out.
Expansion of the thoracic cavity is driven in three planes; the vertical, the anteroposterior and the transverse. The vertical plane is extended by the help of the diaphragm contracting and the abdominal muscles relaxing to accommodate the downward pressure that is supplied to the abdominal viscera by the diaphragm contracting. A greater extension can be achieved by the diaphragm itself moving down, rather than simply the domes flattening. The second plane is the anteroposterior and this is expanded by a movement known as the 'pump handle'. The downward sloping nature of the upper ribs are as such because they enable this to occur. When the external intercostal muscles contract and lift the ribs, the upper ribs are able also to push the sternum up and out. This movement increases the anteroposterior diameter of the thoracic cavity, and hence aids breathing further. The third, transverse, plane is primarily expanded by the lower ribs (some say it is the 7th to 10th ribs in particular), with the diaphragm's central tendon acting as a fixed point. When the diaphragm contracts, the ribs are able to evert (meaning turn outwards or inside out) and produce what is known as the bucket handle movement, facilitated by gliding at the costovertebral joints. In this way, the transverse diameter is expanded and the lungs can fill.
The circumference of the normal adult human rib cage expands by 3 to 5 cm during inhalation.

Clinical significance
Rib fractures are the most common injury to the rib cage. These most frequently affect the middle ribs. When several adjacent ribs incur two or more fractures each, this can result in a flail chest which is a life-threatening condition.
A dislocated rib can be painful and can be caused simply by coughing, or for example by trauma or lifting heavy weights.One or more costal cartilages can become inflamed – a condition known as costochondritis; the resulting pain is similar to that of a heart attack.
Abnormalities of the rib cage include pectus excavatum ("sunken chest") and pectus carinatum ("pigeon chest").  A bifid rib is a bifurcated rib, split towards the sternal end, and usually just affecting one of the ribs of a pair. It is a congenital defect affecting about 1.2% of the population. It is often without symptoms though respiratory difficulties and other problems can arise.
Rib removal is the surgical removal of one or more ribs for therapeutic or cosmetic reasons.
Rib resection is the removal of part of a rib.

Regeneration
Since the early part of the 20th century, the ability of the human rib to regenerate itself has been appreciated. However, scientific reports demonstrating repair have been sporadic and anecdotal. Currently, this phenomenon is best taken advantage of by craniomaxillofacial surgeons, who use both cartilage and bone material from the rib for jaw, face, and ear reconstruction.The perichondrium is a fibrous sheath of vascular connective tissue surrounding the rib cartilage, containing a source of progenitor stem cells required for rib regeneration.

Society and culture
The position of ribs can be permanently altered by a form of body modification called tightlacing, which uses a corset to compress and move the ribs.
The ribs, particularly their sternal ends, are used as a way of estimating age in forensic pathology due to their progressive ossification.

Biblical Story
The number of ribs as 24 (12 pairs) was noted by the Flemish anatomist Vesalius in his key work of anatomy De humani corporis fabrica in 1543, setting off a wave of controversy, as it was traditionally assumed from the Biblical story of Adam and Eve that men's ribs would number one fewer than women's. However, thirteenth or “cervical rib” occurs in 1% of humans and this is more common in females than in males.

Other animals
In herpetology, costal grooves refer to lateral indents along the integument of salamanders. The grooves run between the axilla to the groin. Each groove overlies the myotomal septa to mark the position of the internal rib.Birds and reptiles have bony uncinate processes on their ribs that project caudally from the vertical section of each rib. These serve to attach sacral muscles and also aid in allowing greater inspiration. Crocodiles have cartilaginous uncinate processes.

Additional images
See also
Articulation of head of rib
Rachitic rosary
Terms for anatomical location
Terms for bones

Notes
This article incorporates text in the public domain from the 20th edition of Gray's Anatomy (1918)

References
Orientation of the intercostal muscle fibers in the human rib cage, Subit D., Glacet A., Hamzah M., Crandall J.,  Computer Methods in Biomechanics and Biomedical Engineering, 2015, 18, pp. 2064–2065
Clinically Oriented Anatomy, 4th ed.  Keith L. Moore and Robert F. Dalley. pp. 62–64
Principles of Anatomy Physiology, Tortora GJ and Derrickson B. 11th ED. John Wiley and Sons, 2006.  ISBN 0-471-68934-3
De Humani Corporis Fabrica: online English translation of Vesalius' books on human anatomy.

External links

Diagram at mhhe.com