Many of the survivors are, quite literally, living on the edge. About 70 percent of the world’s remaining forests lie within a kilometer of an edge, and about half lie within 500 meters. And in a new and unprecedentedly detailed study, a team of scientists led by Marion Pfeifer at Newcastle University has shown that 85 percent of forest animals are affected by the presence of an edge. Some benefit, others suffer. Either way, the results show that humans, by fragmenting forests, have radically restructured them—and that the edge of a forest is almost a completely different world than its core.

Many researchers have tried to assess edge effects in simple ways, such as measuring how the abundance of a species changes as it gets closer to an edge. This ignores the fact that a patch of forest might be within reach of many edges, each of which compounds the hazards of the others. It also treats land simplistically, as if it’s either forest or nonforest; in reality, the land surrounding a group of trees can vary a lot in its usefulness and attractiveness to local species.

To improve on these methods, Pfeifer’s colleague Véronique Lefebvre from Imperial College London developed two new metrics for making sense of fragmented landscapes. The first—edge influence—reflects the variations in tree cover around a given point; roughly speaking, it tells you how “edgy” a particular bit of forest is. The second metric—edge sensitivity—reflects how edgy a habitat has to get before a species avoids it. They then calculated edge sensitivities for 1,673 vertebrate animals around the world. “The study sets a new standard of how edges should be measured,” says Nick Haddad from Michigan State University, who was not involved in the work.

They found that around 39 percent of these species steer clear of edges while 46 percent seem to gravitate toward them. This doesn’t mean that edges are a net good, though. The edge-seeking animals are more likely to be generalists or invasive species, such as green iguanas and boa constrictors. By contrast, the species that stick to the forest core, such as the Sunda pangolin and Baird’s tapir, are almost four times as likely to be on the endangered list. They’re the creatures most at risk of extinction, and their shrinking habitat is even smaller than it first seemed. There’s a lot of them too. About 57 percent of mammals decline in number as you get closer to edges, as do 41 percent of birds, 30 percent of amphibians, and 11 percent of reptiles.

“Edge effects have long been studied but not with the level of detail in this study,” says Isabel Rosa from the German Centre for Integrative Biodiversity Research. “It highlights the importance of considering not only the habitat amount that is available for the species, but also its quality.”

For example, the team’s calculations show that forest-core species only thrive at least 200 to 400 meters away from an edge. To a long-billed black cockatoo, a circular clump of trees that’s 800 meters in diameter is not 200 hectares of inviting greenery—it’s nothing. To a Sunda pangolin, a strip of forest that’s extremely long but just 800 meters wide might as well be no forest at all. “We need to manage patches in a way that maximizes the forest core,” Pfeifer says. Her team has developed a freely available tool called BioFrag to help them, by calculating the edginess of their forests and the edge sensitivities of the local animals.