# Talk:Experience

22,503pages
on this wiki

## Back to page

This talk page is for discussing Experience.

## Reorganization 10 Nov 2008Edit

I reorganized the entire article into several sections. I rearranged the paragraphs and grouped them together under "Gaining Experience", with a subsection involving the exponential growth of experience. The "Combat Experience" section is two equations from the Skills article plus the monster equation, which was for some reason under "See Also" in this article. I think the "Relationship with Level" section is self-explanatory. "Equations" is composed of new information that I put together (and also put on the Skills article) about the mathematical relationship, and "Table" retains the table of levels and experience. I also tweaked some bits and pieces like fixing grammar, adding links, and removing redundant information caused by my new additions. -- Jared 68.97.56.173 23:23, 10 November 2008 (UTC)

## Alternate UsesEdit

Can't "XP" also translate as ":P" with a laugh at the same time? While rarely used in RS, I've come across it several times here, and it's more common amongst games that don't feature the alternate meaning of Experience Points. Is it worth including? —The preceding unsigned comment was added by Yleron (talk) on 2007-05-24T12:01:53.

If it's rarely used in RS, and this wiki is about RS, it seems a bit too obscure to include. If anyone does see XP written in public chat or on a talk page here on the wiki, they will probably get that it's an emoticon from the context. So I guess I would say no it's not really worth including. Leevclarke talk 00:42, 17 June 2008 (UTC)
I may change my mind about this. Maybe we should list all reasonable interpretations, and leave the user to pick the most appropriate from the context of where they see it. Usually there will be no ambiguity. Leevclarke talk 18:38, 30 June 2008 (UTC)

## Exp calculation? Edit

The experience scale is is a linear decay. The equation is something like this;

Y=0.90572581463947592807398535639101X-.000001

When this equation is graphed onto a chart, it shows the decreasing experience needed to be a level. On a graph of 10x10 blocks, it starts at (9,9) and goes to (0,0). (9,9) represent level 99 and (0,0) represents level 1.

Just some extra information. Talk Contrib

is the formula for Runescape's Xp(the formula in equation form where L is the level you're calculating for) --Alex 14:26, 12 February 2008 (UTC)

Does anyone know how/why we know that equation? I can't imagine that someone spent enough time analyzing the curve to get an exact fit, but how else would we know that? I've always wanted to know, and maybe that would make a good addition to the article. Mischlings 18:37, 12 April 2009 (UTC)

