Life is no beach for tidal creatures that must migrate in sync with the waterline.

Imagine trying to gauge the tides that sweep through a Kenyan mangrove forest: how far the water rises up a given tree depends on the season, the phase of the moon, and the tree's position. Yet a pinkie-toe-size snail, Cerithidea decollata, seems to predict the height of the incoming tide. It ascends a trunk just high enough to escape inundation, then descends when it's safe to forage in the mud below.

To find out how, Marco Vannini of the University of Florence and colleagues observed the snails on plastic pipes — imitation mangrove trunks — that they stuck into the mud.

The scientists tried obscuring any chemical markers left behind by the tide line or the snails themselves, and still, the snails climbed to the right height. Nor do the predictive gastropods seem to be using visual cues from overhead foliage. They aren't even counting the "steps" they must creep to beat the tide: when the scientists tilted the pipes, the snails readily climbed the extra length.

When lead weights were glued to the snails' shells, however, they adjusted their ascents; the heavier the weight, the shorter the climb. So it seems that the snails' are sensitive to their own energy output. Perhaps, Vannini suggests, they actually perceive the variations in gravity that drive the tides: before a low tide, the snails feel heavier and therefore don't climb very high.

The research was detailed in the journal Animal Behaviour.