The shape of your XP curve decides how a game feels long before any player reads a stat sheet. Here's the math that separates a satisfying climb from an endless treadmill.
Every role-playing game makes a promise: keep playing and you'll get stronger. The mechanism behind that promise is the growth curve — the function that decides how much experience each level costs and how much power each level grants. Most players never see the formula, but they feel it in every session. A curve that's too flat makes late-game levels meaningless. A curve that's too steep turns the endgame into a spreadsheet grind. The gap between "I want one more level" and "I quit" is often just a badly chosen exponent.
This article breaks down the three curve shapes designers actually use, shows how the XP curve has to be balanced against damage and enemy HP scaling, and works through a concrete number table so a hobbyist designer can choose a curve deliberately.
What a growth curve actually controls
There are really two curves in any RPG, and confusing them is the first mistake beginners make:
- The XP curve — how much experience it takes to reach each level. This controls pacing: how long a player spends at each power tier.
- The power curve — how much stronger a character gets per level (HP, damage, stats). This controls feel: whether a new level is a shrug or a surge.
These two curves have to be designed together. If power grows fast but XP cost grows slowly, players outscale content and everything becomes trivial. If XP cost grows fast but power grows slowly, players grind for levels that barely move the needle. The art of progression design is keeping the ratio between "effort to level" and "reward from level" roughly constant, so each level feels like it cost about what it was worth.
The three shapes
Almost every XP curve in the wild is a variation on one of three mathematical shapes.
Linear. Each level costs a fixed amount more than the last, or even a flat amount. XP to reach level n looks like base × n. The curve is a straight line. Levelling speed stays constant from level 1 to the cap. Linear curves are easy to reason about and forgiving for new players, but they flatten the sense of achievement — level 40 feels exactly like level 4 did. They suit short games or games where progression isn't the main hook.
Quadratic (polynomial). Cost grows with the square of the level: base × n², or a tuned power like n^1.5. This is the workhorse of the genre. The curve bends upward gently, so early levels come fast (good for onboarding) and later levels slow down (good for stretching endgame content). Final Fantasy-style and many tabletop-inspired systems land here. It gives a natural "fast start, meaningful climb" rhythm without exploding.
Exponential. Each level costs a fixed multiple of the previous: base × r^n with a growth rate r like 1.1 or 1.5. The curve turns nearly vertical at the top end. Exponential curves generate the strongest "one more level" compulsion because the reward tantalisingly recedes — but they're also where grind lives. A growth rate even slightly too high, and level 50 costs more XP than a player will earn in a lifetime of play. Idle and gacha games lean exponential precisely because they want that long tail; a story-driven RPG usually should not.
The 'one more level' effect and the treadmill
The psychological pull of levelling comes from a curve that's always just reachable. When the next level is visible and the bar is close to full, players self-report "just one more" and keep going. Exponential and steep-quadratic curves manufacture this by making each level a slightly bigger prize that sits slightly further away.
The failure mode is the treadmill: when XP cost rises faster than the player's XP income, so the bar fills slower and slower while power gains stay flat. The player runs faster to stay in the same place. This happens when the XP curve is steep but the power curve is shallow — you pay exponentially more for linear returns. The fix is not always "flatten the curve." Often it's to make sure enemy XP rewards scale with the curve, so income keeps pace with cost and the fill rate stays roughly constant even as raw numbers balloon.
How the curve interacts with damage and enemy HP
A growth curve doesn't live in isolation — it has to mesh with combat math. If player damage grows exponentially per level but enemy HP grows linearly, every character eventually one-shots everything and combat dies. If enemy HP grows faster than player damage, fights get longer and spongier until they're a chore.
The stable design keeps time-to-kill roughly constant across the game. That means player damage output and enemy HP should grow on compatible curves, so a level-appropriate fight always takes a similar number of hits. Practical guidance:
- Pick the power curve first, then match enemies to it. Decide how a character's damage scales per level, then set enemy HP so a fair fight is a target number of hits (say, 4–6). Let both scale together.
- Keep damage and HP on the same shape. If damage is roughly quadratic in level, enemy HP should be too. Mixing an exponential damage curve with linear HP guarantees a trivialised late game.
- Watch multiplicative stacking. When level boosts and gear and buffs all multiply, effective power is the product — it compounds far faster than any single curve suggests. Budget for it.
- Separate "fun spikes" from the baseline. A deliberate power spike at a milestone level is good design; an accidental one from unbudgeted multiplicative stacking is a balance bug.
A worked example
Suppose you want a level cap of 50 and a base cost of 100 XP for the first level. Here's what "XP to reach the next level" looks like at a few checkpoints under each curve shape, using representative formulas: linear 100 × n, quadratic 100 × n², and exponential 100 × 1.15ⁿ. The numbers are illustrative, rounded to show the shape rather than a shipping spec.
| Level | Linear (100n) | Quadratic (100n²) | Exponential (100·1.15ⁿ) |
|---|---|---|---|
| 1 | 100 | 100 | 115 |
| 5 | 500 | 2,500 | 201 |
| 10 | 1,000 | 10,000 | 405 |
| 20 | 2,000 | 40,000 | 1,637 |
| 35 | 3,500 | 122,500 | 13,317 |
| 50 | 5,000 | 250,000 | 108,366 |
The shapes tell the whole story. Linear barely moves — level 50 costs only 50× level 1, so the last stretch feels weightless. Quadratic climbs steadily and by level 50 costs 2,500× the first level: a real but bounded grind. Exponential starts cheaper than quadratic in the mid-game, then rockets past it — by level 50 it's over a thousand times the level-1 cost and rising fastest of all. Notice the crossover: exponential is gentler than quadratic through level 20, which is exactly why designers reach for it when they want an easy start and a brutal endgame.
Practical guidance for hobbyist designers
- Default to quadratic. For most story-driven or session-based RPGs, a mild polynomial (
n^1.5ton²) gives the best fast-start / meaningful-endgame balance with the fewest surprises. - Only go exponential if you want the long tail. Exponential curves suit idle, gacha, or intentionally-endless games. In a game with an ending, they usually create grind that outlives the content.
- Tune the rate, not just the shape. With exponential curves, small changes to the growth rate
rhave enormous effects at the cap. Always project the curve out to the level cap before committing. - Scale XP income with cost. If level cost rises, enemy XP rewards should rise too, so the bar-fill rate stays roughly constant and the treadmill never sets in.
- Keep time-to-kill flat. Match player damage and enemy HP on the same curve shape so combat pacing stays consistent from tutorial to endgame.
Tool walkthrough
Toolhub's XP curve calculator lets you plug in a base cost, a growth model (linear, polynomial, or exponential), a growth rate, and a level cap, then see the full per-level and cumulative XP table at once — the fastest way to project a curve out to the cap and catch a level-50 cost that's quietly impossible. Once the pacing looks right, pair it with the damage calculator to sanity-check the combat side: enter per-level damage and enemy HP and read off the time-to-kill, so you can confirm a level-appropriate fight still takes the number of hits you intended. Iterating between the two — pacing in one, combat feel in the other — is how you keep the XP curve and the power curve in step.
Where to read further
- Wikipedia: Experience point — an overview of XP systems and levelling conventions across the genre, with links to specific implementations.
- Wikipedia: Exponential growth — the underlying math of compounding curves, useful for understanding why a small growth rate explodes at the cap.
- Wikipedia: Quadratic function — reference for the polynomial curve shape that most RPG XP tables are built on.
The curve is the game's pacing engine, and its shape is a choice you make on purpose or by accident. Pick the shape that matches how long you want players to climb, tune the rate against a real level cap, and keep the damage and HP curves marching alongside it. Do that, and "one more level" stays a pleasure instead of curdling into a chore.
← All articles