At the time of the 2006 National Census, the city's population was 3,274 in 772 households. The following census in 2011 counted 4,021 people in 965 households. The 2016 census measured the population of the city as 3,823 people in 1,037 households.
12Habibi, Hassan (19 May 1996) [تاریخ تصویب (Approval date) 1375/02/30 (Iranian Jalali calendar)]. تبدیل روستای آب تابع شهرستان زنجان و روستای گرماب تابع شهرستان خدابنده واقع در استان زنجان به شهر[Conversion of the village of Ab, subordinate to Zanjan County, and the village of Garmab, subordinate to Khodabandeh County, located in Zanjan province, into cities]. لام تا کام [Lam ta Kam] (in Persian). وزارت کشور [Ministry of the Interior]. کمیسیون سیاسی دفاعی هیأت دولت [Political Defense Commission of the Government Board]. شناسه [ID] 46FDF2E1-7088-4E5A-812C-39F1DEE8F015. شماره دوره [Course number] 75. Archived from the original on 27 June 2025. Retrieved 27 June 2025.
12سرشماري عمومي نفوس و مسكن 1395: استان زنجان[General Population and Housing Census 2016: Zanjan Province]. مرکز آمار ایران [Statistical Centre of Iran] (in Persian). Archived from the original(Excel) on 27 April 2022. Retrieved 19 December 2022.
↑Habibi, Hassan (12 September 1990) [تاریخ تصویب (Approval date) 1369/06/21 (Iranian Jalali calendar)]. تصویب سازمان و سلسله تابعیت عناصر و واحدهای تقسیمات کشوری استان زنجان به مرکزیت شهر زنجان[Approval of the organization and chain of citizenship of elements and units of the national divisions of Zanjan province, centered in Zanjan city]. لام تا کام [Lam ta Kam] (in Persian). وزارت کشور [Ministry of the Interior]. کمیسیون سیاسی دفاعی هیأت دولت [Political Defense Commission of the Government Board]. شناسه [ID] 965C7B0D-32D4-4BC6-A126-65D28CD02436. شماره دوره [Course number] 69, شماره جلد [Volume number] 3. Archived from the original on 16 December 2023. Retrieved 25 June 2025.
↑Mousavi, Mir-Hossein (9 November 1986) [تاریخ تصویب (Approval date) 1365/08/18 (Iranian Jalali calendar)]. ایجاد و تشکیل تعداد 9 دهستان شامل روستاها و مزارع و مکانها در شهرستان خدابنده تابع استان زنجان[Creation and formation of nine rural districts, including villages, farms and places in Khodabandeh County under Zanjan province]. لام تا کام [Lam ta Kam] (in Persian). وزارت کشور [Ministry of the Interior]. هیات وزیران [Council of Ministers]. شناسه [ID] 66E9DE86-7D23-4721-A9AF-C99963BDD1D6. شماره دوره [Course number] 65, شماره جلد [Volume number] 5. Archived from the original on 18 December 2023. Retrieved 25 June 2025.
↑سرشماري عمومي نفوس و مسكن 1385: استان زنجان[General Population and Housing Census 2006: Zanjan Province]. مرکز آمار ایران [Statistical Centre of Iran] (in Persian). Archived from the original(Excel) on 20 September 2011. Retrieved 25 September 2022.
↑سرشماري عمومي نفوس و مسكن 1390: استان زنجان[General Population and Housing Census 2011: Zanjan Province]. Iran Data Portal—Syracuse University (in Persian). مرکز آمار ایران [Statistical Centre of Iran]. Archived from the original(Excel) on 21 January 2023. Retrieved 19 December 2022.