Talk:Formulas:XP To Level

102,229pages on
this wiki

Back to page

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

The formula for XP levels 28 to 31 is (100/3)x^3-2850x^2+(250850/3)x-804700 Ia.emperor 01:08, 26 April 2008 (UTC)

Meinbobo,

Diff(31) is 6, not 5. Please do not change the formulas unless you can first justify a correction.

--Greenman 06:54, 15 June 2006 (EDT)

When totaling the total raw xp to reach level 60, whomever did the math added the XP needed to reach level 61 into the equation.

--- Actually the formula is wrong. The required exp for the next level is calculated based on a the following integer sequence:

It's is applied to a negative offset and multiplied by 200:

```lvl:  to next:
-3:   -800 = -800
-2:   -600 = -800 + 200
-1:   -400 = -800 + 200 + 200
0:      0 = -800 + 200 + 200 + 400
1:    400 = -800 + 200 + 200 + 400 + 400
2:    800 = -800 + 200 + 200 + 400 + 400 + 400
3:   1400 = -800 + 200 + 200 + 400 + 400 + 400 + 600
4:   2000 = -800 + 200 + 200 + 400 + 400 + 400 + 600 + 600
5:   2800 = -800 + 200 + 200 + 400 + 400 + 400 + 600 + 600 + 800
6:   3600 = -800 + 200 + 200 + 400 + 400 + 400 + 600 + 600 + 800 + 800
7:   4400 = -800 + 200 + 200 + 400 + 400 + 400 + 600 + 600 + 800 + 800 + 800
8:   5400 = -800 + 200 + 200 + 400 + 400 + 400 + 600 + 600 + 800 + 800 + 800 + 1000
9:   6400 = -800 + 200 + 200 + 400 + 400 + 400 + 600 + 600 + 800 + 800 + 800 + 1000 + 1000
```

As you can see it's some kind of 2 - 3 - 2 - 3 increment pattern. If you divide everything by 200, and continue it to level -5 you get:

```-5:   -4 = -4 + 0
-4:   -4 = -4 + 0 + 0
-3:   -4 = -4 + 0 + 0 + 0
-2:   -3 = -4 + 0 + 0 + 0 + 1
-1:   -2 = -4 + 0 + 0 + 0 + 1 + 1
0:    0 = -4 + 0 + 0 + 0 + 1 + 1 + 2
1:    2 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2
2:    4 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2
3:    7 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3
4:   10 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3 + 3
5:   14 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3 + 3 + 4
6:   18 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3 + 3 + 4 + 4
7:   22 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3 + 3 + 4 + 4 + 4
8:   27 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3 + 3 + 4 + 4 + 4 + 5
9:   32 = -4 + 0 + 0 + 0 + 1 + 1 + 2 + 2 + 2 + 3 + 3 + 4 + 4 + 4 + 5 + 5
```

which is exactly the linked sequence:

```[0,0,0,1,1,2,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,
9,10,10,10,11,11,12,12,12,13,13,14,14,14,15,15,16,
16,16,17,17,18,18,18,19,19,20,20,20,21,21,22,22,
22,23,23,24,24,24,25,25,26,26,26,27,27,28,28,28,
29,29,30,30]
```

The sequence formula is simply: An = floor(2n/5)

But unfortunately my math knowledge is not good enough to create a row sum formula out of it which then could be used to exactly calculate the required exp to next level.

-- smartwork

Your math is impressive, but... I'm pretty sure it takes 900 XP to reach level 3 from level 2 (as the page shows), not 800 XP (as your math shows).

--DarkRyder 14:47, 21 July 2006 (EDT)

I tested this at local emu server but it doesn't matter as the exp to next level is calculated client side. Furthermore I just googled this:

So even the table on this wiki page is wrong.

