As promised here are the formulas for Civ4 scoring. There are 3 different formulas used depending on a number of things. The following are the parameters to the formulas:
initialScore : Seems to be based on the possible score at the end of the first turn with the units/techs supplied. Typically this is as follows for a game starting in the Ancient era:
pop = 1
land = 21
tech = 6
wonders = 0
rawScore : Calculated from the current turn. Can be seen in the score breakdown visible by hovering over your score:
maxScore : The theoretical maximum
rawScore for the map. Can also be seen in the above breakdown.
factor : A weighting for the score components. By default these factors are as follows:
pop = 5000
land = 2000
tech = 2000
wonders = 1000
currentTurn : The current turn number. Note that this does not start at 0 for games other than the ancient era!
maxTurn : The turn limit for the game.
The following are the formulas for calculating the score components.
For unfinished or losing games:
For pop/land/tech components for winning game where
initialScore is not 0:
For the wonders component of winning game, or for pop/land/tech components for winning game where
initialScore is 0: