Studies
How to count competitors in a trade area
Export one category with latitude and longitude, then count competitors inside a radius and work out density per square kilometer using a haversine formula.
By Map Business Data Reviewed
- Coordinate columns in the export: Latitude and Longitude
- 2
- Fields you can choose from when you export
- 25
- Days in which a business exported again costs no credit
- 30
What do you need to count competitors around a site?
You need one export and one formula. The export is a single competitor category for the county or city around the site, with the Latitude and Longitude columns kept. The formula is the haversine distance, which turns two pairs of coordinates into a distance. A spreadsheet then counts the rows within your radius.
The result is a count of listings in Map Business Data inside a circle, not a count of every business that exists there. How we count explains the unit. For market-wide sizing across a whole country or territory, use the market sizing guide instead; this guide is about a ring of a few kilometers.
How do you export a competitor list with coordinates?
Narrowing below a country needs a paid plan. Searching and previewing are free and use no credits, so check the count before you export.
Pick the competitor category and the territory
Choose one category and the country, then admin level 1, admin level 2 or locality so the territory is bigger than your radius. A trade area of a few kilometers around a site in a county needs the county, not just the city. The state, county and city guide shows the selectors.
Choose the columns
Open the column list and keep Business name, Address, Latitude, Longitude and Google Maps URL. Add Rating and Review count if you want to weigh competitors by strength. Latitude and Longitude sit in the Geography group.
Export every row and download the file
Leave All rows checked so no competitor is cut off by a row limit. Use CSV or Excel, since you are going to work in a spreadsheet. One credit covers each business newly included, and a business you exported again within thirty days is free.
Clean the sheet before you measure
Delete rows with an empty Latitude or Longitude, because a blank cell reads as zero and puts that business far away. Check that both columns are numbers, not text. If the site itself is a listed business, remove its own row so it doesn't count as its own competitor.
What is the exact haversine formula for Excel and Google Sheets?
Haversine gives the great-circle distance between two points on a sphere. It needs one outside number, the Earth's mean radius, which NASA lists as 6371 km. The formula is exact for a sphere, which is the usual choice for counting inside a ring of a few kilometers.
Define four named cells so the formulas stay readable: SiteLat and SiteLon hold the coordinates of the site, in decimal degrees (south and west are negative), and Radius holds the distance you care about in kilometers. Then, with Latitude in column J and Longitude in column K of the first data row, put this in a new column on row 2 and fill it down:
=2*6371*ASIN(SQRT(SIN(RADIANS(J2-SiteLat)/2)^2+COS(RADIANS(SiteLat))*COS(RADIANS(J2))*SIN(RADIANS(K2-SiteLon)/2)^2))
Use your own column letters. Name the new column Distance km. To work in miles, wrap the formula in CONVERT with the units "km" and "mi"; both Excel and Google Sheets support it.
| Name | What it holds | Where it comes from |
|---|---|---|
| SiteLat, SiteLon | Latitude and longitude of the site | A map of your choice, or the site's own row in the export |
| Radius | Trade-area radius in kilometers | Your decision, for example 1, 3 or 5 |
| Distance | The Distance km column | The formula above |
| Lat, Lon | The Latitude and Longitude columns | The export |
| MinReviews | Smallest Review count that makes a competitor count | Your decision, optional |
How do you count the competitors inside the radius?
Count the distances at or under the radius with one function: =COUNTIF(Distance,"<="&Radius). Change Radius and the count follows, so you can read off several rings in a few seconds.
To count only competitors that look established, filter by reputation after export. With a Review count column named ReviewCount, =COUNTIFS(Distance,"<="&Radius,ReviewCount,">="&MinReviews) counts only listings with at least that many reviews. There are no filters in the search itself, so this happens in your sheet.

How do you compare several candidate sites at once?
Skip the helper column. List the candidate sites on a second sheet, with latitude in column B, longitude in column C and the radius in column D, and name the export's Latitude and Longitude columns Lat and Lon. This formula in column E counts competitors around each candidate directly:
=SUMPRODUCT(--(2*6371*ASIN(SQRT(SIN(RADIANS(Lat-B2)/2)^2+COS(RADIANS(B2))*COS(RADIANS(Lat))*SIN(RADIANS(Lon-C2)/2)^2))<=D2))
Fill it down. Each row compares one candidate with every competitor in the file, so a few hundred competitors and a short list of candidates calculates at once. The same sheet then ranks sites by competitors inside the radius, the first number a franchise site-selection review looks at.
How do you turn a competitor count into density per area?
Divide the count by the area of the circle: =COUNTIF(Distance,"<="&Radius)/(PI()*Radius^2) gives competitors per square kilometer. Density makes different radii comparable, since a bigger circle always holds more competitors.
The table below is arithmetic only, with invented counts, to show the shape of the calculation. It isn't business data. Density falls as the radius grows because the outer rings are less crowded: the ring from 1 to 3 km holds 0.16 competitors per square kilometer in this illustration, and the ring from 3 to 5 km 0.06. A ring's density is the difference in counts divided by pi times the difference of the squared radii.
| Radius (km) | Competitors inside (invented) | Area (square km) | Competitors per square km |
|---|---|---|---|
| 1 | 2 | 3.1 | 0.64 |
| 3 | 6 | 28.3 | 0.21 |
| 5 | 9 | 78.5 | 0.11 |
Competitors per resident needs a population for the trade area, which the export doesn't contain. Take it from your national statistics office, and divide the competitor count by it.
What does a competitor count leave out?
It leaves out anything outside the export. One search covers one category, so a gym count says nothing about studios filed under another category; export the related category as its own file and remove duplicates with the Google Maps URL column. It leaves out competitors across the territory's edge, as the county-line answer above explains. It also can include a listing that has outlived its business, because a record can remain until it is updated.
Read the number as a comparison between sites rather than as an absolute. Use the same category, territory, radius and file date for every candidate and the ranking is fair even where the raw count is off by a few. For a country-level comparison of the same idea, see restaurants per 10,000 people.
- One export per category, with Latitude and Longitude kept.
- Empty coordinates removed, and your own listing removed.
- The same radius and the same file for every site you compare.
- Neighboring counties exported when a radius crosses a border.
Frequently asked questions
How do I count competitors within a radius of a location?
Export your competitor category for the county or city with the Latitude and Longitude columns, add a distance column that applies the haversine formula to each row, then count the rows whose distance is at or under your radius. The formula works the same in Excel and Google Sheets.
What is the haversine formula in Excel?
Distance in kilometers is 2 times the Earth's mean radius times the arcsine of the square root of sin squared of half the latitude difference plus cosine of the first latitude times cosine of the second times sin squared of half the longitude difference. The exact cell formula is in this guide, and it needs only one outside figure, the mean radius of 6371 km.
Does the export include coordinates?
Yes. Latitude and Longitude are two of the 25 fields in the Geography group, and you choose them in the column picker when you export. Keep them in the file even if you don't need them elsewhere.
How do I get competitors per square kilometer?
Divide the number of competitors inside the radius by the area of the circle, pi times the radius squared. For a ring between two radii, divide the difference in counts by pi times the difference of the squared radii.
Why does my count change near a county line?
A county export only contains businesses inside that county, so competitors just across the border are missing from a radius that crosses it. Export the neighboring county for the same category, or export the state if it is small enough to work with, and combine the files.
Sources
Put your next list together
Choose a category and location, or inspect the sample before you start.