Ok, a friend just made a test at Blizz and you are right, it now takes indeed 900 from 2 to 3. As I still think that the "formula" is in the client and I tested with 1.8.2 which had 800 to 3, I would bet that there is NO FORMULA anymore. I think Blizz once created a table based on the pattern posted above and then adjusted this table over the time at will. So there can never an exact formula be found. :(

Looks like a problem among people who don't know the difference between the "round" function and the "floor" function.

```XP(L) = 100 * round((8*L + DIF(L)) * MXP(L)/100)
L = 2
DIF(2) = 0
MXP(2) = 55
XP(2) = 100 * round((16 * 55)/100)
XP(2) = 100 * round(8.8)
XP(2) = 100 * 9
XP(2) = 900
correct.
```

versus

```XP(2) = 100 * floor(8.8)
XP(2) = 100 * 8
XP(2) = 800
incorrect.
```

To the best of my knowledge, nothing has changed since I wrote this up sometime last fall. It has always taken 900 XP to go from 2 to 3. Here's my original notes, unmodified by wiki editors... http://mosa.unity.ncsu.edu/WoW/library/xptolevel.html

--Greenman 11:50, 24 July 2006 (EDT)

Yes, I think that the page which smartwork links to has a round/floor issue, but I like the idea of trying to come up with a formula for describing XP limits which doesn't involve a difficulty factor (it seems rather fiddly, to me). Still, the MobXP+Diff formula is correct for all the values which I happen to know (I've made enough new characters to know that the 2→3 limit has been 900 XP since the betas), whereas the 3-2-2-3 progression isn't. Greenman, did you check your formula against all 59 limits? If not, I can probably get that data from my guild.

--DarkRyder 09:45, 27 July 2006 (EDT)

Most of them on my own way up to 60. I've long since trashed the piece of paper that I used when recording. You are welcome to re-verify.

As for the DIF being all fiddly... well, that's what they did when the fiddled with it. It's mostly an additional linear term, with a few levels' values massaged to smooth out the transition. --Greenman 11:12, 28 July 2006 (EDT)

My tests showed that 3-2-2-3 sequence is 100 exp behind every 2-3 levels up to level 29. Starting from level 29 it falls behind more and more. At level 59 it results in 160400 instead of 209800. --Drundia 18:56, 22 August 2006 (EDT)

Stupid QuestionEdit

Do level 60's still earn XP now? Will that XP count toward level 70 once Burning Crusade comes out? Will a level 60 with 700,000 XP jump to level 63 when Burning Crusade is installed?--Scalp 10:08, 1 August 2006 (EDT)

XP earned at 60 from quests is converted to gold and it adds up to a fair amount. It will NOT count toward level 70. I assume that we will get a full 1.5 levels of rest XP when it comes out, however. -- Jaxdahl 14:17, 21 September 2006 (EDT)
Well as of Patch 1.12.1 it appears that lvl 60's rest xp has been reset to zero and is no longer accumulating again. -- Jaxdahl 01:32, 29 September 2006 (EDT)

Here are some unofficial numbers I've gleaned from screenshots and am reporting as factual information - it's not official yet so take it with a grain of salt: 60->61 is 325,000 XP and 62->63 is 502,600 XP. Extrapolating these numbers with a few different methods gives a number for 69->70 around 900,000-1,200,000 XP. -- Jaxdahl 14:17, 21 September 2006 (EDT)

60->61 is 415500

--Drundia 17:18, 12 October 2006 (EDT)

Is (MXP(CL) = 45 + (5 × CL)) formula still valid in TBC?

BC Edit

Snippet i got from a forum :

• or click link -> [1]
• 59 - 60 = 210,000 xp
• 60 - 61 = 415,000 xp
• 61 - 62 = 450,000 xp
• 62 - 63 = 480,000 xp
• 63 - 64 = 510,000 xp
• 64 - 65 = 545,000 xp
• 65 - 66 = 575,000 xp
• 66 - 67 = 610,000 xp
• 67 - 68 = 650,000 xp
• 68 - 69 = 685,000 xp
• 69 - 70 = 720,000 xp

Not sure how accurate it is though CJ 10:10, 3 November 2006 (EST)

Table EditEdit

Added a graph to demonstrate more clearly the xp-to-level trends. The regression fits I chose to fit the trends were completely independent of the equations that others gave previously and only reflect an attempt to fit the data that were already given in the table. Feel free to remove the table if you wish, or update it with fits that are defined by the equations given in the Formulas section.

--Axx 03:11, 22 February 2007 (EST)

2.3 Edit

Anyone trying to figure out the new Formula?

