
A whale shark is a fish and a whale is a mammal: the whale shark breathes through gills, drives itself with a vertical tail swept side to side and is born from eggs that hatch inside its mother, while a whale breathes air, beats horizontal flukes up and down and feeds its calf on milk.
What they share is a diet and a scale. The whale shark and the baleen whales are both giant filter feeders that strain plankton and small fish from the water, and both are among the largest animals alive. Their resemblance is convergent evolution, not kinship: their lineages split more than 400 million years ago.
- Whale shark, longest measuredAbout 12.65 m
- Blue whale, typical maximumAbout 30 m
- Embryos in one whale shark304 (Taiwan, 1995)
On this page
A fish and a mammal that ended up the same size
The whale shark, Rhincodon typus, is a carpet shark — the same order as nurse sharks and wobbegongs — that grew very large. Its skeleton is cartilage, its skin is covered in placoid scales, and it is cold-blooded in the strict sense: its body sits close to the temperature of the water. The longest individual measured with a tape is about 12.65 m; larger figures exist but come from estimates rather than measurements.
Whales are cetaceans, mammals whose ancestors walked on land around 50 million years ago. They have bony skeletons, hair at some stage of life, lungs, a four-chambered heart and a warm body held near 37 °C by metabolism and a blanket of blubber. The blue whale, at around 30 m, is the largest animal known to have lived; a humpback reaches roughly the length of a big whale shark but weighs considerably more.
The name is purely about size. Nobody has ever thought the whale shark was a whale, and the question are sharks mammals has a flat answer: no shark is. The two groups last shared an ancestor among the early jawed vertebrates, before the split between cartilaginous fishes and the bony fishes that eventually gave rise to everything with four limbs, whales included.
Gills against lungs: how each one breathes
A whale shark never needs the surface. Water enters through its mouth, crosses the gill filaments behind five pairs of tall gill slits, and leaves carrying away carbon dioxide while oxygen passes into the blood. Feeding and breathing use the same flow, so a whale shark straining plankton is also ventilating its gills. Tagged animals dive far below the light — one was logged at 1,928 m — and return on their own schedule rather than for air. The mechanics are covered in how sharks breathe.
A whale breathes air through a blowhole on top of its head, which is a nostril that migrated backwards over evolutionary time. Baleen whales have two blowholes side by side; toothed whales have one. Every dive is a single held breath, and the length of that breath varies enormously: rorquals feeding on krill usually surface within minutes, while a Cuvier's beaked whale tracked off North Carolina, in a study published in 2020, stayed down for 3 hours 42 minutes. The visible spout is mostly condensed vapour and sea spray blasted out as the whale exhales.
The practical difference is that a whale can drown and a whale shark cannot. A whale trapped underwater in a net or rope suffocates; a whale shark in the same net survives as long as water keeps crossing its gills.
Upright tail, flat flukes
The quickest way to tell them apart at a distance is the tail. A whale shark's caudal fin stands vertically, like that of any fish, and the animal swims by sweeping it from side to side, with the body flexing in waves along its length. The upper lobe is larger than the lower, the standard shark arrangement described in shark fins explained, and the spinal column runs into that upper lobe.
Whale flukes lie horizontally and move up and down. The fluke blades contain no bone — they are dense connective tissue, with the backbone running only into their centre — and the power comes from massive muscles along the back and belly bending the spine vertically. That up-and-down motion is inherited from land mammals, whose backbones flex in the vertical plane when they run; the ancestors of whales kept that movement when they returned to the sea instead of reinventing the sideways swing of a fish.
The other fins follow the same split. The whale shark's pectoral fins are stiff hydrofoils supported by cartilage rays. A whale's flippers are forelimbs: inside each one are an upper arm bone, forearm bones and finger bones, a skeleton you could match bone for bone with a human hand. Dorsal fins exist in both but have different origins, and many whales lack one entirely.

