XP to Level Calculator

Total XP to reach your target level

How it is calculated

The tool assumes that moving up from level L to level L+1 costs base × L XP. The total is the sum over every step you still have to take: Total = base × (current + (current+1) + … + (target−1)). Here base is the XP constant of your game, current is the level you are at now, and target is the level you want to reach. The level count shown is simply target − current. The target must be higher than the current level and the base above zero, otherwise there is no result. Levels must be whole numbers, and the current level must be 1 or more; a decimal level or a current level of 0 gives no result.

Worked example

Suppose a game charges 100 × level XP per step, you are level 10 and you want level 20. The steps are levels 10, 11, …, 19, which is 10 steps. Their sum is 10 + 11 + … + 19 = 145. Multiply by the base: 145 × 100 = 14,500 XP in total for 10 levels. Check: the first step costs 1,000 XP and the last one 1,900 XP, so the average step is 1,450 XP.

Try this example →

Common mistakes

  • Assuming the cost to reach level L is base × L. In this tool that amount is the cost to leave level L, so the step from 10 to 11 costs 1,000 XP when base is 100, not 1,100.
  • Using it for games with exponential or tabled XP curves. If your game lists XP per level in a table, or multiplies by 1.1 each level, this linear sum will be off.
  • Entering the XP already earned inside the current level as a decimal, such as 10.6. Levels must be whole numbers, so this gives no result; progress inside a level is not counted, so subtract it from the total yourself.
  • Setting the target equal to the current level, which gives no result because at least one level must be gained.
  • Starting at level 0. The current level must be 1 or more, so 0 gives no result; the first step, from level 1 to 2, costs 1 × base.

About this calculator

This calculator sums the experience cost of every level between your current and target level, where each individual level's cost follows base × level — a common linear XP curve in RPGs and mobile games — so the total is the sum of that expression across the whole range rather than a single formula applied once, since the cost per level increases as you climb.

Game designers use this kind of curve when tuning progression pacing, checking how many hours of grinding or how much currency a linear cost curve demands compared to steeper exponential curves. Players of RPGs, MMOs and mobile games use the same math in reverse, to estimate how much total XP — and therefore how much playtime — stands between their current level and a target one before committing to the grind.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    Before relying on a total, test the assumption against your game: one level-up must cost the base times the level you are leaving. If the game says level 10 needs 1,000 XP and your base is 100, the curve fits; if not, it is quadratic or table-based and these totals will be off. Progress already earned inside your current level is not subtracted. Tell us how the XP curve in your game actually grows.

Popular calculators

All Calculators