Also I noticed that someone added an incomplete table listing the new amount of experience needed to level up, however I think it's also inaccurate as the required experience listed for lvl 10-20 is different from the pre-2.3 table and, according to Blizzard, lvls 1-20 remained untouched.

Mareth! 04:29, 14 October 2007 (UTC)

Ok.. I went to the PTR and start asking everyone the amount of XP needed to get to the next level and experience from lvl 10 to 20 has indeed been slightly decreased. I'll update the table with the new data I obtained. Mareth! 04:56, 14 October 2007 (UTC)

I just did a quick spreadsheet comparing the 2.2 XP with the reported 2.3 XP. Here's what I got:

(snip - deleted now that the % change info is in the table on the "main" page).

So far, other than the occasional tweak caused by rounding to a different multiple of 100, it looks like the reduction in XP-to-level is 0% until level 13, starts ramping up around level 14, and hits a consistent value of about 18% (give or take rounding error) sometime between levels 18 and 33.

-- Rmunn 05:01, 14 October 2007 (UTC)

I'm powerleveling a character on the PTR, and I'll be keeping track of UnitXPMax at each level to verify here. I just hit 10.

Badken 05:20, 14 October 2007 (UTC)

FYI, the following macro will report the max XP for your current level:

/script DEFAULT_CHAT_FRAME:AddMessage("Level "..UnitLevel('player').." max XP = "..UnitXPMax('player'))

Badken 05:26, 14 October 2007 (UTC)

It will probably take too long to get to 70 on the PTR, a faster way would be to /who spam everyone of a certain level asking them to tell you the XP needed for their level. Mareth! 06:11, 14 October 2007 (UTC)

I think I've got the formula for the XP-per-level change.

```PCT = MIN(LVL-10, 18) / 100
NEW_XP = FLOOR_100(OLD_XP * (1-PCT))
```

Where FLOOR_100 is a function that rounds down to the nearest 100.

I just put together a quick Python script to test this, and that formula matched the recorded values everywhere. Unless levels 45, 50, 57 or one of the levels above 60 yields a surprise, I think we have our conversion formula.

Now to figure out what that formula does to the quadratic calculate-XP-from-level formula (65x^2 - 165x - 6750) posted earlier for the pre-2.3 XP values...

-- Rmunn 00:06, 17 October 2007 (UTC)

I did the math to get the new formula for 11-27. It's:

```FLOOR_100(-.4x^3+40.4x^2+396x)
```

where x is the level.

The formulas are all the same, except that all levels higher than 27 and lower than 60 have had the experience to level multiplied by .82

-- Lordnivlak 00:02, 24 March 2008 (UTC)

Updated the page with the new formulas, and removed the outdated tag.

-- Lordnivlak 01:07, 24 March 2008 (UTC)

Wrath of the Lich King Edit

Starting with patch 3.0.2, the XP required to level has been lessened for levels 60-70, presumably so that players can reach Northrend more quickly with new characters such as Death Knights. Based on inquiries on the PTR (as of build 8982), the new XP values appear to be:

 Level Pre-WotLK Post-WotLK % reduction in XP to reach next level 60 494,000 290,000 41.3% 61 574,700 317,000 44.8% 62 614,400 349,000 43.2% 63 650,300 386,000 40.6% 64 682,300 428,000 37.3% 65 710,200 475,000 33.1% 66 734,100 527,000 28.2% 67 753,700 585,000 22.4% 68 768,900 648,000 15.7% 69 779,700 717,000 8.0%

Note that the "pre-WotLK" XP values above were taken directly from the XP table on the main Formulas:XP_To_Level page. I have verified that the number for level 60 is correct on the live realms, but I haven't verified any of the other numbers since I don't have any characters of level 61 to 69 anymore. If someone double-checks those pre-Wrath numbers on live and finds a discrepancy, please correct the above table.

--WoWWiki-Rmunn (talk) 15:52, 27 September 2008 (UTC)

Exp past 70 Edit

UnitXPMax("player") returned 814700 for Level 70 players pre-2.4. In 2.4 it was updated to return 1256500. It seems we can have a preliminary estimate of experience to 80 of about 1.4 million or so. --Drundia 11:53, 10 April 2008 (UTC)

