Two maps showing Sri Lanka’s ethnic composition have prompted a fascinating question about the country’s demographic future. We put the question to ChatGPT and Claude. Their answers reveal both the possibilities and the considerable uncertainties behind long-term population projections.
Two interesting maps illustrating Sri Lanka’s changing ethnic demographics have recently been shared on social media, prompting users to ask a fundamental question: could Muslims eventually become the second-largest ethnic group in Sri Lanka, or even overtake the Sinhalese and become the country’s largest population? The maps, which distinguish the largest and second-largest ethnic groups across the country’s districts, have generated interest in the geographical distribution of communities and the changes taking place in their relative population sizes. We took this question to two major artificial intelligence systems, ChatGPT, developed by OpenAI, and Claude, developed by Anthropic. Both produced fascinating analyses, drawing on historical population records, the 2012 and 2024 censuses, and mathematical projections extending as far as 2250. Their conclusions overlap in some respects, but differ significantly in their assumptions about what the future might hold. More importantly, their responses demonstrate why demographic projections must be examined carefully rather than accepted as predictions simply because they are expressed in precise figures.
To understand the question, it is necessary to begin with the available historical record. Sri Lanka does not possess a reliable, continuous series of ethnic population statistics extending back to the early nineteenth century. Earlier Dutch and British administrations undertook various enumerations and population estimates, but their geographical coverage, methods and categories were not necessarily comparable with modern censuses. The first systematic island-wide census was conducted in 1871, recording a population of approximately 2.4 million. The population increased to about 2.76 million in 1881, 3.57 million in 1901, 4.1 million in 1911, 5.3 million in 1931 and 6.66 million in 1946. These figures provide the foundation for examining the island’s modern demographic evolution, although the classifications used to identify communities changed over time. The 2024 census itself explains that ethnic information has been collected since 1871, but that different terminology and classifications were used in different periods. Consequently, comparisons across nearly two centuries require considerable caution.
One of the most consequential developments during the colonial period was the arrival and settlement of large numbers of Tamil labourers from southern India to work on coffee and tea plantations. This migration contributed to the growth of the population subsequently classified as Indian Tamils and, more recently, Indian Tamil/Malayaiha Thamilar. By the middle of the twentieth century, this community accounted for a substantial share of the island’s population. The demographic consequences of plantation migration must be considered alongside the changing proportions of the Sinhalese, Sri Lankan Tamils and Moors. The post-war decades brought another major transformation. Between 1946 and 1953, Sri Lanka’s population increased from approximately 6.66 million to 8.1 million. Improvements in public health, the reduction of mortality and the expansion of medical services contributed to this rapid increase. Subsequent population growth, changes in citizenship policy and the repatriation of sections of the Indian Tamil population also influenced the ethnic composition recorded in later censuses. By 1981, the Sinhalese accounted for approximately 74 per cent of the population, Sri Lankan Tamils around 12.7 per cent, Indian Tamils about 5.5 per cent and Sri Lankan Moors approximately 7 per cent.
The period after 1981 introduced further complications. The civil war, which began in 1983, resulted in deaths, internal displacement and substantial overseas migration, particularly among Sri Lankan Tamils. The 1991 census was not conducted, while the 2001 enumeration could not cover parts of the Northern and Eastern provinces fully. The 2012 census therefore became an important national reference point after the end of the war. It recorded 20,359,439 people. At that time, the Sinhalese constituted 74.9 per cent of the population, Sri Lankan Tamils 11.2 per cent, Indian Tamils 4.1 per cent and Sri Lankan Moors/Muslims 9.3 per cent. The 2024 census, which recorded a total population of 21,781,800, shows a measurable change in these proportions. The Sinhalese share declined to 74.1 per cent, Sri Lankan Tamils increased to 12.3 per cent, Indian Tamil/Malayaiha Thamilar declined to 2.8 per cent, and Sri Lankan Moors/Muslims increased to 10.5 per cent. In absolute numbers, the Muslim population rose from 1,892,638 in 2012 to 2,283,246 in 2024, an increase of approximately 390,600 people. The Sinhalese population increased by approximately 894,000, while the Sri Lankan Tamil population increased by approximately 412,000. These are official figures published by Sri Lanka’s Department of Census and Statistics, rather than estimates produced by either AI system.
The first AI assessment, produced by ChatGPT, focused particularly on the difference between the growth rate of the Muslim population and that of the rest of the country. Using the exact population counts recorded in the 2012 and 2024 censuses, it calculated an annual compound growth rate of approximately 1.576 per cent for Sri Lankan Moors/Muslims, compared with approximately 0.454 per cent for the entire non-Muslim population combined. ChatGPT then extended these two rates mathematically into the future, assuming that they would remain unchanged for centuries. Under that calculation, the Muslim population would eventually equal the combined population of all other communities at approximately 2217. This is an extraordinary date, but ChatGPT was careful to explain that it should not be understood as a realistic demographic forecast. It is a mathematical extrapolation based on the continuation of recent growth differentials, not a prediction that Sri Lanka will actually experience such a demographic transformation. Indeed, the model produces increasingly implausible national population totals as the projection advances. Its central warning was that a growth advantage observed over twelve years cannot simply be assumed to continue unchanged for more than two centuries.
Claude approached the same question differently. Rather than concentrating principally on the comparison between Muslims and the entire non-Muslim population, it examined the growth rates of the individual ethnic categories recorded in the census. Its so-called frozen-rate model projected the growth of Sinhalese, Sri Lankan Tamils, Indian Tamils and Moors separately, using their respective 2012–2024 growth rates. On this basis, Claude suggested that Muslims could overtake Sri Lankan Tamils as the second-largest separately classified ethnic group somewhere between approximately 2060 and 2105, depending on the assumptions used for Tamil population growth. It further suggested that Muslims could approach parity with the Sinhalese around 2205 and reach half of the national population around 2265–2270. Claude also acknowledged that this model was unrealistic because it would produce a national population of approximately 160 million by 2250, an extraordinary outcome for an island of Sri Lanka’s geographical size, particularly when current fertility levels are already low.
Claude went beyond this mathematical exercise by constructing two alternative scenarios. Its first, described as a more realistic base case, assumes that the growth advantage of the Muslim population gradually diminishes as fertility patterns and age structures change across communities. Under this scenario, Muslims could become the second-largest separately classified ethnic group during the latter half of the twenty-first century, with the crossover potentially occurring between the late 2050s and the 2090s. Claude estimated that the Muslim share might reach approximately 16 per cent by 2100 and 18–19 per cent by 2250, while the Sinhalese would remain the largest community and retain an absolute majority. Its second scenario assumes that the Muslim growth advantage persists for considerably longer. Even under those more favourable assumptions, Claude projected a Muslim share of approximately 24 per cent by 2250, with the Sinhalese remaining the largest group. These scenarios are interesting, but their dates and percentages depend on assumptions about how quickly demographic differences will narrow. They are not figures established by the census or by an independently validated population model.
A closer comparison of the two AI responses also exposes an important mathematical problem. ChatGPT subsequently examined Claude’s frozen-rate calculation and recalculated the projections using the exact 2012 and 2024 population counts for all five major census categories, including the smaller groups classified as others. That calculation produces a different result from Claude’s figures. Under this strict mathematical exercise, the total population would reach approximately 25.9 million by 2050, 38.4 million by 2100, 61.2 million by 2150, 104.1 million by 2200 and 187.6 million by 2250. The Muslim share would be approximately 13.3 per cent in 2050, 19.5 per cent in 2100, 26.7 per cent in 2150, 34.4 per cent in 2200 and 41.7 per cent in 2250. The Sinhalese share would fall below 50 per cent around the middle of the twenty-second century in this particular model. These figures do not establish that such a future will occur. Rather, they demonstrate how sensitive long-term projections are to the precise starting figures, growth rates and categories included in the calculation. They also show why Claude’s projected population of 160 million and its estimated Muslim share of around 46 per cent in 2250 cannot simply be treated as the inevitable mathematical consequence of the stated census growth rates.
There is another fundamental issue that both assessments deserve to be judged against: what exactly do we mean by becoming the second-largest ethnic group? The 2024 census records Sri Lankan Tamils and Indian Tamil/Malayaiha Thamilar as separate categories. If those two categories are combined for analytical purposes, their total population is approximately 3.28 million, representing about 15.07 per cent of Sri Lanka’s population. This is considerably larger than the 2.28 million Sri Lankan Moors/Muslims, who account for 10.47 per cent. Therefore, the suggestion that Muslims could become the second-largest ethnic group within several decades depends on retaining the two Tamil categories separately. If the Tamil populations are considered together, the question becomes substantially more complicated. It is not enough to project the growth of Muslims against Sri Lankan Tamils alone while ignoring the Indian Tamil/Malayaiha Thamilar population. The distinction is important because a change in the ranking of separately recorded census categories does not necessarily mean that one broader ethnic population has overtaken another.
The geographical distribution shown in the two maps adds another dimension to the discussion. The 2024 census records Sri Lankan Moors/Muslims as the largest ethnic group in Trincomalee, where they account for approximately 46.1 per cent of the population, and in Ampara, where they represent approximately 45.6 per cent. They are substantial communities in several other districts, including Colombo, Puttalam, Batticaloa and Kandy. Yet being the largest group in a district does not necessarily mean constituting an absolute majority there. Nor does being the second-largest group in numerous districts automatically make a community the second-largest nationally. The maps are useful because they illustrate the regional distribution and concentration of communities, but they should not be mistaken for a national population ranking. They also remind us that demographic change has a geographical dimension: migration, employment, urbanisation, displacement and settlement patterns can alter the composition of individual districts even when national percentages change relatively slowly.
Perhaps the most important weakness in any projection extending to 2250 is that population growth is not determined by a single rate. Fertility, mortality, life expectancy, migration, age structure, economic conditions, public policy and changing patterns of identity all influence the eventual composition of a population. Sri Lanka is already experiencing low fertility and an ageing population. If fertility continues to decline, the growth rates of all communities could slow, and the national population could eventually contract. A community’s share of the total could increase even while its absolute population remains stagnant or declines, provided other groups decline more rapidly. Equally, international migration could have a significant impact on the size and composition of the population, particularly over several generations. Another unresolved issue concerns the decline in the Indian Tamil/Malayaiha Thamilar category and the simultaneous increase in the Sri Lankan Tamil category between 2012 and 2024. Changing self-identification may be one explanation, but the census figures alone cannot establish how much of the change resulted from reclassification rather than births, deaths or migration. Any serious projection must therefore avoid treating the observed differences as the product of fertility alone.
There is also a distinction between ethnicity, religion and language that should not be overlooked. The census category Sri Lankan Moor/Muslim is an ethnic classification; it should not automatically be equated with the entire Muslim religious population. Similarly, the Sinhalese ethnic population is not necessarily identical to everyone who speaks Sinhala, just as the Tamil-speaking population is not identical to the two Tamil ethnic categories. A question about whether Muslims will become the largest religious community is therefore not precisely the same as a question about whether Sri Lankan Moors/Muslims will become the largest ethnic group. The two maps and the calculations discussed here concern ethnic composition, not a direct forecast of religious affiliation or language use.
So, are Muslims going to lead Sri Lanka’s population? The evidence does not support a confident claim that they will become the country’s largest ethnic group or an absolute majority by 2250. What the 2012 and 2024 censuses do establish is that the Sri Lankan Moor/Muslim category grew faster than the Sinhalese category during that twelve-year period, increasing its share from 9.3 to 10.5 per cent. If that differential continues for a sufficiently long period, Muslims could become the second-largest separately classified ethnic group. But the precise date remains uncertain, and the answer changes considerably depending on whether the two Tamil categories are combined or treated separately. ChatGPT’s initial calculation placed Muslim parity with all non-Muslim communities around 2217 under a simplified two-group model. Claude’s analysis suggested a possible earlier rise to second place and constructed alternative scenarios in which Muslims remain a substantial minority through 2250. ChatGPT’s subsequent recalculation showed that even the frozen-rate projections require more careful arithmetic and produce different results when all census categories are included.
The most responsible conclusion, therefore, is not that one community is destined to replace another, but that Sri Lanka is experiencing measurable demographic changes whose long-term consequences deserve serious study. The Sinhalese remain overwhelmingly the largest ethnic group, while the Muslim and Sri Lankan Tamil populations have increased their respective shares in the latest census. Whether these trends continue, slow down or reverse will depend on developments that no AI system can reliably predict over two centuries. The figures extending to 2250 are best understood as exercises in mathematical possibility, not statements about the future of any community. The real value of putting the question to ChatGPT and Claude is not that either can tell us what Sri Lanka will look like in 2250, but that their different approaches expose the assumptions, uncertainties and statistical questions that must be addressed before anyone can make such a claim.

