32 Animals That Can Count in Remarkable Ways

32 Animals That Can Count in Remarkable Ways

A chimpanzee named Ayumu once beat college students at a memory game involving numbers flashed on a screen for a fraction of a second. He wasn’t guessing. Somewhere behind those dark eyes, a brain was doing something with quantity that looks uncomfortably close to what you do when you glance at a parking lot and know it’s nearly full. For a long time, counting was supposed to be ours alone. The animals below never got that memo. Bees weigh nothing and understand zero, ants keep a step tally, and lions do math before a fight. Here’s the evidence, and how we got it.

Please note that some of the images in this article were created with the assistance of AI.

32. Honeybees Understand the Concept of Zero

Honeybees Understand the Concept of Zero

Zero is a late invention in human history. Babies don’t grasp it, and many ancient civilizations never wrote it down. Yet a bee, with a brain the size of a sesame seed, seems to place “nothing” at the bottom of a number line.

In Australian experiments, bees were trained to fly toward the card with fewer dots. When later shown a card with some dots versus a totally blank card, they chose the blank one. They treated empty as a quantity, smaller than one. That’s not pattern-matching. It’s ranking nothing below something.

Did You Know: A honeybee brain has fewer than a million neurons. Yours has tens of billions. Understanding zero apparently doesn’t require much hardware, just the right wiring.

As a bee vision scientist puts it, “Zero is a difficult concept to understand and a mathematical skill that doesn’t come easily — it takes children a few years to learn”

31. African Grey Parrots Can Name Exact Quantities

African Grey Parrots Can Name Exact Quantities

Alex the African grey wasn’t just mimicking sounds. Shown a tray of mixed objects and asked “how many blue?”, he’d answer out loud with the right number up to six, filtering by color and material at the same time.

Toward the end of his life he did something nobody taught him. Asked repeatedly about quantities, he spontaneously used the word “none” when a quantity was absent. He had invented his own way of saying zero, in a lab, in English, as a bird. The psychologist who worked with him for thirty years called it one of the most startling moments of her career.

30. Domestic Chicks Add and Subtract Hidden Objects

Domestic Chicks Add and Subtract Hidden Objects

Day-old chicks, barely dry from the egg, can do arithmetic they were never trained to do.

Italian researchers imprinted chicks on small plastic balls, the way a chick bonds with its mother. Then, behind two screens, they moved balls back and forth while the chick watched — some vanishing behind one screen, some reappearing behind the other. The chicks walked toward whichever screen should hide more balls, tracking additions and subtractions they couldn’t see completed. These birds had never learned to count. The ability came installed.

Why It Works: The chicks keep a running mental tally of objects hidden from view, updating it as items move. Working memory plus simple arithmetic, running in a brain less than a day old. It suggests number sense is built in, not taught.

As a psychologist who studies chicks puts it, “They deal spontaneously with these kinds of numerosities”

29. Asian Elephants Identify Larger Quantities by Smell

Asian Elephants Identify Larger Quantities by Smell

Most counting experiments test sight. Elephants flipped the script by using their noses.

Researchers presented Asian elephants with two sealed buckets holding different amounts of sunflower seeds, with no visual cue at all. The elephants sniffed each one and then chose the bucket with more food. The bigger the gap between the two amounts, the more reliably they got it right. This is the first solid evidence of any animal judging quantity by smell alone. It makes sense for a creature that spends its day foraging by trunk, deciding which clump of vegetation is worth the walk.

28. Desert Ants Count Their Steps to Navigate Home

Desert Ants Count Their Steps to Navigate Home

A Saharan desert ant walks out from its nest across featureless sand, finds food, and marches straight home. No scent trail. No landmarks. So how does it know when to stop?

It counts its steps. A team in Germany proved it with a gloriously odd experiment. They glued tiny stilts onto some ants to lengthen their legs, and trimmed others down. The long-legged ants overshot the nest. The short-legged ones stopped short. Both walked the same number of strides, but each stride covered a different distance. The ant isn’t measuring distance — it’s keeping a step count, a biological pedometer, and that’s how it survives a place that would kill anything lost for an afternoon.

27. Cuttlefish Choose Prey Numbers Based on Future Hunger

Cuttlefish Choose Prey Numbers Based on Future Hunger

Cuttlefish do something stranger than counting. They factor in how hungry they expect to be.

Given a choice between one large shrimp and two small ones, cuttlefish in a Taiwanese study picked the number of prey that matched their appetite. Starved, they went for the pair. Freshly fed, they chose differently, as if weighing effort against reward. They could also reliably tell four prey from five, a fine distinction most animals botch. For a mollusk, a cousin of the snail, this is a quiet bombshell about what a complex eye and a complex brain can pull off.