The AllPlayed mod will cash any values for XP to level that it doesn't already know. I made sure that the beta version on files.wowace.com works with WotLK.

Y ou will find the AllPlayed.lua in the WTF\Account\<Account name>\SaveVariables folder. In that file, look for a section like this:

```["cache"] = {
["XPToNextLevel"] = {
["8770"] = {
[70] = 1256500,
},
},
},
```

The 8770 represent the patch revision.

I'm looking forward to know the new values so I can update the addon :-) --LaoTseu (talk) 03:30, 10 August 2008 (UTC)

WotLK values known so far:

Level UnitXPMax("player")
70 1256500
71 1269500
75 1322800
77 1350100

--LaoTseu (talk) 21:37, 10 August 2008 (UTC)

Cumlitave XP to level (Errors) Edit

Level Total Required XP Level Total Required XP Level Total Required XP Level Total Required XP
1 0 21 179900 41 1038300 61 3858700
2 400 22 202300 42 1116800 62 4433400
3 1300 23 226300 43 1199600 63 5047800
4 2700 24 251800 44 1286700 64 5698100
5 4800 25 279000 45 1378300 65 6380400
6 7600 26 307900 46 1473600 66 7090600
7 11200 27 338400 47 1574600 67 7824700
8 15700 28 370600 48 1680400 68 8578400
9 21100 29 404500 49 1791100 69 9347300
10 27600 30 440800 50 1906800 70 10127000
11 35200 31 479600 51 2027700
12 43900 32 521200 52 2153800
13 53700 33 565800 53 2285300
14 64700 34 603800 54 2422300
15 77000 35 655200 55 2564800
16 90600 36 710200 56 2713000
17 105600 37 768900 57 2867000
18 122000 38 827600 58 3026900
19 139800 39 893800 59 3192700
20 159100 40 964000 60 3364700

Curiously, this doesn't agree with the XP to level table in the main article. Anyone able to see where I went wrong? I appear to be ~500k XP in front, so I'm not quite sure how much is wrong.

Twillik (talk) 09:24, 27 August 2008 (UTC)

Levels 1-10 Edit

When trying to duplicate these max xp values using the supplied information, I run into problems rounding levels 1-10. Previously the MAX xp of level 2 was discussed as being a difference between 800 and 900.

This is caused by Rounding DOWN vs Rounding. The article states that XP values are always rounded down to the nearest 100, yet this does not seem to be the case for levels 1-10. Please see details below.

If a simple round is used all values for 1-10 match with the table in the article.

If all values are rounded down, then levels 2, 4, 7, and 9 deviate from the articles table.

As many people have stated that they have tested that the xp cap for lvl 2 is 900, I am curious where I am getting these different values.

40x^2+360x where x = 2

40 *(2^2)+360(2)
40(4)+360(2)
160+720 = 880

If rounded down as suggested in the article, we get 800. Have I gone sideways somewhere?

XP to Level, Patch 4.1 Edit

 Lvl - XP to reach next lvl 1 - 400 2 - 900 3 - 1400 4 - 2100 5 - 2800 6 - 3600 7 - 4500 8 - 5400 9 - 6500 10 - 6700 Lvl - XP to reach next lvl 11 - 7000 12 - 7700 13 - 8700 14 - 9700 15 - 10800 16 - 11900 17 - 13100 18 - 14200 19 - 15400 20 - 16600 Lvl - XP to reach next lvl 21 - 17900 22 - 19200 23 - 20400 24 - 21800 25 - 23100 26 - 24400 27 - 25800 28 - 27100 29 - 29000 30 - 31000 Lvl - XP to reach next lvl 31 - 33300 32 - 35700 33 - 38400 34 - 41100 35 - 44000 36 - 47000 37 - 49900 38 - 53000 39 - 56200 40 - 74300 (unchanged to WotLK XP)

to be continued...

--Sternweh (talk) 09:04, May 27, 2011 (UTC)
--Sternweh (talk) 07:58, June 6, 2011 (UTC)

Seems weird that level 10 is higher then level 11...
--LaoTseu (talk) 12:30, June 11, 2011 (UTC)
lvl 10 was wrong. 6700, not 7600. thx!
--Sternweh (talk) 13:37, June 14, 2011 (UTC)