# How to Make a Population Density Map in QGIS

Learn how to make a population density map in QGIS by joining counts to areas, choosing a density field, and styling the result with clear symbology.

Making a population density map in QGIS means dividing a population count by the area it occupies and drawing that ratio across the map. The work runs in three stages: attach counts to boundary polygons, store density as a numeric field, and color that field with the layer's symbology. The steps below keep each stage separate so you can check the numbers before you style them. 

## Join counts to your boundary layer 

A population density map needs counts attached to the polygons that contain them. Load your boundary layer and a table of population counts that shares a matching key field, such as an area code. Open the layer properties and use the join tool to add the count column to the polygons. Check the attribute table afterwards, because rows without a match will hold no value and get no color. 

## Calculate density as a new field 

Density is a population count divided by the area of the polygon it sits in. Open the field calculator on the joined layer, create a decimal field, and divide the count field by the area field expressed in square kilometers or square miles. QGIS stores the area in the units of your layer's coordinate system, so confirm those units first. A density field you calculate yourself is easier to audit than a symbol that hides the arithmetic. 

## Style the density across the map 

Symbology turns the density field into a readable surface, so choose a graduated renderer and pick class breaks that suit the range in your data. A continuous color ramp with a few grouped classes shows the pattern without hiding low values. Raster styling follows the same idea if you convert the polygons to a grid. If you prefer a surface of finer cells, the heatmap plugin builds point density from point data by fitting a kernel around each point. 

## Population Density Mapping Questions in QGIS 

### Can I map population density without boundary polygons? 

Yes, a population density map can be built from point data instead of polygons. The heatmap plugin spreads a kernel around each point and estimates point density across a grid. Point density describes where people cluster but does not divide by an administrative area. Choose the polygon method when you need a density figure that matches a known boundary. 

### Which coordinate system should I use for density? 

A projected coordinate system gives you linear units, so area measurements come out in meters or feet and convert cleanly to square kilometers or square miles. A geographic system measures in degrees, which do not express area well near the edges of a map. Set the project and layer to one projected system before you calculate the area field. Then check the units shown in the field calculator before dividing. 

### What is point density versus polygon density? 

Point density counts features within a moving neighborhood and returns a surface, while polygon density divides a count by a known area. Point density suits records without boundaries and shows smoothing from the kernel. Polygon density gives one value per boundary and stays easy to compare across regions. Pick the one that matches how your population figures were collected. 

### How many classes should the symbology use? 

That depends on the spread of your density values and the size of the map. A small number of classes keeps the legend readable at prairie-site scale, and grouping equal counts of polygons can balance a skewed range. Test equal interval and quantile breaks before deciding. The right number is the one where a reader can tell the classes apart without a key.
