The tool looks at the Earth's spin and gravitational effects to predict how water will be "redistributed" globally.
"This provides, for each city, a picture of which glaciers, ice sheets, and ice caps are of specific importance," researchers said.
"As cities and countries attempt to build plans to mitigate flooding, they have to be thinking about 100 years in the future and they want to assess risk in the same way that insurance companies do," said Erik Ivins, senior scientist at NASA's Jet Propulsion Laboratory in the US.
These include gravity, "push-pull influence" of ice, and the rotation of the planet itself.
More From This Section
"We can compute the exact sensitivity - for a specific town - of a sea level to every ice mass in the world," said Eric Larour told 'BBC News'.
The tool provided a way for governments to work out which ice sheets they should be most worried about.
It suggests that in London sea-level rise could be significantly affected by changes in the north-western part of the Greenland ice sheet.