ตาราง 5  ประชากรจำแนกตามศาสนา หมวดอายุ เพศ และเขตการปกครอง
หมวดอายุ เพศและเขตการปกครอง รวม ศาสนา ไม่มีศาสนา ไม่ทราบ
  พุทธ   อิสลาม   คริสต์   ฮินดู   ขงจื้อ   อื่นๆ      
ในเขตเทศบาล     18,972,330   17,994,765       697,151       141,366         16,443           2,910          10,234          47,130         62,331
0-4 1,205,825 1,121,275 64,486 7,665 1,198 122 597 4,574 5,908
5-9 1,315,293 1,227,317 67,234 8,941 1,202 169 554 4,424 5,452
10-14 1,351,669 1,265,757 65,313 9,618 1,059 163 549 4,064 5,146
15-19 1,624,724 1,534,586 67,217 11,405 1,309 161 692 4,443 4,911
20-24 1,914,255 1,817,636 71,264 12,613 1,466 201 813 4,634 5,628
25-29 1,910,236 1,818,721 65,582 13,041 1,661 216 925 4,401 5,689
30-34 1,852,467 1,764,327 62,109 13,420 1,790 258 1,003 3,953 5,607
35-39 1,746,028 1,665,607 55,650 13,003 1,500 212 960 3,917 5,179
40-44 1,574,321 1,504,687 46,646 12,317 1,407 177 994 3,149 4,944
45-49 1,215,611 1,161,173 36,028 10,323 1,045 151 805 2,480 3,606
50-54 903,383 863,215 26,254 7,721 786 131 587 1,896 2,793
55-59 676,181 645,658 19,754 6,030 604 128 458 1,472 2,077
60-64 578,347 551,333 17,871 5,138 540 123 322 1,216 1,804
65-69 433,060 413,785 12,265 3,930 352 128 326 988 1,286
70-74 315,480 300,825 9,456 2,850 235 185 249 713 967
75-79 176,330 168,423 4,885 1,618 130 133 178 418 545
80-84 103,154 98,171 2,988 1,031 94 137 129 193 411
85 ขึ้นไป 75,966 72,269 2,149 702 65 115 93 195 378
ชาย       9,129,755     8,653,933       341,490         68,672           8,341           1,441            5,492          22,696         27,690
0-4 621,789 579,018 33,190 3,949 577 50 283 2,327 2,395
5-9 675,544 631,468 33,998 4,559 571 79 285 2,292 2,292
10-14 689,734 646,578 33,094 4,786 564 90 234 2,111 2,277
15-19 801,256 757,053 33,156 5,328 694 91 328 2,183 2,423
20-24 917,649 870,942 34,721 5,835 768 102 397 2,248 2,636
25-29 907,807 864,292 31,397 6,024 772 115 513 2,063 2,631
30-34 879,076 836,658 29,782 6,627 960 123 580 1,812 2,534
35-39 826,636 787,953 26,808 6,363 741 107 526 1,812 2,326
40-44 745,998 712,542 22,495 5,938 712 79 622 1,408 2,202
45-49 576,148 549,376 17,671 5,243 580 68 469 1,173 1,568
50-54 431,404 411,791 12,779 3,917 429 71 356 862 1,199
55-59 320,814 305,804 9,665 3,054 323 64 251 722 931
60-64 265,667 252,735 8,432 2,625 262 40 167 581 825
65-69 192,613 183,715 5,738 1,780 179 52 157 434 558
70-74 137,348 130,576 4,356 1,380 102 101 125 337 371
75-79 74,082 70,658 2,178 623 46 80 80 187 230
80-84 39,852 37,805 1,241 396 41 67 68 78 156
85 ขึ้นไป 26,338 24,969 789 245 20 62 51 66 136
หญิง       9,842,575     9,340,832       355,661         72,694           8,102           1,469            4,742          24,434         34,641
0-4 584,036 542,257 31,296 3,716 621 72 314 2,247 3,513
5-9 639,749 595,849 33,236 4,382 631 90 269 2,132 3,160
10-14 661,935 619,179 32,219 4,832 495 73 315 1,953 2,869
15-19 823,468 777,533 34,061 6,077 615 70 364 2,260 2,488
20-24 996,606 946,694 36,543 6,778 698 99 416 2,386 2,992
25-29 1,002,429 954,429 34,185 7,017 889 101 412 2,338 3,058
30-34 973,391 927,669 32,327 6,793 830 135 423 2,141 3,073
35-39 919,392 877,654 28,842 6,640 759 105 434 2,105 2,853
40-44 828,323 792,145 24,151 6,379 695 98 372 1,741 2,742
45-49 639,463 611,797 18,357 5,080 465 83 336 1,307 2,038
50-54 471,979 451,424 13,457 3,804 357 60 231 1,034 1,594
55-59 355,367 339,854 10,089 2,976 281 64 207 750 1,146
60-64 312,680 298,598 9,439 2,513 278 83 155 635 979
65-69 240,447 230,070 6,527 2,150 173 76 169 554 728
70-74 178,132 170,249 5,100 1,470 133 84 124 376 596
75-79 102,248 97,765 2,707 995 84 53 98 231 315
80-84 63,302 60,366 1,747 635 53 70 61 115 255
85 ขึ้นไป 49,628 47,300 1,360 457 45 53 42 129 242