By The Numbers: Cuttlefish can distinguish four items from five, a difference of just one. Human infants usually can’t make that call until well into their first year.

26. Lions Compare Their Pride’s Size With Intruder Groups

Lions Compare Their Pride's Size With Intruder Groups

In the Serengeti, researchers hid a speaker in the grass and played the roar of a strange lioness to a resident pride. Then they played three roars — three unknown lionesses.

A single lone intruder got approached boldly. The chorus of three made the pride hesitate, hang back, wait for reinforcements. They were doing the oldest math in the world: ours versus theirs. Outnumbered means retreat, even odds means caution, a clear advantage means attack. Lions size up a rival group by counting the voices in it, and they stake their lives on getting the sum right.

25. Laboratory Rats Count Sounds and Light Flashes

Laboratory Rats Count Sounds and Light Flashes

Here’s the part that surprised me most. Rats count across the senses.

Trained to respond to a specific number of sound bursts — say two versus four — rats could then apply that same number to flashes of light they’d never been tested on. The quantity transferred. The number “two” wasn’t tied to ears or eyes but held in mind as an abstract idea, independent of how it arrived.

Better still, they could count sound and light together and arrive at a combined total. That’s not reflex. That’s a rat doing the thing your brain does when you tally the honks and the brake lights in bad traffic without thinking about it.

24. Bottlenose Dolphins Understand Ordered Number Concepts

Bottlenose Dolphins Understand Ordered Number Concepts

Dolphins don’t just notice “more” and “less.” They seem to grasp order — the idea that numbers line up in a fixed sequence.

In quantity tasks, bottlenose dolphins reliably choose the smaller or larger array on demand, and their accuracy follows the same signature humans show: the closer two amounts are, the harder the call. That shared pattern hints at a number system built on the same ancient foundation. Now add echolocation, which lets them perceive the count and layout of a fish shoal in near-darkness, and you get an animal for whom quantity isn’t an abstraction at all. It’s survival, read in sound, every single day.

Pro Tip: Want to spot number sense in the wild yourself? Watch any foraging animal choose between two food patches. The decision isn’t random. It’s a rough calculation of which pile is bigger, playing out in real time.

23. Brown-Headed Cowbirds Keep Track of Eggs in Their Nests

Brown-Headed Cowbirds Keep Track of Eggs in Their Nests

Cowbirds never build a nest. They lay their eggs in someone else’s cup and leave, which sounds lazy until you do the math it actually requires. A female monitors host nests and times her move to the exact day the clutch is being laid — drop the egg too early and the host abandons it, too late and the foster chick hatches behind schedule.

Now the part nobody mentions. Experiments show cowbirds notice when a nest’s egg count fails to grow on schedule, a sign the host has caught on and started tossing intruder eggs. Some females return and destroy the whole clutch, a grim nudge to rebuild. Tracking whether a number went up or stayed put is quantity sense doing real, ruthless work.

Did You Know: A single female cowbird can parasitize dozens of nests in one breeding season, which is a lot of egg counts to keep straight.

22. Rhesus Macaques Perform Approximate Addition

Rhesus Macaques Perform Approximate Addition

Show a macaque one group of dots, hide it, then slip a second group behind a screen. When the screen drops to reveal a total, the monkey stares longer if the number is wrong. That extra staring is the tell — it expected a certain sum, and the world didn’t deliver.

They aren’t counting the way you balance a checkbook. This is approximate number sense, a rough estimate that gets fuzzier as totals climb. Four plus four lands somewhere near eight, close enough. Ask for exact precision and the system just shrugs. It’s the same ballpark arithmetic a toddler runs long before anyone hands them digits.

21. Pigeons Learn to Rank Pictures by Number

Pigeons Learn to Rank Pictures by Number

Pigeons sorted images into order of quantity, and that genuinely rattled some researchers. Trained to peck pictures containing one, two or three items in ascending order, they then handled brand-new numbers all the way up to nine without any fresh training. Low to high, every time.

Why does this matter? Ordering numbers was long filed under human-and-primate territory, and here’s a bird with a brain the size of your fingertip quietly solving it. The pigeons weren’t memorizing specific images either. They’d grasped the abstract rule — fewer comes before more — and applied it cold to pictures they’d never seen.

20. Túngara Frogs Count Notes in Competing Mating Calls

Túngara Frogs Count Notes in Competing Mating Calls

