What's the formula for the city population?

Dragonxander PR

Emperor of the Drakons
Joined
May 25, 2009
Messages
548
Location
Mayagüez, Puerto Rico
I know I found that several months ago; but it's been quite hard digging for it. If you ask what I mean, it's the formula that assigns a city a certain population based on the population points (i.e. pop 1 = 1,000 inhabitants, pop 2 = 6000 inhabitants, pop 3 = 21,000 inhabitants...).

Thanks in advance.
 
The Inner Workings of the Demographics Screen Explained
http://www.civfanatics.com/civ4/strategy/demographics.php
From the discussion forum:
I have done an research to find out the formula for the Population info shown in the Demo screen, finally i made it. And the formula should be:

P = Max(1000, (N(N-1)/2)*(N+4)*1000)

N is the Population you have, P is the pop shown on the Demographic screen

e.g. If your game has just been started so your pop is only one, then your pop points in demo screen is, Max(1000, (1(1-1)/2)*(1+4)*1000), take the larger figure so 1000 is taken.

e.g. If you are in an early game and you have only your capital now and it has 3 Pop, then the Pop shown in the demo screen should be Max(1000, (3(3-1)/2)*(3+4)*1000) = 3*7*1000 = 21*1000= 21000

But it's a bit strange when you have a pop of 7, it doesn't show exactly 231000 but 232000 instead, i'm not sure where is the extra 1000 points come from, at first i thought it might be because of i made an worker so i guessed 1 worker = 1000 points, but then i made another worker but the value didnt change, then i made 3rd and 4th, still the same.

What makes it stranger is the problem disappears when you reached the pop of 10, it shows EXACTLY 630000 now, then the problem is, why the pop points have extra 1000 points when you have a pop of 8 and 9, but soon disappears as soon as you reached pop 10? Maybe the answer is the game have a similiar but not exactly the same formula as mine. Maybe there are some other factors which also affect the pop points?

Anyway it's great to have found a formula by myself. :cool:
 
I had a lot of "fun" trying to figure out the formula for myself, and ended up with convulted things like that, but it's actually really simple. The formula is...

Population = Int(PopLevel^2.8) x 1000

So, say your population is level 7, raising this to the power of 2.8 gives you 232.4205..., rounding down to the nearest whole number gives 232, and multiplying by 1000 gives 232000
 
Manfred Belheim said:
I had a lot of "fun" trying to figure out the formula for myself, and ended up with convulted things like that, but it's actually really simple. The formula is...

Population = Int(PopLevel^2.8) x 1000

So, say your population is level 7, raising this to the power of 2.8 gives you 232.4205..., rounding down to the nearest whole number gives 232, and multiplying by 1000 gives 232000

:lol: I had forgotten that! :lol:

Thanks, Manfred Belheim, for the correction. :goodjob:
 
As an aside, I'd like to see villages and towns count towards your total population on the demographics screen. After all, when you have a fully grown town in the late game it has skyscrapers! Surely more people must live there then the measly 1,000 that live in early "cities".
 
Back
Top Bottom