Thanks to global chat I figured out how the total xp per level is calculated.
It took a lot of trial and error, especially since it changes formula after a player has unlocked everything (after level 54), but the current formula basically gives what
https://www.warzone.com/wiki/Levels lists as the currently known total xp per level.
I'm mostly dropping this in a forum so I can just look it up next time instead of having to figure it out again.
Perhaps it will be useful for someone else too :)
Python code:import math
LAST_UNLOCK_LEVEL = 54
def xp(level):
x = level - 1
base = 133410
power = 0.05113961609486111
multiplier = math.exp(power * x) - 1
xp = math.floor(base * multiplier)
return xp - xp % 100 # round down to nearest 100
def xp_corrected(level):
if level <= LAST_UNLOCK_LEVEL:
return xp(level)
# else:
levels_over_last_unlock = level - LAST_UNLOCK_LEVEL
level_to_use = level + 5 * levels_over_last_unlock
correction = 500_000 * levels_over_last_unlock
return xp(level_to_use) - correction
Edited 2025-09-05 11:26:03