HomeArticlesAnimal Behaviour

How Do Bees Navigate? The Waggle Dance Explained

A honeybee finds flowers up to 5 km away and returns to tell hivemates exactly where they are — direction, distance, and quality — by dancing.

mysimulator teamUpdated July 2026≈ 6 min read▶ Open the simulation

The bee's built-in compass

Bees navigate using the Sun as a compass. They can detect the Sun's position even on cloudy days by sensing the polarisation pattern of light in the sky — a direction invisible to human eyes. They also have an internal clock calibrated to how the Sun moves across the sky, so a bee that leaves the hive at 9am and returns an hour later automatically corrects its bearing for the Sun's new position. Bees can also sense the Earth's magnetic field through magnetite crystals in their abdomens, which helps them hold a course over long distances even under a fully overcast sky.

The waggle dance

When a scout bee returns from a good food source, she performs a waggle dance on the vertical surface of the honeycomb: a central waggling run, a loop left, the run again, a loop right — repeated many times in a figure-of-eight. That dance encodes a complete map to the flower. The angle of the waggling run tells direction relative to the Sun — straight up means fly towards the Sun. The duration of the run tells distance, at roughly one second of waggling per kilometre. The enthusiasm of the dance tells food quality, and the scent on the dancer's body tells followers exactly which flower species to look for. This was discovered by Austrian biologist Karl von Frisch, who won the Nobel Prize in 1973 for decoding the language of bees.

live demo · bees foraging and dancing around the hive● LIVE

Decoding the dance

Direction = angle of waggling run, measured from vertical
Distance  ≈ duration of waggling run × ~750 m / second

The elegant trick is that the hive walls are vertical, but the dance translates the Sun's horizontal position into a vertical angle: if the food is directly towards the Sun, the bee dances straight up; if it is 60° to the right of the Sun, she dances 60° clockwise from vertical. Other bees follow the dancer, touching her with their antennae to feel the vibrations and air movement, and can "download" the full set of navigation instructions after just a few repetitions.

Ultraviolet vision and swarm democracy

Bee eyes are sensitive to green, blue, and ultraviolet light but not red — many flowers reflect elaborate UV patterns invisible to us, acting as runway markings straight to the nectar. And when a colony outgrows its home, it makes a genuinely democratic decision with no leader at all: scout bees dance for candidate nest sites, dancing longer for better ones, until roughly 15 scouts reach a quorum on the same site and the whole swarm — sometimes 10,000 bees — takes off together, occasionally flying up to 5 km to their new home.

Frequently asked questions

How do bees know which direction to fly, even under cloud cover?

Bees use the Sun as a compass and can detect its position even on cloudy days by sensing the polarisation pattern of light in the sky, invisible to human eyes. An internal clock calibrated to the Sun's movement lets them correct their bearing over time. They can also sense the Earth's magnetic field through magnetite crystals in their abdomens, which helps them hold a course under fully overcast skies.

What does the waggle dance actually communicate?

A scout bee dances a figure-of-eight on the vertical honeycomb. The angle of the waggling run relative to straight up encodes direction relative to the Sun; the duration of the run encodes distance, at roughly one second per kilometre; and the enthusiasm and repetition of the dance encodes the quality of the food source. The dancer also carries the scent of the flowers, so followers know exactly what to look for.

How does a swarm decide on a new nest site with no leader?

Scout bees each dance for a candidate site, dancing longer and more energetically for better sites. Other scouts visit the advertised sites and dance for their own favourites. Over hours, competing dances converge as bees stop advertising poor sites, and once roughly 15 scouts agree — a quorum — the whole swarm takes off together, sometimes flying up to 5 km to the chosen site.

Try it live

Everything above runs in your browser — open Beehive and watch bees find flowers, carry nectar home, and perform their waggle dance and pheromone trails. Nothing is installed, nothing is uploaded.

▶ Open Beehive simulation

What did you find?

Add reproduction steps (optional)