A male túngara frog opens with a whine, then tacks on a few short clucks called chucks. Females prefer more chucks. But here’s the twist that gives the counting away.

When a rival frog adds chucks, the first male answers by adding one more than his competitor — never matching, always escalating by a single note. To pull that off, he has to register how many chucks the other guy produced, then produce exactly one beyond it. Acoustic one-upmanship powered by a tally kept in real time, in the dark, over a chorus of croaking neighbors. Not bad for a frog.

Fun Fact: Those extra chucks attract females and fringe-lipped bats alike, so every added note is a gamble between getting a mate and getting eaten.

19. Carrion Crows Associate Numerals With Exact Quantities

Carrion Crows Associate Numerals With Exact Quantities

Crows did something birds weren’t supposed to do. Trained on the symbols one through four, they learned to match each numeral to the right number of items — a written four meant four dots, reliably, no dithering.

Then the brain recordings pushed it further. Individual neurons in the crow’s forebrain fired for specific quantities: a number-coding cell for two, another for three, tuned much like the number neurons buried in a primate cortex. Here’s the kicker. Crows and mammals split from a common ancestor hundreds of millions of years ago, their brains wandered off down completely different architectural roads, and both arrived at nearly the same counting machinery. Convergence you can watch in a single firing neuron.

As an animal physiology professor puts it, “Such semantic associations require not only memory function but also information about numerical quantity”

18. Orangutans Remember How Many Treats Were Hidden

Orangutans Remember How Many Treats Were Hidden

Hide grapes in two containers while an orangutan watches — more in one, fewer in the other — then cover both. Minutes later it goes straight for the bigger stash. No surprise there. The surprise is how stubbornly the memory holds up once you start messing with it.

Drop a few grapes from the larger pile mid-test and the ape updates its choice, switching to the box it now expects to hold more. So it isn’t merely recalling which container looked fuller a moment ago. It’s tracking amounts that changed after the fact, running a quiet total in its head while every grape stays out of sight.

17. Black Bears Select Groups Containing More Dots

Black Bears Select Groups Containing More Dots

Bears don’t run in big social groups, so nobody expected them to care one way or another about counting. Then three captive black bears learned to use a touchscreen and reliably picked the array with more dots to earn a snack.

The clever part was the control. Researchers sometimes shrank the correct group’s dots so total area stayed equal, stripping out the lazy shortcut of just grabbing the bigger blob. The bears kept choosing more items anyway. A solitary animal — no flock, no troop, nothing to tally socially — still carries a quantity sense wired into its skull. Numerical ability predates sociality, it seems, by a long way.

Why It Works: By equalizing surface area, the test forces the bear to judge count rather than size. If the animal still picks correctly, it’s genuinely responding to number, not just to the bigger patch of pixels.

As a psychology professor studying bears puts it, “I was surprised how quickly the bears took to responding on the computer because we were training animals that had never done any kind of experiments”

16. Kea Parrots Infer How Many Objects Remain Hidden

Kea Parrots Infer How Many Objects Remain Hidden

A kea named Blofeld reasoned about probability, and that’s not a sentence I ever expected to type. Shown jars with different ratios of rewarding to non-rewarding tokens, keas predicted which hidden token a researcher was likely holding, favoring the jar where good tokens outnumbered bad ones.

This goes well past pecking dots on a screen. The birds weighed proportions, factored in where a token sat in the jar, even read a human experimenter’s apparent bias. Blending quantity with likelihood is real statistical inference — the sort of thing we smugly assumed needed language. A mischievous mountain parrot does it between raids on car windshield wipers.

15. Archerfish Distinguish Arrays Containing Different Numbers

Archerfish Distinguish Arrays Containing Different Numbers

Archerfish hunt by spitting water to blast insects off overhanging leaves, which already demands precise aim and a working grasp of physics. Turns out they can do numbers too.

Trained to shoot at the display holding more dots, they picked the larger set reliably, even when researchers controlled for density and total area so the fish couldn’t cheat by targeting whichever panel just looked busier. A cold-blooded animal, no cortex at all, judging quantity through a water jet. Number sense isn’t a mammal privilege, or even a warm-blooded one. It reaches all the way down to a fish taking aim at a screen from beneath the surface.

Pro Tip: Next time someone insists animals can’t count, remember a fish with no neocortex passed a numerical test that controlled for every visual shortcut. The ability is old, and it’s everywhere.

14. Squirrel Monkeys Notice When Subtraction Goes Wrong

Squirrel Monkeys Notice When Subtraction Goes Wrong

