How to Design an XP Curve: Linear, Power and Exponential Levelling
Choose the right experience curve for your game: linear, power and exponential formulas compared, with example numbers and tips for pacing levels.
In this article
An XP curve decides how long every level takes. Get it right and players always feel close to the next reward. Get it wrong and the game feels either trivial or like a grind. The good news: a few simple formulas cover almost every game, and the trick is choosing based on time, not numbers.
Start with time, not XP
Before choosing a formula, decide how levelling should feel:
| Stage | Time per level (example) | Why |
|---|---|---|
| First levels | 2–5 minutes | Quick rewards teach the system |
| Mid game | 20–40 minutes | Steady goals, room for choices |
| Late game | 1–3 hours | Big goals, prestige |
Then estimate how much XP a player earns per minute at each stage. XP needed ÷ XP per minute = minutes per level. That ratio is what players feel.
The three formulas
Linear
XP for level = base + increase × (level − 1)
Every level needs a fixed amount more than the one before. With base 100 and increase 50: 100, 150, 200, 250…
- Good for: short games, casual progression, battle passes.
- Watch out: if rewards grow, levels get faster and faster later.
Power
XP for level = base × level ^ exponent
With base 100 and exponent 2: 100, 400, 900, 1,600… The curve bends upward smoothly. Exponents between 1.5 and 2.5 suit most RPGs and progression systems.
- Good for: most games. Early levels are quick, later ones slow down steadily without exploding.
- Tune: the exponent controls how steep the late game gets.
Exponential
XP for level = base × growth ^ (level − 1)
With base 100 and growth 1.15, every level needs 15% more than the last. That sounds gentle, but by level 50 you need over 90,000 XP for a single level.
- Good for: idle games and games where rewards also grow exponentially.
- Watch out: with a high max level, the end becomes impossible unless rewards keep up.
Compare them side by side
| Level | Linear (100 + 50) | Power (100 × L²) | Exponential (100 × 1.15^(L−1)) |
|---|---|---|---|
| 1 | 100 | 100 | 100 |
| 5 | 300 | 2,500 | 175 |
| 10 | 550 | 10,000 | 352 |
| 20 | 1,050 | 40,000 | 1,423 |
| 30 | 1,550 | 90,000 | 5,758 |
| 50 | 2,550 | 250,000 | 94,231 |
Notice how the exponential curve starts slowest and ends by far the steepest. Plotting the curve makes these differences obvious; numbers alone hide them.
Practical tips
- Round numbers. Players notice 1,000 and 2,500 more than 1,037 and 2,512. Round to 5, 10, 50 or 100.
- Front-load rewards. Make the first three levels very fast.
- Add milestones. Unlocks every 5 or 10 levels give players a closer goal than the next level.
- Grow rewards too. Higher-level enemies or quests should give more XP, so time per level grows more slowly than XP per level.
- Show progress. Store total XP and show a progress bar for the current level.
Build and export your curve
The free XP Level Curve Generator lets you switch between linear, power and exponential formulas, set the max level, rounding and parameters, see the curve as a chart, and export the table as CSV for an Unreal Engine DataTable or as JSON for Unity.
In Unreal, import the CSV as a DataTable with a struct for level and XP. In Unity, load the JSON into a ScriptableObject or parse it at startup.
Summary
- Design for time per level, then choose the formula.
- Power curves (exponent 1.5–2.5) suit most games.
- Exponential curves need growing rewards or a low max level.
- Round the numbers, front-load early levels and add milestones.
Frequently asked questions
What is the best XP curve formula?
For most games a power curve (XP = base × level^exponent with an exponent between 1.5 and 2.5) works well: early levels are quick and later ones slow down steadily without exploding.
Why do RPGs use exponential XP curves?
Because enemy rewards often grow exponentially too, keeping time per level steady. If rewards do not grow that fast, an exponential curve makes late levels take forever.
How long should each level take?
A common pattern is a few minutes for the first levels, around 20 to 40 minutes in the mid game, and hours near the end. Decide this first and design the curve to match.
Should XP needed be per level or total?
Store both. Use XP per level for the progress bar and total XP for saves and comparisons. Many games store total XP and calculate the level from it.