How XP curves work: leveling formulas for game design
An XP curve is the formula that sets how much experience a player needs for each level. There are three common shapes:
- Linear (
XP = a × L): steady and predictable, but late levels feel the same as early ones. - Polynomial (
XP = a × Lb): the most common choice. It grows steadily without exploding. - Exponential (
XP = a × rL−1): small at first, then huge. Good for long grinds, but easy to overdo.
Try any of them in our XP curve calculator.
What an XP curve controls
The curve decides two things players feel directly:
- Pacing: how long each level takes. If XP rewards stay fixed, a steeper curve means slower levels.
- Total length: the total XP to reach max level, which together with your XP income sets how many hours the leveling game lasts.
The curve never acts alone. What matters is the time per level, which is XP needed divided by XP earned per hour. Many games increase the XP that monsters and quests give at higher levels, so a steep curve can still feel smooth. Design both sides together.
The three common formulas
In the formulas below, L is the current level and the result is the XP needed to go from level L to L + 1.
1. Linear
Each level needs a fixed amount more than the one before. With a = 100, level 1→2 needs 100 XP, 2→3 needs 200, and 10→11 needs 1,000. The total to reach level n is a × n(n−1)/2.
Use it when levels are short and frequent, for example in casual or session-based games.
2. Polynomial (power curve)
The exponent b sets how sharply the curve bends. b = 1 is linear, and b = 2 is a quadratic curve. Polynomial curves are popular because the ratio between consecutive levels shrinks as levels go up, so late levels get bigger without becoming absurd.
Use it when you want a classic RPG feel: quick early levels and a steadily longer climb.
3. Exponential
Each level costs a fixed percentage more than the last. With r = 1.1, each level needs 10% more XP. That sounds small, but it compounds: XP needed per level doubles roughly every 7 levels.
Total XP to reach level n:
Use it when max level should be a long-term goal that only dedicated players reach. A useful property: with an exponential curve, the last few levels hold a large share of all XP.
Side-by-side comparison
XP needed to go from level L to L + 1, all starting at 100 XP for level 1→2. The values are rounded to whole numbers:
| Level | Linear (a=100) | Polynomial (a=100, b=1.5) | Exponential (a=100, r=1.1) |
|---|---|---|---|
| 1 | 100 | 100 | 100 |
| 2 | 200 | 283 | 110 |
| 5 | 500 | 1,118 | 146 |
| 10 | 1,000 | 3,162 | 236 |
| 20 | 2,000 | 8,944 | 612 |
| 49 | 4,900 | 34,300 | 9,702 |
| Total to level 10 | 4,500 | 11,106 | 1,357 |
| Total to level 50 | 122,500 | 689,513 | 105,715 |
Notice how the exponential curve starts as the gentlest of the three but its per-level cost keeps climbing after level 50. Extend it to level 100 and it dwarfs the others.
How to design your own curve, step by step
- Pick a target playtime to reach max level, for example 40 hours.
- Decide how the time per level should change. For example, level 1 should take 5 minutes and the last level should take 90 minutes.
- Estimate XP per hour at different levels from your enemies, quests and other sources.
- Choose a formula and fit it so that XP needed ÷ XP per hour matches your time targets. Our calculator shows the totals instantly.
- Playtest and adjust. Look for “dead zones” where levels feel too slow, and smooth them by adding content or rewards rather than only reshaping the curve.
Common mistakes
- Exponential growth that's too steep. At
r = 1.2, level 50 needs over 7,500× the XP of level 1. - Ignoring XP income. A curve that looks fine on paper can feel terrible if rewards don't grow with it.
- Huge jumps at milestones. Sudden spikes, for example at level 10 or 20, feel like walls. If you want a gate, make it a quest, not a hidden XP spike.
- Rounding to ugly numbers. Round to clean values (like the nearest 10 or 50) so players can read and compare them easily.
Frequently asked questions
What is the most common XP curve formula?
A polynomial curve, XP = a × Lb with b between about 1.5 and 2.5. It grows steadily without exploding at high levels.
How do I calculate the total XP to reach a level?
Add up the XP needed for every level below it. For linear curves the closed form is a × n(n−1)/2, and for exponential curves it is a × (rn−1 − 1)/(r − 1). Polynomial curves are usually summed numerically, which is what our calculator does.
Should XP needed always go up?
Usually, but not always. Some games use flat XP per level and instead slow progress by giving less XP for low-level content. What players feel is time per level, not the raw XP number.
Related: XP curve calculator · Drop rates and probability · Glossary: progression