Tally calculates an estimate of the number of people who live inside an area you choose: a shape you draw, a circle around a point, a whole country, or the shapes and points in your own files.
These population estimates are based on models and projections, not census counts. They are useful for approximating a population in an area. The estimates are less reliable near coasts, borders, and where populations have grown rapidly.
Do not use these estimates for safety or legal decisions.
This app makes no determination or claims concerning disputed borders or territories.
This translation is a first draft, not yet checked by a native speaker, and may have mistakes. Corrections are welcome on GitHub.
Most figures come from Meta's population maps, which spread each country's census over the buildings seen in satellite images, in squares about 30 meters across. For 38 places Meta leaves out, including China, Russia, Pakistan and Canada, Tally uses WorldPop's maps, in squares about 100 meters across. A country's count says which it uses. Most figures describe 2018 to 2020.
Tally adds those squares up into hexagons, and counts the hexagons whose center is inside your area. Fine hexagons follow its edge more closely.
Country outlines come from geoBoundaries. Where two neighbors' outlines overlap, the overlap is split along the border of geoBoundaries' world map, so no one is counted in both countries. Where both countries' maps hold only their own people, as WorldPop's do, there is no one to split: both keep the overlap.
Each hexagon holds a whole number of people. Where people live thinly, each person is placed in the likeliest hexagon nearby rather than split into fractions.
Point at a hexagon on the map, or tap it on a touch screen, to see how many people live in that hexagon alone. Its color shows how densely they live there.
The Files tab counts many areas at once. Press Open files, or drop files anywhere on the page. Several files make one list, up to 500 rows and 64 MB in all.
It reads GeoJSON, KML, KMZ, zipped Shapefiles and CSV, with coordinates in latitude and longitude. A CSV needs latitude and longitude columns, and can add name and radius_km (or radius_mi) columns. Points with no radius use the one you set in the tab.
Each shape or point gets a row with its count, and the list adds them up. People in shapes that overlap count once for each shape. Pick a row, in the list or on the map, to see its hexagons. A row that cannot be counted stays in the list and says why.
To come back to a shape or circle later, save it with GeoJSON under its count, then open that file: it returns with the same count, and a circle is still a circle. Save all keeps the whole list, but only its GeoJSON keeps shapes; its CSV keeps points.
Everything is counted here, in your browser. The shapes you draw, the files you open and their counts are never sent anywhere. The site counts page visits, without cookies.
Population data comes by country. A country saves itself the first time you count there. Save more below while you are online and you can count in them with no connection at all, though the background map shows only places you have viewed recently. Remove a country to free the space.
Installing puts Tally on your desktop or home screen. It opens in its own window and starts without an internet connection. It installs the app only: population data is saved country by country, above.
Your browser installs apps from its own menu: in Safari, File › Add to Dock on a Mac or Share › Add to Home Screen on an iPhone or iPad. Chrome and Edge show an Install button here. Firefox cannot install web apps.