Level Experience

Level-up formula
There is a game bug that occurs occasionally and increases the XP amount to level up to over a billion of XP points. This could be tens or hundreds times the amount of normal XP requirement to level up. The solution is to get this XP either by cancelling current troop training queue and starting a new batch (as the XP amount for troop training is also increased) or by opening some items that give troops. Training Pulse Tanks and opening Pulse Frigates works best in this case.

5​00000−
A formula that fits to the values above for levels higher than 500 looks like

$$\text{Total Experience}(\text{level}) = 1000\ (3\ \text{level}^2 - 3\ \text{level} -381025)$$.

Due to some game updates these values seems to be off by one level, so the more correct formula seems to be:

$$\text{Total Experience}(\text{level}) = 1000\ (3\ \text{level}^2 + 3\ \text{level} -381025)$$.

The experience required to advance from $$\text{level}$$ to $$\text{level}+1$$ is equal to $$ 6000\ (\text{level}+1)$$.

The formulas for level ranges 1..25, 26..99, and 100..500 have similar form, just differs in numerical coefficients.