Well that would be the best way to work it out. There's two curves I can think of that can be used (level against experience at level, and level verses experience since last level). Since either curve is obviously exponential (as the $y$ value starts small and gets large very quickly), you have a base for an equation in terms of $x$ and $y$ (along the lines of $y=k^x+c$ where $y$ is experience, $x$ is level, and $k$ and $c$ are unknown constants). Then messing around with that equation, possibly some calculus, and maybe some computerised methods of determining curves' equations, you could come up with formula above. 19:37, 12 April 2009 (UTC)
A better way to find out is to look in the actual code that calculates the xp table(yes I mean Runescape's source code).
If you know java you can download the client(http://world1.runescape.com/runescape.jar), decompile it so you have code that 'can be understood'.
Then search in the code for a array of ints with a size of 120(search for int[120]). If you've found that variable you can search the code that assings the variable. That code will be the 'formula' for the required xp for a level. However, this code is obfuscated and diffucult to understand(here is the code: http://pastebin.com/Wvuzwr5B).
I've 'deobfuscated' it and made a java method. It proofs that the formulas shown on this page are 100% accurate. It also means that you can see howmany xp lvl 200 would take, or lvl 1000.

This is extremely interesting but I fail at maths, can anyone show a graph that sums up the above formula for the unenlightened like myself?--86.149.45.110 20:09, 16 July 2009 (UTC)

When the floor() function is removed from above equation one can obtain:

experience = { 75*2^(L/7) }/{ 2^(1/7) -1 } + (1/8)*L^2 - L/8 - 150/{ 2-2^(6/7) }

The errors accumulate from level 1 to 99 with 98 having the largest error in this range.

An error correction: -( 0.0996*L + 0.612) gives an error bounds of +/- 0.757 in the range of L=1 to 99.

Final approximate equation is:

experience = {75*2^(L/7)}/{2^(1/7) -1} + (1/8)*L^2 - L/8 - 150/{2-2^(6/7)} -( 0.0996*L + 0.612) ; |error| <= 0.757

## XP Table Error Edit

Shouldn't level 1 be 0 xp? You start out with no experience at level 1...

Also, there is an error in the table. Level 16 shows less xp than 15!

When I put the xp formula into excel, I got the following info, which is slightly off from the table in the article.

Level Exp. Exp. Diff
100
28383
317592
4277102
5389112
6513124
7651137
8803152
9970168
101,155185
111,360204
121,585226
131,834249
142,109275
152,413304
162,748335
173,118370
183,526408
193,976450
204,473497
215,021548
225,626605
236,294668
247,032737
257,845814
268,743898
279,734991
2810,8281,094
2912,0351,207
3013,3671,332
3114,8371,470
3216,4601,623
3318,2511,791
3420,2281,977
3522,4102,182
3624,8192,409
3727,4782,659
3830,4132,935
3933,6523,240
4037,2293,576
4141,1763,948
4245,5344,358
4350,3444,811
4455,6555,310
4561,5175,862
4667,9896,472
4775,1337,144
4883,0207,887
4991,7278,707
50101,3399,612
51111,95110,612
52123,66611,715
53136,60012,934
54150,87914,279
55166,64215,764
56184,04617,404
57203,26019,214
58224,47321,213
59247,89223,420
60273,74825,856
61302,29528,546
62333,81131,516
63368,60634,795
64407,02238,416
65449,43542,413
66496,26146,826
67547,96051,699
68605,03957,079
69668,05863,019
70737,63569,577
71814,45276,818
72899,26484,812
73992,90293,638
741,096,286103,383
751,210,429114,143
761,336,451126,022
771,475,589139,138
781,629,208153,619
791,798,816169,608
801,986,076187,260
812,192,826206,750
822,421,095228,269
832,673,123252,028
842,951,382278,259
853,258,603307,221
863,597,800339,198
873,972,303374,502
884,385,785413,482
894,842,305456,519
905,346,341504,036
915,902,840556,499
926,517,263614,423
937,195,638678,376
947,944,624748,985
958,771,568826,945
969,684,587913,019
9710,692,6391,008,052
9811,805,6161,112,977
9913,034,4411,228,825
100*

Daves.not.here 18:33, 1 September 2008 (UTC)

The formula isn't wrong, it's just an approximation. The equation on the page right now, , is an approximation of the true equation, which Alex has posted above. You can see that if you neglect the floor functions in the true equation, you will get this approximation. It seems to me to be a good approximation, since it is only off by 10 XP at level 99. As for the other things you mention, it seems someone fixed that in October. -- Jared 68.97.56.173 20:24, 6 November 2008 (UTC)
This issue should be resolved with my reorganization today. I put both the exact equation and the approximation in the "Equations" section. -- Jared 68.97.56.173 23:40, 10 November 2008 (UTC)

## 1-98 = 98-99 Edit

One of my friends told me he calculated some lvl differences, and he realized that the xp for 1-98 is the same as the xp for 98-99, but i didn't believe. Is it true?-- 18:54, January 3, 2010 (UTC)

Of course it's not true. Just look at the experience table, levels 96-98 is more than 98-99. UXPRGrwojy 18:58, January 3, 2010 (UTC)
Thanks. It was too impossible, 99ers would've been a lot rarer if that would've been true. Thanks.-- 19:02, January 3, 2010 (UTC)

## PvP Exp Edit

I have a question about PvP experience: i know the PvM experience is 4 x damage, but i never read anywhere or haven't heard any method of calculation of the PvP exp/damage. Is it the same as for revenants (1 x damage)? Please answer, help is appreciated. Also, is it the same for every place (Duel Arena, FoG, Wilderness)?-- 19:01, January 3, 2010 (UTC)

Honestly, I don't know, but I believe pvp experience is the same as the pvm rate (4x). UXPRGrwojy 19:03, January 3, 2010 (UTC)
I don't know either, but i'm curious, as it was never mentioned. I'm still open to other answers, but you might be right.-- 19:04, January 3, 2010 (UTC)

## Fastest Experience Edit

Now that Jagex has once again lowered the requirement for F2P use of forums to 5 million xp, I would like to ask which skill and way is the fastest. I know that prayer is slower than firemaking or cooking, but is the fastest way to get experience? AthenScholar 14:16, March 16, 2010 (UTC)

## Xp+ Edit

I have a button in runescape called xp+ when I play. Is that to show how much experience I gained while playing or is it some kind of bonus? I haven't played in a long time so I don't know. You should mention this, in this article.. 83.134.165.203 17:33, April 12, 2010 (UTC)

## Stop the nonsense Edit

Okay, the code examples in the equations section are really getting out of hand. If anyone seriously wanted to implement the experience in some larger program, implementing the formula from it's mathematical form should be the least of his worries. There is no need for it to be written in every programming language that ever existed.

While I don't actually think that any examples are needed, I have edited the page to leave just the Java example, as this is closest to how it may actually be implemented in game.

I'd like to ask people not to revert this edit, start adding code examples again, or changing the remaining example to a different language, unless they have a good reason for doing so, in which case I'd ask them to also leave a message here. ~Artwich 18:21, November 7, 2010 (UTC)

## Reverse Formula Edit

I would like to know the formula for converting XP to a level. I would assume you just reverse the mathematical operation, but exactly which operations do you reverse? 98.219.170.108 16:10, January 22, 2011 (UTC)

Solution: Create an array with the minimum value of experience of each level: array('1' => 0, '2' => '83' [....]) and so on, using the formula in the article. (You may want to serialize the array in a flat file). I wrote a PHP script that will do this;

``` ```

```function findLevelbyXP(\$xp){\$levels = unserialize(file_get_contents('levels.dat'));\$xp = (int)\$xp;asort(\$levels);reset(\$levels);while (key(\$levels) !== false) {\$level = key(\$levels);\$current = current(\$levels);\$next = next(\$levels);if (\$xp >= \$current && \$xp < \$next) {\$level = (int)\$level;return \$level;}}} ```

98.219.170.108 20:29, January 23, 2011 (UTC)

## Graph Edit

I believe that the Graph of Level vs. Experience Needed and Level vs. Experience to Next Level should be in base-10 log. because the graph is virtually useless for levels 1-70.

Agreed. I created a plain old Exponential aproximation graph on Windows Excel and when converted to the Y scale being the experience at a Base 10 log the entire thing fit fairly nicely in a straight line. I would prefer the exact equation but do not know how to place it in the Wikia. However plotting all the points would pretty much get you a straight line being 120 of em...cept the first few where it jumps around a bit. I Never knew that jagex would actually create a formula then actually implement it. I thought they just picked a few points matched it to a fairly complicated forumula copied down the intiger results then used each and every value seperatly. After all its only 120 of them right? Johnboomking 23:18, April 26, 2011 (UTC)

## Combat Formulas Edit

I believe there is a mistake with the combat experience formulas, d*2/.5 is just d * 4, but it isn't like that anymore, now it is d/2.5. Thanks.Sam 3010 (talk, contribs) 07:38, May 8, 2011 (UTC)

## 3 billion exp Edit

Seems like Elias capped at 3 billion exp, this could be subject to change but he's been at 3 billion for at least a day or 2, and round numbers, which isn't typical.

Could he be actually maxed?

24.12.194.125 22:58, July 29, 2011 (UTC)

Undoing whoever removed the 3 billion experience stuff, Elias hasn't gained any experience since, Telmo seems to have quit... its either an elaborate hoax or Elias has permanently maxed... And Jagex is known for arbitrary exp ceilings... How do any of us know that 5 billion experience is the cap.

24.12.194.125 05:11, August 6, 2011 (UTC)

After adding all of Elias' stats together, I've gotten 2,894,413,720 total. This is probably just another database error with the highscores, such as levels being shown higher than they actually were.

## Experience Multipliers Edit

The multiplier for combat experience, for slayer monsters at least, can be easily found by comparing the expected slayer exp per kill with the actual awarded exp. For instance, the Living Rock Protector has 2000 lifepoints, but gives 225 slayer exp when killed. Thus, *every* hit gives 225/200 = 112.5% the exp it would otherwise. The same goes for other slayer monsters with non-normal experience awards. 174.109.59.198 00:36, August 2, 2011 (UTC)

<p />

# Files

52,796files on the wiki
See all files >