It had been thought that Andromeda was two to three times the size of the Milky Way, and that our own galaxy would ultimately be engulfed by our supposedly bigger neighbour, researchers said.
However, the latest research evens the score between the two galaxies. The study found the weight of the Andromeda is 800 billion times heavier than the Sun, on par with the Milky Way.
The study used a new technique to measure the speed required to escape a galaxy.
"It's really exciting that we've been able to come up with a new method and suddenly 50 years of collective understanding of the local group has been turned on its head," Kafle said.
More From This Section
According to Geraint Lewis, astrophysicist at University of Sydney, it was exciting to be at a time when the data was getting so good.
"We can put this gravitational arms race to rest," Lewis said.
The research suggests scientists previously overestimated the amount of dark matter in the Andromeda galaxy, he said.
"By examining the orbits of high speed stars, we discovered that this galaxy has far less dark matter than previously thought, and only a third of that uncovered in previous observations," Kafle said.
The Milky Way and Andromeda are two giant spiral galaxies in our local universe, and light takes a cosmologically tiny two million years to get between them.
Kafle used a similar technique to revise down the weight of the Milky Way in 2014, and said the latest finding had big implications for our understanding of our nearest galactic neighbours.
"It completely transforms our understanding of the local group," he said.