XP is the ranking system. You need XP to do a lot of things like train certain troops and build something other than residences and RGs. Your XP resets to 0 when you level up. Your level can not go down.
|Level||XP needed to level up|
Please put the formula if there is one and put in any new level info in between the level before and after it.