Template makes a simple ratio calculation, that can be used for population densities (amongst other things).
Code | Population | Area | Density |
---|---|---|---|
{{density|disp=table|1000|10}} |
1,000 | 10 | 100 |
Code | Population | Area | Density | ||
---|---|---|---|---|---|
(km2) | (sqmi) | (/km2) | (/sqmi) | ||
{{density|disp=table|1000|10|km2}} |
1,000 | 10 | 4 | 100 | 259 |