New: 36 free tools for Unreal Engine and Unity developers.Try them →

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
  1. Start with time, not XP
  2. The three formulas
  3. Compare them side by side
  4. Practical tips
  5. Build and export your curve
  6. Summary
  7. FAQ

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:

StageTime per level (example)Why
First levels2–5 minutesQuick rewards teach the system
Mid game20–40 minutesSteady goals, room for choices
Late game1–3 hoursBig 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

LevelLinear (100 + 50)Power (100 × L²)Exponential (100 × 1.15^(L−1))
1100100100
53002,500175
1055010,000352
201,05040,0001,423
301,55090,0005,758
502,550250,00094,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.

  • #game design
  • #progression
  • #rpg
Written by Renish

Indie Unreal Engine developer and founder of Tvashta Studio. Builds the Shopping Simulator Kit plugin in UE5 C++ and the free tools on this site, and writes these guides from that work for Unreal Engine and Unity developers. More about the studio.

Related articles

All articles →