Put a piece of fruit behind a screen, add another, then secretly remove one. A squirrel monkey will stare longer when the final count doesn’t match what it watched you do, and that extra attention is the tell. These tamarin-sized primates aren’t balancing a checkbook, but they hold a rough running total and notice when the arithmetic breaks.

What gets missed is how small the effect is. We’re talking a couple of extra seconds of looking, measured frame by frame on video. No applause, no trick — just a flicker of surprise that researchers have learned to read.

Did You Know: The “violation of expectation” method used here was borrowed from studies on human infants, who also stare longer when one toy mysteriously becomes two.

13. Mallard Ducklings Recognize Matching Quantities

Mallard Ducklings Recognize Matching Quantities

A duckling hours out of the egg can already match the number it was born beside. Imprint a hatchling on a pair of moving objects and it will later follow a new pair over a trio, even when those objects come in a totally different shape and color. Strip away size, spacing and form, and the number is what the duckling locks onto.

Nobody taught it. No reward, no training, nothing. The ability comes pre-installed and runs within the first day of life, which makes the mallard one of the youngest animals ever shown to handle abstract quantity.

12. Wood Ants Communicate Number-Like Directions to Nestmates

Wood Ants Communicate Number-Like Directions to Nestmates

Scout ants of certain Formica species face a maze of identical branches, find food at, say, the thirtieth branch, and head home. Back at the nest they make antenna contact with foragers, who then head out and search near the right branch even after researchers wipe away the scent trail.

Here’s the strange part. The more branches between home and food, the longer the contact between scout and forager took — the information transfer scaled with the number. Something close to counting was passing from one tiny brain to another through a few seconds of touch.

Fun Fact: These ants even seemed to shorten their “messages” when branches were spaced in a regular pattern, as if they’d found a numerical shortcut.

11. Zebra Finches Discriminate Different Numbers of Calls

Zebra Finches Discriminate Different Numbers of Calls

Train a zebra finch to expect, say, three notes in a sequence and it notices when the count changes. These birds parse the number of elements in a call string, not just the pitch or rhythm. And because sound arrives over time, the finch has to hold a tally as the calls land.

That matters. Number sense in a time-based signal is harder than counting dots on a card, because you can’t see all the items at once. The finch tracks them as they come, one by one, and reacts when the sum is off.

10. Orb-Weaving Spiders Track Prey Stored in Their Webs

Orb-Weaving Spiders Track Prey Stored in Their Webs

Some orb-weavers stockpile wrapped prey in a larder at the web’s hub. Remove a bundle and the spider searches. Remove several and it searches longer and harder — the effort scales with how much was taken, which means the spider holds some representation of its hoard.

Picture a brain the size of a poppy seed keeping a rough inventory. Not of smell, not of weight alone, but of amount. I find this one genuinely unsettling, in the best way. The animals we’d least expect to “count” are quietly keeping books.

9. Horses Match Small Quantities to Number Symbols

Horses Match Small Quantities to Number Symbols

Horses reliably pick the bigger of two small food piles, and some learn to link dots to symbols. Offer two apples versus three and the horse goes for three. What matters more than the total is the gap: two against five is easy, four against five is hard.

You see the same quirk across the animal world and in yourself. Your own number sense gets fuzzier as two quantities close in. A horse choosing carrots runs on the same rough machinery you use to eyeball a crowded parking lot.

Why It Works: Animals rely on an “approximate number system” that judges ratios, not exact counts. The further apart two amounts are, the easier the call. It’s why six versus twelve feels obvious and eleven versus twelve feels like a guess.

8. Guppies Choose Shoals by Number for Safety

Guppies Choose Shoals by Number for Safety

A lone guppy facing danger does the math on crowds. Given a choice between a small group and a larger one, it joins the bigger shoal, because more bodies mean better odds of not being the one the predator catches.

Guppies tell four from eight at a glance. Closer calls, like four from five, take more processing, and they manage it when the fish can watch the groups move. Safety in numbers isn’t a saying to a guppy. It’s a calculation made in a fraction of a second.

7. Octopuses Distinguish Different Numbers of Objects

Octopuses Distinguish Different Numbers of Objects

Octopuses prefer the plate with more food, same as the rest of us. Trained on choices between quantities, they reliably reach for the larger amount, telling two from three and wider spreads apart.

What makes this one worth a second look is the brain behind it. Two-thirds of an octopus’s neurons sit in its arms, not its head. However it’s handling quantity, it’s doing it with a nervous system wired nothing like ours — which hints that number sense evolved more than once, along completely separate roads.

