How levels and points work
Experience orbs give points. Your level is how many times the bar has filled, and each level needs more points than the one before. The game uses three formulas depending on your level:
L 0–15: 2L + 7
L 16–30: 5L − 38
L 31+: 9L − 158
Total points to reach level L
L 0–16: L² + 6L
L 17–31: 2.5L² − 40.5L + 360
L 32+: 4.5L² − 162.5L + 2220
The same curve is used in Java and Bedrock. Level 30 needs 1,395 points in total. Level 50 needs 5,345, nearly four times as many.
Spending XP wisely
- An enchanting table needs level 30 for its best offers but only takes 1–3 levels. Levels above 30 cost more points each, so enchant as soon as you reach 30 instead of saving up.
- Anvils charge levels, not points. In survival, anything that would cost 40 or more levels shows “Too Expensive!”, so 39 is the most you’ll ever need for one anvil use.
- Mending repairs 2 durability per XP point, so a mending tool soaks up orbs before they reach your bar.
What you lose when you die
When you die in Java Edition (without keepInventory) you drop 7 points per level you had, up to a maximum of 100 points. Everything else is lost. Above level 7 or so, most of your experience is gone for good, so spend it before risky trips.
Level table
| Level | Total points | Points to next level |
|---|---|---|
| 0 | 0 | 7 |
| 1 | 7 | 9 |
| 2 | 16 | 11 |
| 3 | 27 | 13 |
| 4 | 40 | 15 |
| 5 | 55 | 17 |
| 6 | 72 | 19 |
| 7 | 91 | 21 |
| 8 | 112 | 23 |
| 9 | 135 | 25 |
| 10 | 160 | 27 |
| 11 | 187 | 29 |
| 12 | 216 | 31 |
| 13 | 247 | 33 |
| 14 | 280 | 35 |
| 15 | 315 | 37 |
| 16 | 352 | 42 |
| 17 | 394 | 47 |
| 18 | 441 | 52 |
| 19 | 493 | 57 |
| 20 | 550 | 62 |
| 21 | 612 | 67 |
| 22 | 679 | 72 |
| 23 | 751 | 77 |
| 24 | 828 | 82 |
| 25 | 910 | 87 |
| 26 | 997 | 92 |
| 27 | 1,089 | 97 |
| 28 | 1,186 | 102 |
| 29 | 1,288 | 107 |
| 30 | 1,395 | 112 |
| 31 | 1,507 | 121 |
| 32 | 1,628 | 130 |
| 33 | 1,758 | 139 |
| 34 | 1,897 | 148 |
| 35 | 2,045 | 157 |
| 36 | 2,202 | 166 |
| 37 | 2,368 | 175 |
| 38 | 2,543 | 184 |
| 39 | 2,727 | 193 |
| 40 | 2,920 | 202 |
| 45 | 4,020 | 247 |
| 50 | 5,345 | 292 |
| 60 | 8,670 | 382 |
| 70 | 12,895 | 472 |
| 80 | 18,020 | 562 |
| 90 | 24,045 | 652 |
| 100 | 30,970 | 742 |
FAQ
How much XP is level 30?
1,395 points from level 0. Going from 29 to 30 alone takes 107 points.
What gives the most XP?
Killing the Ender Dragon the first time gives 12,000 points. For repeatable XP, mob farms (especially blazes, which give 10 points each) and Endermen in the End are the fastest. Smelting and breeding also add up.
Is there a maximum level?
In practice no: the commands allow levels in the millions. Normal survival play rarely goes far past 100.