How many people live within 5 km of an address, and how to count them
Add up the residents of small population hexagons inside a 5 km circle around any address, with men, women and nine age groups, in the countries that have the data.
Part of the guide Location intelligence automation
To work out how many people live within 5 km of an address, turn the address into a position, draw a 5 km circle around it, and add up the residents of the small population cells inside. In xMap Flows the Demographics block does the adding: choose a point, set Within to 5 km, and it returns the total with men, women and nine age groups. The figures exist only in some countries, among them France, Canada, India, Thailand, Egypt and Australia. The United Kingdom and the United States are not covered.
People ask this for all sorts of reasons: a grant application that needs a catchment figure, a landlord's claim to check, a clinic business plan, a bank's branch review. The steps are the same, but the answer is only useful if you know what the circle includes, so this page covers that as well.
What a 5 km circle really covers
A circle with a 5 km radius covers about 78.5 square kilometres (3.14 x 5 x 5). The population grid behind the block is made of hexagons of about 0.1 square kilometres each, so one such circle takes in somewhere near 785 of them. Counting at that fine grain is what makes the result better than taking a district's total and guessing what share falls inside your line.
Two things follow from the geometry. First, area grows with the square of the distance, so 5 km holds 25 times the land of 1 km. Second, most of a circle's area lies toward its edge: the outer ring from 3 km to 5 km accounts for 64% of it. A headline figure is therefore dominated by people who live furthest from your address, and they may be the least likely to come.
Count it step by step
- Open a new flow and start it with a Schedule. Add Area of interest only if you want to search a named place instead of a typed position.
- Add Demographics. Set Where to A point and enter the latitude and longitude of the address, or feed in your own places so each gets its own count.
- Set Within to 5 km. The choices run from 500 m to 8 km, the largest circle a single search covers.
- Leave Give back on Totals for each area for one line of results, or choose Every hexagon to draw a heat map.
- Press Run once and read the result.
For a list of addresses, put them in a table in My data and place Demographics after it on Each incoming place. Every row keeps its own columns and gains the population fields, which makes a side-by-side comparison a matter of sorting one column.
What comes back
| Field | What it tells you |
|---|---|
| population | Everyone living within the distance chosen |
| population_male, population_female, male_pct | Men, women and the share of men |
| age_0_9 up to age_80_plus | Residents in nine age groups |
| children_0_19, adults_20_59, seniors_60_plus | The same people in three broader groups |
| children_pct, seniors_pct | Those groups as shares of the total |
| area_km2, people_per_km2 | The size of the area and how densely it is lived in |
| population_within_km | The distance used, in km |
Fields the Demographics block adds to each place.
Density is often the most revealing line. Two sites can show a similar total while one has its residents packed close around it and the other has them scattered across suburbs at the circle's rim.
An example with invented figures
Suppose a physiotherapy practice in Lyon is deciding between two premises and wants the residents within 5 km of each. The numbers below are made up to show how you would read them.
| Made-up result | Premises A | Premises B |
|---|---|---|
| Residents within 5 km | 412,000 | 356,000 |
| Residents within 1 km | 19,000 | 31,000 |
| Aged 60 and over | 21% | 27% |
| People per square km (5 km circle) | 5,250 | 4,535 |
An invented example for illustration, not measured figures for Lyon.
A looks stronger at first glance, since it has more people in the big circle. Yet B has far more within 1 km and a larger share of older residents, the people a physiotherapist sees most and who are least keen on a long trip. Running the block twice, at 1 km and at 5 km, changed the decision.
When a circle is the wrong shape
A straight-line 5 km can cross a river with no bridge, a port or a rail yard. If the people on the far side would need half an hour to reach you, counting them inflates your market. Travel area draws what can be reached along real roads, by car, on foot or by bike, up to 15 minutes or 10 km by road. Place it before Demographics and the residents are added up inside that shape. Set it to a 5 km distance by road and you will usually get a smaller figure than the circle, and a more honest one.
Coastal addresses deserve special care: half the circle may be water, which is why a seaside site can look thin next to an inland one with no real difference in local demand.
What the number does not tell you
- It counts residents. People who work or shop there by day are not in it. For a commercial district, Mobility Footfall gives a separate measure of how busy an area is.
- It says nothing about income, religion, language or households. Only sex and age are given.
- It is an estimate. Treat a small-area total as a good approximation and do not quote it to the last digit.
- Coverage varies. About 100 countries have data, and a place with none will not get a figure. Test one address in your country before building a plan on it.
Keep the figure current for many sites
If you report on a network of branches, clinics or schools, an AI employee can do this for all of them. In xMap Flows, a Schedule, your sites from My data, Demographics at 5 km and a Sort block make a ranked table, and xMap LLM can add a sentence about each site before Email delivers it. The template who lives around new places shows the pattern on newly opened businesses. This kind of count is one of the simplest jobs in location intelligence automation, and also one of the most reused.
Questions
Which countries have population figures within a radius?
About 100 countries have data, among them France, Canada, India, Thailand, Egypt and Australia. The United Kingdom and the United States are not covered.
What is the largest radius I can use?
One search covers up to 8 km. A bigger area can be set through an Area of interest, which is searched in parts.
Can I see the age breakdown within 5 km?
Yes. Each result carries nine age groups from 0 to 9 up to 80 and over, plus children, adults and seniors with their shares.
Is 5 km by road the same as a 5 km radius?
No. A radius is a straight line, while a road distance follows the streets, so it usually reaches fewer people. Use Travel area when barriers such as rivers matter.
Templates that do this
Read next
More on population and demographics · Every article · Templates