The Psychology Behind This: That different animal lineages all land on ratio-based number judgment suggests the brain treats “how many” as a core survival sense, as fundamental as detecting light or motion.

6. Hens Use Ordinal Position to Find a Reward

Hens Use Ordinal Position to Find a Reward

Line up ten identical boxes and hide food in one. A hen can learn to go for, say, the fourth from the left, regardless of where the row starts. That’s ordinal sense: not how many, but which position in a sequence.

Ordinal and cardinal skills are different tricks, and the hen pulls off the harder-feeling one — counting along the line and stopping at the right spot. People tend to picture chickens as witless. People are wrong about that, and have been for a while.

5. Mealworm Beetles Use Quantity When Assessing Mates

Mealworm Beetles Use Quantity When Assessing Mates

Male mealworm beetles weigh their competition. Faced with the smell of many rival males, a male adjusts how much effort and ejaculate he invests, hedging against the odds of his sperm actually winning. More rivals, different strategy.

No chalkboard involved. This is quantity sense baked straight into reproduction, where miscounting carries a real cost in offspring. A beetle you’d find in a bag of chicken feed is running a numbers game with its own biology, and the stakes couldn’t be higher. Number sense isn’t a party trick. It’s survival, written small.

4. African Elephants Weigh Up How Many Lions Are Roaring in the Dark

African Elephants Weigh Up How Many Lions Are Roaring in the Dark

Play a recording of lions roaring to a wild elephant family and something quietly brilliant happens. The matriarch listens. Then she decides.

Researchers in Amboseli ran exactly this test, broadcasting the roars of either one lion or three. When three seemed to be calling, the matriarch bunched her family tight and braced to defend them, while a single lion barely rated a flicker of concern. She wasn’t just hearing the threat — she was counting it, and the oldest matriarchs read those numbers best. Decades of listening hardens into a life-or-death ledger.

That’s the part people miss. In elephant society the grandmother’s ears double as the family calculator, and losing her to poachers robs the whole herd of its math.

Did You Know: Male lions are far more dangerous to elephant calves than females, and matriarchs can tell a single male’s roar from a female’s. Quantity and identity, judged in the dark, in seconds.

As an animal behavior professor puts it, “Older elephants can act as repositories of information not just about the location of vital food and water supplies, but also about the relative dangers presented by predators”

3. Jumping Spiders Size Up the Bigger Dinner Pile

Jumping Spiders Size Up the Bigger Dinner Pile

A brain the size of a sesame seed should not be able to do this. Jumping spiders do it anyway.

Tested in the lab, several species reliably head for the larger clump of prey when shown two groups, grabbing more over less the way a shopper reaches for the fuller basket. Some even seem startled — they pause and recalculate when the number of targets secretly changes mid-hunt. That pause is the tell. Expectation got violated, so something in there was keeping a running tally.

These spiders hunt by stalking, not webs. Picking the richer patch isn’t a party trick; it’s the margin between a meal and a wasted ambush, and their eyesight rivals a pigeon’s for sharpness.

2. Cleaner Wrasse Pick the Plate With More on It

Cleaner Wrasse Pick the Plate With More on It

The fish that outsmarts the mirror test can also count its lunch. Cleaner wrasse already made headlines for recognizing their own reflection. Their number sense gets less press, but it’s every bit as sharp.

Offered two options holding different amounts of food, these reef workers learn to swim toward the larger quantity — and they can be trained to apply that rule to brand-new numbers they’ve never seen paired before. For a fish whose whole career is servicing hundreds of clients a day, tracking more versus less is just good business.

Why It Works: Cleaner wrasse live in a transactional world. They remember which clients cheat, which wait their turn, and roughly how much each visit is worth. A brain built for bookkeeping handles quantity as a side effect of survival.

1. Black-Billed Magpies Notice When One Item Goes Missing

Black-Billed Magpies Notice When One Item Goes Missing

Corvids notice when the world stops adding up. Show a magpie a small set of items, hide them briefly, then quietly remove one, and the bird reacts to the shortfall.

That sensitivity to tiny changes — one becoming none, three becoming two — is the bedrock of genuine quantity tracking. Magpies cache thousands of food items across a season and recover them later, which means remembering not just where each stash sits but roughly how much is waiting there. A missing peanut registers as a bookkeeping error they can feel.

I’ll admit I underestimated these birds for years, filing them under noisy backyard nuisance. The whole time, the magpie was running an inventory.

Fun Fact: Black-billed magpies are among the few non-human animals observed holding what look like funeral gatherings around a dead flockmate. The same brain that mourns also keeps a tally.