Eggs inside the mother against a placenta and milk
Whale shark reproduction was guesswork until 1995, when a pregnant female caught off eastern Taiwan was found to contain 304 embryos at different stages, from young still in their egg cases to free-swimming near-term pups of up to about 64 cm. That single animal established that the species is aplacental viviparous: eggs are fertilised and hatch inside the uterus, and the young are born live and fully independent. The spread of developmental stages suggested that a female may store sperm and release litters over time. Nothing is known of whale shark mating in the wild, and no parental care follows birth. The broader pattern is explained under viviparous sharks.
Whales do almost the opposite. A female carries one calf at a time, nourished through a placenta for roughly a year in most large species, and gives birth tail first underwater. The calf is then nursed on fat-rich milk for months, and in many species stays with its mother through at least one full migration.
The arithmetic follows from that difference. A whale shark mother might produce hundreds of pups in a litter, almost all of which will die young; a whale invests years in a handful of calves over a lifetime. Both strategies make the species slow to recover once adults are removed, which is why the whale shark is listed as Endangered by the IUCN.
The one thing they really share: filter feeding
Here the two converge. A whale shark feeds by opening a mouth up to about 1.5 m wide and either swimming forward through a plankton patch or hanging vertically and gulping, sucking in water with force. Behind the gills sit spongy filter pads that hold back particles of around a millimetre while the water escapes. Its 3,000 or so tiny teeth play no part. It eats krill, copepods, crab larvae, fish eggs and small schooling fish, and gathers in predictable numbers where spawning events produce a glut, such as Ningaloo Reef in Western Australia and the Yucatán coast of Mexico.
Baleen whales use plates of baleen, made of keratin like our fingernails, hanging from the upper jaw. Rorquals such as humpback and blue whales lunge into a swarm, inflate a pleated throat with a huge mouthful of water, then push it out through the baleen. Right and bowhead whales skim slowly with their mouths open. Toothed whales — dolphins, orcas, sperm whales, which make up most of the roughly 90 cetacean species — do not filter at all.
Only three sharks filter feed: the whale shark, the basking shark and the megamouth shark, each from a different lineage. That the same solution appeared independently in sharks, whales and the giant rays says plankton is a food supply worth growing enormous for. Our page on filter feeders compares them, and sharks and whales covers how the two groups meet at sea, from great whites scavenging carcasses to orcas hunting sharks.
Frequently asked questions
Is a whale shark a whale or a shark?
A shark. The whale shark is a cartilaginous fish in the carpet shark order, related to nurse sharks and wobbegongs. It breathes with gills, has a vertical tail and does not produce milk. The word whale in its name refers only to its size, since it is the largest living fish, reliably measured to about 12.65 m.
Which is bigger, a whale shark or a blue whale?
The blue whale, by a wide margin. Blue whales reach around 30 m and are far heavier than any fish. The longest whale shark measured with a tape is about 12.65 m, with larger estimates that have not been confirmed. A big whale shark is closer in length to a humpback whale, though the humpback is much bulkier.
Do whale sharks need to come up for air?
No. A whale shark breathes water through its gills, so it can stay submerged indefinitely and has been tracked diving below 1,900 m. When it feeds at the surface it is following plankton, not breathing. Whales are the opposite: every one of them breathes air through a blowhole and must surface between dives.
How do whale sharks have babies compared with whales?
Whale shark eggs hatch inside the mother and the pups are born live and independent; one female off Taiwan carried 304 embryos. There is no placenta, no milk and no care after birth. Whales carry a single calf on a placenta for about a year, then nurse it with milk for months while it travels with its mother.
Do whale sharks and baleen whales eat the same food?
Largely yes. Both filter krill, copepods, other plankton and small schooling fish, and both gather where food is concentrated. The equipment differs: whale sharks strain water through spongy filter pads behind the gills, while baleen whales push water out through keratin baleen plates hanging from the upper jaw.
Why does a whale's tail move up and down and a shark's side to side?
Because of ancestry. Sharks swim the way fish always have, bending the body sideways and sweeping a vertical tail. Whales descend from land mammals whose spines flex up and down when they run, and they kept that motion when they returned to the sea, so their horizontal flukes beat vertically.
Is the whale shark warm-blooded like a whale?
No. Whales hold a core temperature near 37 degrees Celsius using metabolism and blubber. The whale shark is cold-blooded: its body follows the water temperature, but its enormous mass changes temperature so slowly that a deep dive into cold water barely cools its core before it returns to the warmer surface.
References

A small team focused on researching sharks and making marine biology easy to understand. Every page is reviewed against current species records and the SharkSider attack database, and updated when new incidents or research appear.
Published October 25, 2026 · Last updated October 25, 2026 · Filed under Cool Shark Facts.






