Rib Cage: Anatomy of the Ribs, Sternum and Thoracic Cage
Cavea thoracisSkeletal system
For general education about how the body works, not medical advice. Medical disclaimer.

The rib cage, or thoracic cage, is the bony frame of the chest. It is made of 12 pairs of ribs, the sternum (breastbone) at the front and the 12 thoracic vertebrae of the mid-back at the back. It protects the heart, the lungs and the great blood vessels, and it changes shape with every breath.
Contents
Where is the rib cage?
The rib cage forms the walls of the thorax, the upper part of the trunk between the neck and the abdomen. At the back, every rib joins one of the 12 thoracic vertebrae of the spine. At the front, the upper seven pairs of ribs reach the sternum, a flat bone in the midline just under the skin of the chest.
The rib cage has two openings. The thoracic inlet is the narrow opening at the top, below the neck. It lets the trachea, the esophagus, the major blood vessels and nerves pass into the chest. The thoracic outlet at the bottom is much wider and is closed by the diaphragm, the dome-shaped muscle that separates the chest from the abdomen. The lower ribs also cover the upper parts of the liver, spleen, stomach and kidneys.
Size, shape and type
An adult rib cage has the shape of a rounded cone or barrel. It is narrow at the top and wider at the bottom, where the lower ribs flare outward. The outline of the chest changes during every breath, because the front of the cage rises and falls.
Each rib is a long, thin, curved bone. In an adult, the ribs are about 20 to 30 cm (8 to 12 in) long, with the middle ribs being the longest. The first rib is the shortest and most sharply curved. Anatomists usually classify ribs as flat bones, because they are thin and broad in cross section, even though they are long and curved. The sternum is also a flat bone, about 15 to 20 cm (6 to 8 in) long in an adult. The thoracic vertebrae are irregular bones that form the back wall of the cage.
The upper ribs are shorter and lie almost horizontally, while the middle ribs slope downward toward the front. The lower ribs are shorter again, and the last two pairs are the smallest. The bony part of each rib is compact bone with a spongy core, while the front ends are made of cartilage, which is more flexible than bone.
Parts of the rib cage
The rib cage has three main parts: the 12 pairs of ribs, the sternum and the costal cartilages that link the front of the ribs to the sternum. Each rib is divided into named regions that help anatomists describe where muscles and ligaments attach.
A typical rib has a head at its back end. The head has two small facets that meet the bodies of two neighboring thoracic vertebrae. Between the head and the rest of the rib is a narrow neck. Just outside the neck is the tubercle, a small raised bump with a facet that meets the transverse process of the vertebra at the same level. The shaft is the long, curved middle part of the rib. Its inner surface has a costal groove along the lower edge, where the intercostal vessels and nerve run, protected by the rib above.
The ribs are grouped by how they reach the sternum. The first seven pairs are called true ribs, or vertebrosternal ribs, because each one joins the sternum directly through its own costal cartilage. The eighth, ninth and tenth pairs are false ribs, because they join the costal cartilage of the rib above. The eleventh and twelfth pairs are floating ribs, because their front ends are free and do not attach to the sternum at all.
The sternum is divided into three parts. The manubrium is the broad, upper part, and it carries the jugular notch, the small dip at the base of the neck. The body is the long middle part, and the xiphoid process is the small, pointed lower end, which is often still cartilage in young adults. The sternal angle, where the manubrium meets the body, lies at about the level of the fourth and fifth thoracic vertebrae. It is a useful landmark, because the second rib attaches at this point.
Joints: what the rib cage connects to
The rib cage forms several joints at the back, at the front and between the ribs. Each joint allows a limited, specific movement, and together they let the chest expand and contract.
At the back, each rib forms two joints with the thoracic spine. The costovertebral joint is where the head of the rib meets the bodies of two neighboring vertebrae and the disc between them. The costotransverse joint is where the tubercle meets the transverse process of the vertebra at the same level. Both are synovial joints with a small joint cavity and a gliding movement, which lets the ribs rise and fall.
At the front, the sternocostal joints connect the costal cartilages to the sternum. The first is a cartilaginous joint in which the cartilage is fused to the manubrium, so it allows very little movement. The second to seventh pairs are synovial joints with a small cavity and a small gliding movement. The eighth, ninth and tenth costal cartilages join the cartilage above through small interchondral joints.
The manubriosternal joint joins the manubrium to the body. It is a cartilaginous joint with a thin layer of fibrocartilage, and in young adults it can move slightly. The xiphisternal joint joins the body to the xiphoid process.
Muscles and ligaments attached
Several groups of muscles lie between the ribs and attach to the rib cage. Some raise the ribs during breathing in, some pull them down during breathing out, and others hold the shoulder blade or the chest wall in place during movement.
The intercostal muscles fill the spaces between neighboring ribs in three layers. The external intercostals are the outermost layer and lift the ribs, which helps the chest expand when we breathe in. The internal intercostals lie beneath them, run in the opposite direction and help pull the ribs down during forced breathing out. The innermost intercostals are the deepest layer. Each layer is described more fully in the article on intercostal muscles.
The subcostal muscles and the transversus thoracis lie on the inner surface of the chest wall and help draw the ribs down. The levatores costarum are small muscles at the back that help raise the ribs. The serratus posterior superior and inferior sit in the upper and lower back and attach to the ribs.
The serratus anterior is a large fan-shaped muscle on the side of the chest. It attaches to the outer surfaces of the upper eight or nine ribs and wraps around to the inner edge of the shoulder blade. It holds the shoulder blade flat against the rib cage. The pectoralis major and pectoralis minor lie over the front of the chest and attach to the ribs, sternum and collarbone.
The diaphragm attaches to the lower ribs, the lower sternum and the upper lumbar vertebrae. It is the main muscle of breathing. When it contracts, it flattens and moves downward, which enlarges the chest from top to bottom.
Several ligaments hold the rib cage together. The radiate ligament of the rib head spreads from the front of each rib head to the vertebral bodies. The costotransverse ligaments hold the tubercles to the transverse processes. The sternocostal ligaments connect the costal cartilages to the sternum, and the costoclavicular ligament runs from the first rib to the collarbone.
The intercostal nerves and vessels run in the costal groove along the lower edge of each rib. In this groove the vein lies at the top, then the artery, then the nerve at the bottom.
What does the rib cage do?
The rib cage has three main jobs: it protects the organs of the chest, it supports the shoulder girdle and arms, and it moves so that the lungs can fill with air. It also takes part in blood formation and mineral storage.
The protective role is the most obvious. The ribs, sternum and thoracic vertebrae form a curved shield around the heart, the lungs, the trachea, the esophagus and the aorta. The cage is strong enough to resist everyday pressures but flexible enough to bend slightly under force.
The rib cage also supports the shoulder girdle. The collarbone attaches to the top of the sternum, and the shoulder blade is held against the back of the cage by the serratus anterior. Many muscles of the arm and upper back attach to the ribs, so the cage gives the arm a stable base.
Breathing depends on the rib cage moving. When the external intercostals and diaphragm contract, the chest gets larger and air flows into the lungs. Breathing in is therefore an active process, while breathing out during quiet breathing is mostly passive. The rib cage moves in two main patterns. The pump-handle movement lifts the front of the upper sternum and increases the front-to-back size of the chest. The bucket-handle movement lifts the middle ribs outward and increases the side-to-side size.
Bone marrow in the ribs and sternum is a site of blood formation. In adults, the red marrow in these bones makes red blood cells, white blood cells and platelets. The ribs and sternum also store calcium and phosphate in their bone matrix, which the body can draw on when needed.
How the rib cage grows
The rib cage develops in the early embryo from mesoderm. Cartilage models of the ribs and sternum form first and then turn into bone through a process called ossification. Each rib forms a primary ossification center in its shaft before birth. Secondary centers appear at the rib head and tubercle later in childhood and adolescence, and these ends fuse to the shaft in the late teens or twenties.
The sternum forms from paired cartilage bars that meet in the midline of the chest. Several ossification centers appear in the sternum after birth. The sternal segments fuse with one another during childhood and adolescence, while the manubrium often stays separate from the body for life. The xiphoid process may remain partly cartilage for many years.
In children, the costal cartilages are soft and flexible, so the chest wall is more pliable. As the years pass, the costal cartilages gradually calcify, which means calcium salts are deposited in them. This makes the rib cage stiffer with age, and it is one reason the chest moves a little less freely in older adults.
Growth in the bones of the rib cage ends in young adulthood, when the growth plates close. After this point the rib cage keeps its adult size, although bone density and the stiffness of the cartilage continue to change with age.
Facts and comparisons
Adults normally have 24 ribs, arranged in 12 pairs, and one sternum. A small number of people have an extra rib attached to the seventh cervical vertebra in the neck. This is called a cervical rib, and it is usually an anatomical variation that causes no problems.
The thoracic vertebrae are the only vertebrae that carry rib facets, which is why the rib cage attaches only to the mid-back.
The number of ribs varies widely between mammals. Horses have 18 pairs of ribs, and dogs have 13 pairs. Snakes have many more pairs, each attached to a long spine.
The rib cage is also a useful landmark for locating organs. The heart is often described in relation to the sternum and the lower ribs, and the lungs sit behind the cage. Related pages include the heart and the lungs, which lie inside the rib cage.
Rib cage: more questions and guides
- ListBody Parts That Start With R: Ribs, Retina, Radius and More
- ListBody Parts That Start With S: Skull, Spine, Stomach and More
- QuestionHow Many Ribs Do Humans Have? Do Men and Women Differ?
- QuestionWhat Does the Rib Cage Protect? Organs Inside the Rib Cage
- QuestionWhere Is the Spleen Located? Position and Size of the Spleen
Frequently asked questions
How many ribs does a human have?
Adults usually have 24 ribs, arranged in 12 pairs. Each pair attaches to one of the 12 thoracic vertebrae at the back, and the upper ten pairs connect toward the front of the chest.
What is the difference between true and false ribs?
The first seven pairs are called true ribs because each joins the sternum directly through its own costal cartilage. Pairs 8 to 10 are false ribs, which join the cartilage above them, and pairs 11 and 12 are floating ribs, which have no front attachment.
What is the sternum?
The sternum, or breastbone, is a flat bone in the centre of the chest. It has three parts: the manubrium at the top, the body in the middle and the xiphoid process at the bottom.
How does the rib cage help us breathe?
The muscles between the ribs and the diaphragm lift and widen the rib cage, which increases the space in the chest and lets air flow into the lungs. When these muscles relax, the chest gets smaller and air flows out.
Do children's ribs differ from adult ribs?
Yes. A child's costal cartilages are more flexible, so the rib cage bends more easily. The cartilages gradually calcify with age, which makes the adult rib cage stiffer.
Do all mammals have 12 pairs of ribs?
No. The number varies between species. Horses have 18 pairs of ribs and dogs have 13 pairs, while snakes have many more pairs attached to a long spine.
Sources and further reading
- Gray's Anatomy (Susan Standring, ed.)
- OpenStax, "Anatomy and Physiology 2e"
- Kenhub, "Ribs"
Cite this page
“Rib Cage: Anatomy of the Ribs, Sternum and Thoracic Cage.” Body Atlas, https://body.bigworldlist.com/anatomy/rib-cage/.