Talk:Experience: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
 
(24 intermediate revisions by 14 users not shown)
Line 191: Line 191:
[[User:Qgpr|Qgpr]] 20:03, 5 Mar 2005 (GMT-5)
[[User:Qgpr|Qgpr]] 20:03, 5 Mar 2005 (GMT-5)


: |x| is modul'''us''' - gives the absolute value of function, i.e. |-0.5| = 0.5. Modul'''o''' is simply represented as ''mod'' in mathematics. Anyway, while we do not have TeX at the moment, you can try this instead - leave the original math formula as a <nowiki><!-- COMMENT --></nowiki>, and copy the image from Wikipedia (it will generate the image on preview, so you can download that and reupload it here. Don't overdo it of course.)
: |x| is modul'''us''' - gives the absolute value of function, i.e. |-0.5| = 0.5. Modul'''o''' is simply represented as ''mod'' in mathematics. Anyway, while we do not have TeX at the moment, you can try this instead - leave the original math formula as a <nowiki><!-- COMMENT --></nowiki>, and copy the image from Wikipedia (it will generate the image on preview, so you can download that and reupload it here. Don't overdo it of course.) {{unsigned|Zhen Lin}}


: ||x|| ( double | ) is what I was taught here at college, but I guess is not an standard, however I found what it seems is the standard, and used the UTF code to show it. However <*pre> is not happy with <*sub>, you should find a way around because mine doesn't look that good. By the way it was "greatest integer" not maximum, problems for using a direct translation. [[User:Qgpr|Qgpr]] 22:16, 5 Mar 2005 (GMT-5)
: ||x|| ( double | ) is what I was taught here at college, but I guess is not an standard, however I found what it seems is the standard, and used the UTF code to show it. However <*pre> is not happy with <*sub>, you should find a way around because mine doesn't look that good. By the way it was "greatest integer" not maximum, problems for using a direct translation. [[User:Qgpr|Qgpr]] 22:16, 5 Mar 2005 (GMT-5)
Line 262: Line 262:
So we need to reach a conclusion. There will be a note added that says these values are stored in the game as constants, not calculated. The formulas, I guess, do not have to be specific to any system of number storage now, so are we saying that the decimal constants are acceptable? [[User:Sheep|Sheep]] 15:04, 6 Mar 2005 (UTC)
So we need to reach a conclusion. There will be a note added that says these values are stored in the game as constants, not calculated. The formulas, I guess, do not have to be specific to any system of number storage now, so are we saying that the decimal constants are acceptable? [[User:Sheep|Sheep]] 15:04, 6 Mar 2005 (UTC)


===quick question===
==quick question==
Why does Level redirect here? An even better question is, why does this page link to Level, thus linking back to itself? --[[user:greengiant|greengiant]]
Why does Level redirect here? An even better question is, why does this page link to Level, thus linking back to itself? --[[user:greengiant|greengiant]]


Line 1,472: Line 1,472:


The erratic formula's piecewise functions are defined inclusively in all inequalities, and thus overlap.
The erratic formula's piecewise functions are defined inclusively in all inequalities, and thus overlap.
[[Image:Math-formula5.png|left]] [[Image:Expcalc_erratic.png|right]]
<!-- [[Image:Math-formula5.png]] has been deleted; equivalent LaTeX has been placed here instead-->
<div style="float: left"><math>
e(n) =
\begin{cases}
\dfrac{n^3(100-n)}{50} & n \le 50 \\
\dfrac{n^3(15-n)}{100} & 50 < n \le 68 \\
\dfrac{n^3\left \lfloor\dfrac{1911-10n}{3}\right \rfloor}{500} & 68 < n \le 98 \\
\dfrac{n^3(160-n)}{100} & 98 < n < 100
\end{cases}
</math></div>
 
<!-- [[Image:Expcalc_erratic.png]] has been deleted; equivalent LaTeX has been placed here instead-->
<div style="float: right"><math>
EXP =
\begin{cases}
\dfrac{n^3(100-n)}{50} & n \le 50 \\
\dfrac{n^3(15-n)}{100} & 50 \le n \le 68 \\
\dfrac{n^3\left \lfloor\dfrac{1911-10n}{3}\right \rfloor}{500} & 68 \le n \le 98 \\
\dfrac{n^3(160-n)}{100} & 98 \le n \le 100
\end{cases}
</math></div>
 
<div style="clear:both"></div>
<div style="clear:both"></div>
The left formula is how I believe it should be, the right is the current one. -- [[User:Pokey|Pokey]] 07:38, 27 May 2010 (UTC)
The left formula is how I believe it should be, the right is the current one. -- [[User:Pokey|Pokey]] 07:38, 27 May 2010 (UTC)
Line 1,503: Line 1,524:
Small extra note: to be rather fussy, similar remarks could be made about the way the article used "continuous" before I removed it: these functions are defined on the integers, and since there is no way of talking about limits on a finite set of integers, you can't talk about continuity either. (The integers are called discrete or totally disconnected because of the way the topologies on them must be defined, if anyone wants more detail.) Of course, this also means you can't use asymptotic notation in this case at all... [[User:Chappers|Chappers]] 00:32, 24 July 2010 (UTC)
Small extra note: to be rather fussy, similar remarks could be made about the way the article used "continuous" before I removed it: these functions are defined on the integers, and since there is no way of talking about limits on a finite set of integers, you can't talk about continuity either. (The integers are called discrete or totally disconnected because of the way the topologies on them must be defined, if anyone wants more detail.) Of course, this also means you can't use asymptotic notation in this case at all... [[User:Chappers|Chappers]] 00:32, 24 July 2010 (UTC)


: Alright, I'll remove that part. A friend of mine also said it was inappropriate too.
: Alright, I'll remove that part. A friend of mine also said it was inappropriate too. [[User:Ztobor|Ztobor]] 19:39, 24 July 2010 (UTC)
:: Also, about the "continuous" function part, I can see why it's notation abuse now. I just meant to say that it wasn't piecewise, and could be represented as one function. I guess "polynomial" is a good compromise if we can't really find a suitable word for it. [[User:Ztobor|Ztobor]] 19:42, 24 July 2010 (UTC)
:: Also, about the "continuous" function part, I can see why it's notation abuse now. I just meant to say that it wasn't piecewise, and could be represented as one function. I guess "polynomial" is a good compromise if we can't really find a suitable word for it. [[User:Ztobor|Ztobor]] 19:42, 24 July 2010 (UTC)


Line 1,576: Line 1,597:
Okay, here it is:
Okay, here it is:


[[File:Delta_exp_gen5.png]]
<math>\Delta EXP = \left( {a \times t \times b \times e \times L \over 5 \times s} \times {L + 2 \over L_p + 2} \right) + 1</math>


The only differences in the formula is that the 7 has now been changed to a 5, and the d<sub>L</sub> represents the level relationship factor, which I'm still trying to figure out. Also, a constant of 1 is now added to all experience point yields, probably to prevent defeated monsters from yielding 0 experience points due to a low d<sub>L</sub> modifier. [[User:Ztobor|Ztobor]] 03:00, 25 October 2010 (UTC)
The only differences in the formula is that the 7 has now been changed to a 5, and the d<sub>L</sub> represents the level relationship factor, which I'm still trying to figure out. Also, a constant of 1 is now added to all experience point yields, probably to prevent defeated monsters from yielding 0 experience points due to a low d<sub>L</sub> modifier. [[User:Ztobor|Ztobor]] 03:00, 25 October 2010 (UTC)
Line 1,614: Line 1,635:
As far as we know right now, this is the new formula for experience used in Gen.5:
As far as we know right now, this is the new formula for experience used in Gen.5:


[[File:Delta_exp_gen5.png]]
<math>\Delta EXP = \left( {a \times t \times b \times e \times L \over 5 \times s} \times {L + 2 \over L_p + 2} \right) + 1</math>


If you think this formula might not apply to a certain type of battle, append your case to the bottom of this post with the following data:
If you think this formula might not apply to a certain type of battle, append your case to the bottom of this post with the following data:
Line 1,947: Line 1,968:
: Note that big brackets '[]' means truncate decimals
: Note that big brackets '[]' means truncate decimals


: [[File:Exp_process_1_totalexp.png]]
: <math>TotalExp = [b \times L \times a]</math>


: [[File:Exp_process_2_partexp.png]]
: <math>PartExp = aux1 \times \left[{totalExp \over 5 \times s1}\right] + aux2 \times \left[{totalExp \over 5 \times s2}\right]</math>


: [[File:Exp_process_3_multiplier.png]]
: <math>Multiplier = \left[{ [(2L + 10)^{2.5}] \times 1000 \over [(L + L_p + 10)^{2.5}] }\right]</math>


: [[File:Exp_process_4_sfinal.png]]
: <math>sFinal = \left[{ partExp \times multiplier \over 1000 }\right] + 1</math>


: [[File:Exp_process_5_finalexp.png]]
: <math>finalExp = [ [ [ sFinal \times t ] \times e ] \times p ]</math>


:[[File:Exp_process_6_mixed.png]]
: <math>Mixed = \left[{ \left[{ \left[{ \left( \left[ { \left( aux1 \times \left[ {[b \times L \times a] \over 5 \times s1} + aux2 \times \left[{ [b \times L \times a] \over 5 \times s2 }\right] \right) \times \left[{[(2L + 10)^{2.5}] \times 1000 \over [(L + L_p + 10)^{2.5})] } \right] \right] \over 1000} \right] + 1 \right) \times t }\right] \times e }\right] \times p }\right]</math>
: Where
: Where
: b is the base experience yield of the fainted Pokémon′s species, listed here.
: b is the base experience yield of the fainted Pokémon′s species, listed here.
Line 2,053: Line 2,074:


First, there are two different experience formulas:
First, there are two different experience formulas:
[[File:Delta exp gen6.png|frame|left|Standard experience formula used in Generation I-IV and VI]]
{{redlink|File:Delta exp gen6.png|Standard experience formula used in Generation I-IV and VI}}
[[File:Delta exp gen5.png|frame|left|Scaled experience formula used only in Generation V]]
{{redlink|File:Delta exp gen5.png|Scaled experience formula used only in Generation V}}


So, we calculate these following using these two above formulas (Base experience since Generation V are Ledyba: 53, Caterpie: 39, Pichu: 41):
So, we calculate these following using these two above formulas (Base experience since Generation V are Ledyba: 53, Caterpie: 39, Pichu: 41):
Line 2,633: Line 2,654:
Erratic:
Erratic:


The third formula in the piecewise function ((n^3((1911-10n)/3))/500) only works for every third level starting at Level 69 ending at Level 96. Every third level starting at Level 70 and ending at Level 97 should be the following formula: (n^3((1909-10n)/3))/500, changing 1911-10n to 1909-10n. Every third level starting at Level 71 and ending at Level 98 should be the following formula: (n^3((1910-10n)/3))/500, changing 1911-10n to 1910-10n.
The third formula in the piecewise function ((n^3((1911-10n)/3))/500) only works for every third level starting at Level 69 ending at Level 96. Every third level starting at Level 70 and ending at Level 97 should be the following formula: (n^3((1909-10n)/3))/500, changing "1911-10n" to "1909-10n". Every third level starting at Level 71 and ending at Level 98 should be the following formula: (n^3((1910-10n)/3))/500, changing "1911-10n" to "1910-10n".




Line 2,644: Line 2,665:


I created an Excel spreadsheet to test out these corrected formulas for the stated levels, and everything checks out. The reason I found this mistake was because I was trying to replicate the graphs shown at the top of the Experience page, and I wasn't getting the same result for those specific formulas stated above. The pictures showing the formulas next to Erratic and Fluctuating should be changed to reflect these corrected formulas. [[User:KL13470|KL13470]] 05:52, 13 Sep 2019 (UTC)
I created an Excel spreadsheet to test out these corrected formulas for the stated levels, and everything checks out. The reason I found this mistake was because I was trying to replicate the graphs shown at the top of the Experience page, and I wasn't getting the same result for those specific formulas stated above. The pictures showing the formulas next to Erratic and Fluctuating should be changed to reflect these corrected formulas. [[User:KL13470|KL13470]] 05:52, 13 Sep 2019 (UTC)
:It looks like you may have missed the floor function when entering the formulae. In Excel you can use the INT function, for example the Erratic function would be expressed as (A1^3 * INT((1911-10*A1)/3)/500 (if the desired level is in cell A1). [[User:Arcorann|Arcorann]] ([[User talk:Arcorann|talk]]) 11:39, 26 December 2019 (UTC)
== Black 2 and White 2 experience cap ==
EDIT: Never mind I seem to have missed the relevant section.
In his video [https://www.youtube.com/watch?v=vqO96ZJKFt0 video], Pokétips analyzed the maximum Experience obtainable in a single encounter and the experience gain is capped at 100'000. This applies specifically to B2W2 only and should be added to the experience formula/algorithm or 'Experience Gain' section.
== experience past level 101 ==
in generations 1 and 2 would Pokémon above level 100 still gain experience or does it automatically go back to level 100 and does that set it back to the lowest amount of experience at level 100 [[User:Wild Starfish|Wild Starfish]] ([[User talk:Wild Starfish|talk]]) 23:51, 21 March 2020 (UTC) [[User:Wild Starfish|Wild Starfish]] ([[User talk:Wild Starfish|talk]]) 23:51, 21 March 2020 (UTC)
== Isn’t Pokémon rated Everyone? ==
Look at this paragraph.
“Due to the erraticness of this function, it actually takes fewer experience points to go from level 99 to 100 than it does to go from level 69 to 70.”
Look closely at “than it does.” Then keep looking right.
If you see 69, you know what I mean.
I believe this section should be removed.{{unsigned|Gmaxwell}}
:Yeah... no. It's just a number. There's no reason to think children would know that meaning.--[[User:Force Fire|<span style="color:#00A1E9">'''F'''</span><span style="color:#59C2F1">orce</span>]][[User talk:Force Fire|<span style="color:#BF004F">'''F'''</span><span style="color:#D5598C">ire</span>]] 04:44, 14 April 2020 (UTC)
== Go Park Pokemon Exp Bonus ==
Pokemon transferred from Go to Let's Go via Go Park get the Let's Go player's OT info and are not considered outsider Pokemon (e.g. they can be freely renamed and will never disobey regardless of number of badges), but they still get an experience bonus. I believe it's 1.5x (just like the bonus for outsider Pokemon), though I'm not sure about that. Additionally, I'm not sure if that stacks with the outsider bonus or not (which could be tested by trading to a different Let's Go file after transfer).--[[User:Goukazaru|Gou]] ([[User talk:Goukazaru|talk]]) 05:14, 21 July 2020 (UTC)
== Gen VII Formula Experimentation ==
I decided to try and figure out the formula while I was level grinding in Ultra Sun, and made a spreadsheet so I could do all the math. (Seen here - you can also use it to check my work: https://drive.google.com/file/d/1hf8zIm2yTlZhh1LT22K2L7ffr7PJdS3y/view?usp=sharing )
Setup:<br />
EXP share on, Roto EXP on, all pokemon with affection LV 2<br />
Slot 1: Level 100 pokemon (uncounted, never switched out)<br />
Slot 2: Native pokemon with lucky egg<br />
Slot 3: International traded pokemon<br />
Slot 4: Traded pokemon (not international)<br />
Slot 5: Event distributed pokemon<br />
Slot 6: Traded pokemon (not international), unevolved with everstone
Takeaways:<br />
-Affection (f) seems to still multiply EXP, though being a high enough level to evolve (v) does not (unless the everstone messes with it somehow).<br />
-When (a*b*L) is changed to (a*b*L*f), and the +1 in the formula is removed, the EXP predicted by the formula consistently falls within +/-3 EXP of the actual earned EXP<br />
-Additionally, the difference with the actual earned EXP is +/-1 a majority of the time<br />
I am not a mathematician, so I'm at a loss for how to get any closer than that; again, if anyone wants to use my data to fiddle, it's available and you're more than welcome! (There's also a clearer render of the new formula within the spreadsheet) [[User:Sukineko123|Sukineko123]] ([[User talk:Sukineko123|talk]]) 18:13, 29 June 2021 (UTC) (previously unsigned)
:One thing to keep in mind is that since Gen 5, most numbers are stored as fixed precision decimal numbers. (From Gen 1-4, they are almost always just stored as integers.) After every calculation, you have to truncate the result to 4096ths. If you're getting really close to the real values but not exactly, that would likely explain it. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 09:07, 27 June 2021 (UTC)
:: I have made an error but also now I know the formula for certain. Ponyta's affection was at zero, not LV 2 like I though (I must have soft-reset that change away by mistake). However, because of that, that means in order for me to have gotten the calculations that I did, (v) IS in play. Therefore considering what SnorlaxMonster said above (and after double-checking again to be sure this time) this is the Gen VII formula: [https://lh6.googleusercontent.com/Rwxkuhx62zl7nUNACJ-UEQfvadpVmLwfMTv-iUq1OFjSP3F6-JPkL79Pa1AZufEa8cqYH-WxBI4LUG9I6J4i=w1920-h902 as a link because I can't seem to find an image upload button]
::I don't know how to properly add this onto the page, or if in doing so I should keep the +1 from the Gen V formula, as the page does mention "each generation generally makes its own additions or tweaks to the previous mechanics." But regardless, the above image is the most accurate formula for Gen VII [[User:Sukineko123|Sukineko123]] ([[User talk:Sukineko123|talk]]) 18:13, 29 June 2021 (UTC)
:::Your image link doesn't work. I would suggest using another service such as imgur.com to upload the image. Alternatively, if it's just an image of a formula, you can render formulas directly on Bulbapedia by using TeX markup inside <code><nowiki><math></math></nowiki></code> tags. You can see examples of how to do that on this page.
:::Files can be uploaded to Bulbapedia via [[Special:Upload]] (located on the sidebar under "Upload file"), but you cannot upload images unless your account is {{bulbapedia|autoconfirmed}} (which yours is not). And we generally prefer that users do not upload images to the Archives unless they will be used on content pages—it is preferred that users do not upload images solely to use on talk pages. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 10:48, 30 June 2021 (UTC)
== Experience yield ==
I can't find the list of Pokemon by experience yield. Is it even on wiki?--'''[[User:Team Rocket Grunt|<span style="color:#CC0000">Rocket</span>]] [[User talk:Team Rocket Grunt|<span style="color:#666666">Grunt</span>]]''' 20:26, 2 February 2022 (UTC)
:It's part of the effort value list, for whatever reason. It's probably better to split it off into its own page, possibility as one large page to compare all yields considering bunch of Pokémon have changed their EXP yield in games other than Black and White.[[User:Eridanus|Eridanus]] ([[User talk:Eridanus|talk]]) 20:35, 2 February 2022 (UTC)
== Inverted Formula for Medium Slow ==
In case anyone is curious about how to determine what level your Pokémon will be at with a given EXP value (I do this all the time when grinding the E4), I've factored out the cubic polynomial for Medium-Slow.
Not sure if it's worth posting on the page, leave that to the mods.
Also I don't know how you guys did the math format in previous posts, so bear with me :).
Medium-Slow formula
<br>
Given level L, EXP value Y
<br>
Y=1.2*L^3 - 15*L^2 + 100*L - 140
Inverted Medium-Slow formula
<br>
Given level L, EXP value Y
<br>
G(Y)=(5*sqrt(81*Y^2-16695*Y+1387600))/108 + (15*Y-4150)/36 + 15625/216)^⅓    <- take the cube root of the enclosed polynomial
<br>
L=G(Y) - 125/(12*G(Y) + 25/6
Verified by Symbolab
Fast, Slow, and Medium-Fast are all simple directly-proportional relations, so derivation on those is easy.
--[[User:TwilightHylian|TwilightHylian]] ([[User talk:TwilightHylian|talk]]) 17:21, 7 July 2023 (UTC)

Latest revision as of 17:22, 7 July 2023


The erratic formula

Erratic (600000) E = -1/50*l^4 + 2*l^3 for level<=50

http://www.math.miami.edu/~jam/azure/forum/tuff/ultimatebb.php?ubb=get_topic;f=1;t=001260

It's mentioned in the thread that level 45 does not work for that. Level 45 is 100273, not 100237. Sheep 16:42, 21 Feb 2005 (UTC)

Nevermind the previous message, I figured it out myself. Sheep 18:09, 21 Feb 2005 (UTC)

Simplify the formulas

Was that copied from matlab or something? It can be simplified...

((0.814 - 0.02*(((n - 69) / 3) - (((n - 69) / 3) modulo 1)) - ep(((n - 69) modulo 3))(n^3)

((0.814 - 0.02*(((n - 69) / 3) - float_part((n - 69) / 3) ) - ep(((n - 69) modulo 3))(n^3)
((0.814 - 0.02*( int((n - 69) / 3) ) - ep(((n - 69) modulo 3))(n^3)
((0.814 - 0.02*( int(n/3 - 23) ) - ep(((n - 69) modulo 3))(n^3)
((0.814 + 0.46 - 0.02*( int(n/3) ) - ep(((n - 69) modulo 3))(n^3)

int(  (  1.274 - 0.02*(int(n/3)) - ep(n%3)  ) * (n^3)  )
That would be easier to read.
2*(1 - 0.01n)*(n3)
= int( 2n3 - 0.02n4 )
(  1 - ((n - 50)*0.01)  ) * (n^3)
= int( 1.5n3 - 0.01n4 )
(1.6 - 0.01n) * (n3)
= int( 1.6n3 - 0.01n4 )


Qgpr03:05, 01 Mar 2005

I really want to avoid using expressions that are not standard math notation. I don't even know if there's a way to represent some integer rounding using standard math notation, just some pseudo-code, that's why I stuck mod 1 subtraction in there. My plan was to simplify/clean it up once TeX was implemented on bulbapedia.

In the meanwhile you can simplify them. Just keep "mod" or "modulo" instead of "%" and avoid "int()." Sheep 20:20, 1 Mar 2005 (UTC)


The big problem is that when I first read that I got confused. No person that would bother to understand that formula wouldn't know how to program anyways, to represent that rounding you use ||x|| I think, maximum integer, unless I got the symbol wrong, long time I don't touch math. I'll leave that formula but also add the simplification for anyone that wants someting simplier to read. I will also simplify your standard math formulas, but won't add the ||x|| because I am not sure if its the right symbol, those - 69 can be taken out of modulo since they will be equal to zero. Qgpr 20:03, 5 Mar 2005 (GMT-5)

|x| is modulus - gives the absolute value of function, i.e. |-0.5| = 0.5. Modulo is simply represented as mod in mathematics. Anyway, while we do not have TeX at the moment, you can try this instead - leave the original math formula as a <!-- COMMENT -->, and copy the image from Wikipedia (it will generate the image on preview, so you can download that and reupload it here. Don't overdo it of course.) - unsigned comment from Zhen Lin (talkcontribs)
||x|| ( double | ) is what I was taught here at college, but I guess is not an standard, however I found what it seems is the standard, and used the UTF code to show it. However <*pre> is not happy with <*sub>, you should find a way around because mine doesn't look that good. By the way it was "greatest integer" not maximum, problems for using a direct translation. Qgpr 22:16, 5 Mar 2005 (GMT-5)

First shot at a TeX markup image. Using

\begin{math}
b \star x \rightarrow \frac{b}{x} - (\frac{b}{x}\;mod\;1)
\end{math}

\addvspace{.2cm}

\begin{math}
e(n) = \left\{
\begin{array}{clrr}
n^3(\frac{100 - n}{50}); & 0 < n \leq 50 \\*
n^3(\frac{150 - n}{100}); & 51 \leq n \leq 68 \\*
n^3(1.274 - \frac{1}{50}(n\star3) - p(n\;mod\;3)); & 69 \leq n \leq 98 \\*
n^3(\frac{160 - n}{100}); & 99 \leq n \leq 100 \\*
\end{array}
\right\}
\end{math}

\addvspace{.2cm}

\begin{math}
p(x) = \left\{
\begin{array}{clrr}
0.000; & x = 0 \\*
0.008; & x = 1 \\*
0.014; & x = 2 \\*
\end{array}
\right\}
\end{math}

I came up with


Kind of cramped. Does it meet the approval of you two? Looking for revisions before I even post it. Especially since I forgot how to properly represent a custom operator (\star). Is that how? Sheep 03:32, 6 Mar 2005 (UTC)

This seems better:

\begin{equation}
E(n) = \left\{ \begin{array}{ll}
\frac{n^{3} \left(100 - n\right)}{50}, & \textrm{if $0 < n \leq 50$} \\
\frac{n^{3} \left(150 - n\right)}{100}, & \textrm{if $51 < n \leq 68$} \\
n^{3} \left(1.274 - \frac{1}{50}\left\lfloor\frac{n}{3}\right\rfloor -p\left(n \bmod 3\right)\right), & \textrm{if $69 < n \leq 98$} \\ 
\frac{n^{3} \left(160 - n\right)}{100}, & \textrm{if $99 < n \leq 100$}
\end{array}\right.
\end{equation}

\begin{equation}
p(m) = \left\{ \begin{array}{ll}
0.000, & \textrm{if $m = 0$} \\
0.008, & \textrm{if $m = 1$} \\
0.014, & \textrm{if $m = 2$}
\end{array}\right.
\end{equation}

But when I tested it on Wikipedia, there were a few problems, so if we do get around to installing Texvc, we'll have to go hammer those problems out. Also, I'd appreciate it if we could find the exact fractions for those decimalised numbers - after all, the computer works in binary, not decimal - hence we won't have 0.008, we might instead have 523/65536 (or maybe 8/1000, but the result would still be stored as a binary fraction) - 刘 (劉) 振霖 07:22, 6 Mar 2005 (UTC)

I updated texerratic.png up there with something that looks more like yours. I didn't use Wikipedia for mine, I was using TeXnicCenter. I think the decimals are all right how they are, because they actually are more correct. I don't know exactly how the games handle decimal arithmetic, but it appears that the formulas use values accurate to 3 decimal places. (525/65536) or (523/65536) are not exactly 0.008, and if you put in those values, you'll get numbers that are off (I got about 6 points off for level 70). Sheep 13:47, 6 Mar 2005 (UTC)

Mmm. Since the experience points have to be accurate to about 7sf - I think the fractions should therefore be accurate to 7sf as well. But it might well be that they did use integer multiplication + division (× 8 ÷ 1000) rather than a simpler constant floating point multiplication (× (1 + 402653/224) × 2-7) - which is approximately how accurate a single-precision IEEE 754 binary fraction is. Funnily enough, IEEE 754 single-precision fractions are accurate to approx 7sf (without exponentiation) by defintion (this one is 0.008 correct to 11sf)). - 刘 (劉) 振霖 14:40, 6 Mar 2005 (UTC)

Hmm. I just learned from Meowth that the game simply stores the values for these as constants in the game, so the fractions are just best-fit and the formula is not used in-game - 刘 (劉) 振霖 14:44, 6 Mar 2005 (UTC)

So we need to reach a conclusion. There will be a note added that says these values are stored in the game as constants, not calculated. The formulas, I guess, do not have to be specific to any system of number storage now, so are we saying that the decimal constants are acceptable? Sheep 15:04, 6 Mar 2005 (UTC)

quick question

Why does Level redirect here? An even better question is, why does this page link to Level, thus linking back to itself? --greengiant

Sorry my reply is formatted wrong, I don't know how to do it normally yet. Anyway, the last time I checked, Level is its own, seperate article. Maybe they fixed the problem you saw before. {{SUBST:Superbreeder]] What's up? 23:30, 16 October 2008 (UTC)

Modify this!

Can someone modify the erratic and the fluctuating part of experience? I want to understand it like all the other ones!

I think those formulas should be explained. It would help quite a lot of people who want to understand those formulas but haven't seen them before.Dullstar 02:16, 26 June 2010 (UTC)


Color-Coded

I color-coded the exp type descriptions to more-or-less match the colors used on the graph. I did this to make it easier to distinguish them from eachother. I wonder where I can find the look-up table in the game, I bet I can simplify those two honking large piecewise formulas. Twigpi 15:51, 20 November 2007 (UTC)

See http://www.upokecenter.com/games/rs/guides/exptable.html. The "1,050,000" in one of the top columns is a typo (should be "1,059,860"). At Level 1, the Experience is always "0" (here, they have it at "1"). Ultraflame 22:53, 10 December 2007 (UTC)

Organize Pokémon

I really think there should be either a list of Pokémon by experience types or a category for each type. You can find out on each particular Pokémon's page, but there is no way to find Pokémon based on their experience type. Cheesus Is Lord 13:23 23 January 2008

Here is the whole list. Someone could modify it and put it into the main article.
600000
Nincada/Ninjask/Shedinja
Volbeat
Swablu/Altaria
Zangoose
Lileep/Cradily
Anorith/Armaldo
Feebas/Milotic
Clamperl/Huntail/Gorebyss
Cranidos/Rampardos
Shieldon/Bastiodon
Finneon/Lumineon

800000
Cleffa/Clefairy/Clefable
Igglybuff/Jigglypuff/Wigglytuff
Happiny/Chansey/Blissey
Ledyba/Ledian
Spinarak/Ariados
Togepi/Togetic/Togekiss
Marill/Azumarill
Aipom/Ambipom
Misdreavus/Mismagius
Snubbull/Granbull
Corsola
Delibird
Smeargle
Skitty/Delcatty
Mawile
Spoink/Grumpig
Spinda
Lunatone
Solrock
Shuppet/Banette
Duskull/Dusclops/Dusknoir
Chingling/Chimecho
Luvdisc
Glameow/Purugly

1000000
Caterpie/Metapod/Butterfree
Weedle/Kakuna/Beedrill
Rattata/Raticate
Spearow/Fearow
Ekans/Arbok
Pichu/Pikachu/Raichu
Sandshrew/Sandslash
Vulpix/Ninetales
Zubat/Golbat/Crobat
Paras/Parasect
Venonat/Venomoth
Diglett/Dugtrio
Meowth/Persian
Psyduck/Golduck
Mankey/Primeape
Ponyta/Rapidash
Slowpoke/Slowbro/Slowking
Magnemite/Magneton/Magnezone
Farfetch'd
Doduo/Dodrio
Seel/Dewgong
Grimer/Muk
Onix/Steelix
Drowzee/Hypno
Krabby/Kingler
Voltorb/Electrode
Cubone/Marowak
Tyrogue/Hitmonlee/Hitmonchan/Hitmontop
Lickitung/Lickilicky
Koffing/Weezing
Tangela/Tangrowth
Kangaskhan
Horsea/Seadra/Kingdra
Goldeen/Seaking
Mime Jr./Mr. Mime
Scyther/Scizor
Smoochum/Jynx
Elekid/Electabuzz/Electivire
Magby/Magmar/Magmortar
Ditto
Eevee/Vaporeon/Jolteon/Flareon/Espeon/Umbreon/Leafeon/Glaceon
Porygon/Porygon2/Porygon-Z
Omanyte/Omastar
Kabuto/Kabutops
Sentret/Furret
Hoothoot/Noctowl
Natu/Xatu
Bonsly/Sudowoodo
Yanma/Yanmega
Wooper/Quagsire
Unown
Wobbuffet
Girafarig
Dunsparce
Qwilfish
Teddiursa/Ursaring
Slugma/Magcargo
Remoraid/Octillery
Phanpy/Donphan
Poochyena/Mightyena
Zigzagoon/Linoone
Wurmple/Silcoon/Beautifly/Cascoon/Dustox
Wingull/Pelipper
Surskit/Masquerain
Nosepass/Probopass
Meditite/Medicham
Plusle
Minun
Numel/Camerupt
Torkoal
Barboach/Whiscash
Baltoy/Claydol
Castform
Snorunt/Glalie/Froslass
Bidoof/Bibarel
Burmy/Wormadam/Mothim
Pachirisu
Buizel/Floatzel
Cherubi/Cherrim
Shellos/Gastrodon
Buneary/Lopunny
Stunky/Skuntank
Bronzor/Bronzong
Spiritomb
Croagunk/Toxicroak
Rotom

1059860
Bulbasaur/Ivysaur/Venusaur
Charmander/Charmeleon/Charizard
Squirtle/Wartortle/Blastoise
Pidgey/Pidgeotto/Pidgeot
Nidoran-F/Nidorina/Nidoqueen
Nidoran-M/Nidorino/Nidoking
Oddish/Gloom/Vileplume/Bellossom
Poliwag/Poliwhirl/Poliwrath/Politoed
Abra/Kadabra/Alakazam
Machop/Machoke/Machamp
Bellsprout/Weepinbell/Victreebel
Geodude/Graveler/Golem
Gastly/Haunter/Gengar
Mew
Chikorita/Bayleef/Meganium
Cyndaquil/Quilava/Typhlosion
Totodile/Croconaw/Feraligatr
Mareep/Flaaffy/Ampharos
Hoppip/Skiploom/Jumpluff
Sunkern/Sunflora
Murkrow/Honchkrow
Gligar/Gliscor
Shuckle
Sneasel/Weavile
Celebi
Treecko/Grovyle/Sceptile
Torchic/Combusken/Blaziken
Mudkip/Marshtomp/Swampert
Lotad/Lombre/Ludicolo
Seedot/Nuzleaf/Shiftry
Taillow/Swellow
Whismur/Loudred/Exploud
Sableye
Budew/Roselia/Roserade
Trapinch/Vibrava/Flygon
Cacnea/Cacturne
Kecleon
Absol
Spheal/Sealeo/Walrein
Turtwig/Grotle/Torterra
Chimchar/Monferno/Infernape
Piplup/Prinplup/Empoleon
Starly/Staravia/Staraptor
Kricketot/Kricketune
Shinx/Luxio/Luxray
Combee/Vespiquen
Chatot
Riolu/Lucario
Shaymin

1250000
Growlithe/Arcanine
Tentacool/Tentacruel
Shellder/Cloyster
Exeggcute/Exeggutor
Rhyhorn/Rhydon/Rhyperior
Staryu/Starmie
Pinsir
Tauros
Magikarp/Gyarados
Lapras
Aerodactyl
Munchlax/Snorlax
Articuno
Zapdos
Moltres
Dratini/Dragonair/Dragonite
Mewtwo
Chinchou/Lanturn
Heracross
Swinub/Piloswine/Mamoswine
Mantyke/Mantine
Skarmory
Houndour/Houndoom
Stantler
Miltank
Raikou
Entei
Suicune
Larvitar/Pupitar/Tyranitar
Lugia
Ho-Oh
Ralts/Kirlia/Gardevoir/Gallade
Slakoth/Vigoroth/Slaking
Aron/Lairon/Aggron
Electrike/Manetric
Carvahna/Sharpedo
Tropius
Relicanth
Bagon/Shelgon/Salamence
Beldum/Metang/Metagross
Regirock
Regice
Registeel
Latias
Latios
Kyogre
Groudon
Rayquaza
Jirachi
Deoxys
Gible/Gabite/Garchomp
Hippopotas/Hippowdon
Skorupi/Drapion
Carnivine
Snover/Abomasnow
Uxie
Mesprit
Azelf
Dialga
Palkia
Heatran
Regigigas
Giratina
Cresselia
Phione
Manaphy
Darkrai
Arceus

1640000
Shroomish/Breloom
Makuhita/Hariyama
Illumise
Gulpin/Swalot
Wailmer/Wailord
Seviper
Corphish/Crawdaunt
Drifloon/Drifblim
Ultraflame 20:45, 23 January 2008 (UTC)

I like this idea and think it would be useful. Anyone else agree? Eric the espeon 19:43, 25 November 2008 (UTC)

Yes, but I don't know if it belongs on this page. We could create categories, but I think I like the idea of another page better, like List of Pokémon by experience requirement, or something. — Laoris (Blah) 19:52, 25 November 2008 (UTC)

Makes sense, and link to that list from here? Eric the espeon 18:19, 4 December 2008 (UTC)

???

If the formula returns a decimal, is the result rounded up or down? --Shiny Noctowl 15:39, 26 May 2008 (UTC)

Always rounded down, I believe. Ultraflame 22:59, 26 May 2008 (UTC)

Hmm...

Does anyone else think that a chart that lists the experience needed to reach each level in an experience group would be a good addition to this page? TTEchidna 05:20, 1 July 2008 (UTC)

yes MathijsP 07:22, 1 July 2008 (UTC)
I added the charts, but, as I had a computer program generate them, I haven't been able to check the piecewise ones yet. It would be good if someone else could check the piecewise functions ("erratic" and "fluctuating") to make sure they're correct. --Shiny Noctowl 00:15, 29 September 2008 (UTC)
the "Erratic" one is messed up. lvl 98 is 1.2 million, and lvl 99 is under 600,000. also, thats a lot of text, so, i added the show/hide ability. -- MAGNEDETH 00:24, 29 September 2008 (UTC)
It's still messed up. Can you fix it please? --Shiny Noctowl 00:27, 29 September 2008 (UTC)
i dont know how to fix it, i just added the show/hide things. im just noting its not right. you said you had a computer do it. try again? -- MAGNEDETH 00:29, 29 September 2008 (UTC)
The formula for Level 98 comes out to 583539, which is correct. Ultraflame 23:05, 29 September 2008 (UTC)
well thats fine, but currently it says lvl 98 is 1185901, which it wrong. -- MAGNEDETH 23:21, 29 September 2008 (UTC)

Pokémon Gold/Silver Version ROM - Hack-O-Matic - "Secret" Experience functions

I'm sure someone else has noticed that if you use the ROM hack tool Hack-O-Matic to open a Pokémon Gold/Silver ROM and edit Pokémon, there will be eight "experience gradient" choices for each Pokémon as opposed to the four that were actually used in Generation II. I've figured out three of the four "secret" functions, and due to a glitch in Hack-O-Matic I can't examine the fourth one.
Hack-O-Matic displays the eight experience functions as eight "types" (the numbers go from Level 2 to 100):

2

Same as Fifth Type

5

First Type

6

Fourth Type

7

Sixth Type

8

Unknown due to glitch in Hack-O-Matic. Hack-O-Matic provides graphs for each experience function, but they may not be accurate. Do you want me to upload that graph's picture anyway?
Are these "hidden" experience functions notable enough to be added to the article somewhere? Thanks. Ultraflame 20:44, 12 October 2008 (UTC)

I dont understand any of this? Could you make it clearer for the average user to be able to read, if an average person sees that they wont be able to understand it, only smart people will --Guardian of Earth |SGMS 2010

When a Pokémon gains experience it levels up. Different Pokémon level up at different rates, and take different amounts of experience to gain each level. Some Pokémon level up faster than others. The amount of experience a Pokémon needs to gain a level is determined by one of eight possible formulas. That's really the premise of the whole article. — Laoris (Blah) 18:27, 4 December 2008 (UTC)

oh ok thank you, it was that last line "The amount of experience a Pokémon needs to gain a level is determined by one of eight possible formulas." I didnt really get till you explained it. I just thought they made the pokemon that way, i wasnt aware there was a formula, if this is in the article, can we have the easier to understand version, your version, underneath the complicated bit. --Guardian of Earth |SGMS 2010

I'll add some clarification to the article later. — Laoris (Blah) 18:36, 4 December 2008 (UTC)
Reeeeeaaaaaaally late reply here, but I wrote Hack-O-Matic ages ago. I can tell you that those graphs are definitely not accurate. (I don't remember how exactly I made them, but they're very rough estimations.) I never really examined how the game computes the different EXP growth rates, but I know that four of them are "real" and four of them are "glitched" (and there might even be more than those four glitches). If I had to guess, I'd assume all the EXP growth functions are the same function with different constants plugged in, and the glitch rates just put in strange constants, resulting in silly things like 100K EXP to level 100. (talk) 12:26, 16 July 2014 (UTC)

List of base experence yeald

Can someone add this in as a hide able table?- unsigned comment from Eric the espeon (talkcontribs) ; massive amount of data hidden by trom.

Already in List of Pokémon by effort value yield. Ultraflame 00:42, 21 November 2009 (UTC)

No, that is EV yield.. The list I provided was base EXP yield. Quite a major difference there. Eric the espeon 17:57, 21 November 2009 (UTC)

If you take a look at the article, there's a column marked "Exp.", which contains exactly the same data that you have provided. Confusing, I know. Ultraflame 19:06, 21 November 2009 (UTC)

Ok, fair enough. This article should probably link to that list then, no? Eric the espeon 21:59, 21 November 2009 (UTC)

Negative EXP

According to the "medium slow" formula, the EXP for level 1 should be -54. This is exploited in the Pokémon Blue TAS. However there's no sign of this in the article. Was it fixed in later games? - unsigned comment from Gyorokpeter (talkcontribs)

It was fixed as of Generation III at the latest, I believe. According to the article, "Due most likely to the issue of speed when using these formulas, the GBA games will simply use a lookup table for each value of any type instead of computing them. Because of this, these formulas are not actually part of the game mechanics." Ultraflame 05:41, 22 December 2009 (UTC)

Experience gain in battle

The section on the experience gained in battle only mentions the total experience gained, and not how experience is spread throughout multiple participants in the battle. That information seems like a useful mechanic and should be appended by someone who can add it. --Naokohiro 19:21, 9 January 2010 (UTC)

It is divided evenly among participants, unless some participants have EXP share or whatever. In this case, they receive their share plus the bonus from the held item. —darklordtrom 03:56, 10 January 2010 (UTC)
How is it divided among arbitrary amounts of Pokémon involved in the battle, and Pokémon with Exp. Share, including cases where Pokémon have both an Exp. Share and participated in the battle? There are many different cases. For example, when some Pokémon have Exp. Share and some don't, but some of the Pokémon with Exp. Share participated and some didn't, but also some Pokémon without Exp. Share that did participate, etc. --Naokohiro 04:41, 14 January 2010 (UTC)
I don't know exactly how experience is divided among multiple Exp. Share holders (does each Pokémon with Exp. Share receive (1/(number of Exp. Shares + 1))*(total experience), or does each receive (1/2)*(total experience)*(1/number of Exp. Shares), or something else?), but the experience that is not allocated solely as a result of Exp. Share being held is always divided evenly among the participants of the battle, regardless of whether or not those participants hold Exp. Share. Ultraflame 06:22, 14 January 2010 (UTC)

Switching???

I'll give an example.

Say I have a Charizard out, and the opponent has Venusaur. The opponent switches to Blastoise, and later I switch to Raichu. If the opponent switches back to Venusaur, and I KO it, will my Charizard still gain exp? - AxxonntheAwesometrainer 20:59, 4 May 2010 (UTC)

No, at least not in my experience. The Pokémon must face the Pokémon since it has last been sent out from its Poké Ball. Werdnae (talk) 21:40, 4 May 2010 (UTC)
Nope. Tried it before. ht14 21:59, 4 May 2010 (UTC)

Errors with formulas?

I was just double-checking the erratic output based on the formula given, when I realized that the given formula is impossible, in programming terms. Specifically, the game would never output two values for levels 50, 68, and 98, as the current formula shows it does. So I checked to see what the correct distribution of the formulas was, and came up with the following: level 50 could go either way, as both formulas it is attributed to result in the same output, level 68 is calculated based on the second formula given, and level 98 is calculated on the final formula. In other words, the actual division of the formulas should be something along the lines of the first applying to levels below or equal to 50, the second applying to levels greater than 50 but less than or equal to 68, the third applying to levels greater than 68 but less than to 98 (or, to keep similar formatting, apply to levels greater than 68 but less than or equal to 97), and the final one applying to levels greater than or equal to 98 (or, to keep formatting, apply to levels greater than 97). Glitchfinder 03:31, 6 May 2010 (UTC)

It would also appear that quite a bit has been left out of the fluctuating piecewise function. Specifically, it would appear that the formula used for levels one through 14 will change based on the level modulo 3, resulting in three different yet very similar formulas for these levels. The middle levels, from 15 to 34, remain with the same formula that is given. However, it would appear that there are two separate formulas used for levels 35 to 100, determined by the level modulo 2. Here is the code I was using to test the function, which is written in Ruby:

test.fluctuating[1] = 0
for i in 2...101
  if i >= 1 && i < 15 && i % 3 == 0
    val = ((i.to_f ** 3.0) * ((24.0 + ((i.to_f) / 3.0)) / 50.0))
  elsif i >= 1 && i < 15 && i % 3 == 1
    val = ((i.to_f ** 3.0) * ((24.0 + ((i.to_f - 1.0) / 3.0)) / 50.0))
  elsif i >= 1 && i < 15 && i % 3 == 2
    val = ((i.to_f ** 3.0) * ((24.0 + ((i.to_f + 1.0) / 3.0)) / 50.0))
  elsif i >= 15 && i < 35
    val = ((i.to_f ** 3.0) * ((14.0 + i.to_f) / 50.0))
  elsif i >= 35 && i <= 100 && i % 2 == 0
    val = ((i.to_f ** 3.0) * ((32.0 + (i.to_f / 2.0)) / 50.0))
  elsif i >= 35 && i <= 100 && i % 2 == 1
    val = ((i.to_f ** 3.0) * ((32.0 + ((i.to_f - 1.0) / 2.0)) / 50.0))
  end
  test.fluctuating[i] = val.truncate
end

Please note that the code is given as a demonstration of how the formulas are chosen, and does not include the necessary setup for the test variable. I don't know the Wikipedia math functions well enough to replace the image, so it would be a good idea for someone else to do it instead. Glitchfinder 05:17, 6 May 2010 (UTC)

I believe that the modulo operator business is already covered in the formulas, using the floor function symbol (looks a little like square brackets). But I do agree that the erratic functions' domains should be clarified as you said. Ultraflame 05:25, 6 May 2010 (UTC)
That would certainly explain the problem. There should probably be a note stating that those values are actually encased in a floor function, and not simply placed within brackets. (I had to look quite closely to see that they were in fact the floor function symbols, and not simply brackets, like I had assumed they were) Glitchfinder 05:47, 6 May 2010 (UTC)

Understanding the formulas

Could anyone tell me what is ment with "N" in the formulas? I can't find it anywhere on the page. - unsigned comment from Ragnearoa (talkcontribs)

"n" generally means "number" when used in equations as a variable, in this case... I believe the "n" stands for the base experience given out by a Pokemon. ▫▫ティナ 15:21, 20 May 2010 (UTC)
"n" actually represents the level of the Pokémon. "e(n)" is therefore the number of Exp. Points a Pokémon needs to get from level 1 to level "n". Ultraflame 01:21, 21 May 2010 (UTC)

Erratic formula

The erratic formula's piecewise functions are defined inclusively in all inequalities, and thus overlap.

The left formula is how I believe it should be, the right is the current one. -- Pokey 07:38, 27 May 2010 (UTC)

At the overlaps, the values are equal. Ztobor 22:34, 15 July 2010 (UTC)

Does Not Compute

The Trivia sections on the species pages for Arceus, Blissey and Chansey all state that they give 13,933 experience at level 100 when owned by a Trainer. But based on the way that the experience given in battle formula is written right now (with a being 1 plus an additional possible 1.2 depending on Trainer status, trade, and foreign language), it only equals 8,014, not 13,933.

a=2.2 b=255 L=100 a+b+L=56,100 56,100/7=8,014

Add a Lucky Egg (multiply by 1.5) onto that and you only get 12,021. The only way to get the 13,933 is to multiply 1.5 for the trade and 1.7 for the foreign language after the initial Trainer experience (with a being 1.5) has been calculated, not to add .5 and .2 to a. --PhantomJunkie 17:17, 17 July 2010 (UTC)

We'd better look into that. Perhaps you don't add 0.5 to a, but multiply a by 1.5 instead. I'll see about it. Ztobor 02:50, 22 July 2010 (UTC)
Hold on, you mean: if you calculate 1.5x for the Lucky Egg, 1.7x for the foreign language trade, and 1.5x for the Trainer battle as well.
If we're going by that logic, it might actually be that you multiply everything, instead of adding to the multiplier. In which case it would actually be 14,753 experience points. I'll still have to look into it. Ztobor 02:58, 22 July 2010 (UTC)
Okay, I found out. I tried battling against a trainer's Level 28 Mime Jr. with a German-traded Gabite holding a Lucky Egg. The base Exp. is exactly 312, and it gained 1193, which is 1.5 x 1.7 x 1.5. So yes, you actually do need to multiply 1.5 twice, and the article as it stands now is wrong. Ztobor 03:18, 22 July 2010 (UTC)
Fixed. Ztobor 03:57, 22 July 2010 (UTC)

Minor wording issue

I didn't want to just go in and edit this without asking. The section on the Experience Underflow glitch contains the following sentence: It is due to this bug that no level 1 Pokémon can be found in the wild without glitching or hacking the game, and why, even though level 2-4 Pokémon can be found wild, Pokémon hatched at level 5 in the first two generations. However, since breeding and, by extension, hatching eggs wasn't added until Generation II, shouldn't the sentence be changed to state that "Pokémon hatched at level 5 in the second generation"? The following paragraph refers to level 5 hatching in Generation III, so I don't feel it's necessary to add it here. --PhantomJunkie 08:08, 19 July 2010 (UTC)

Changed to "Pokémon hatched at level 5 when eggs were introduced in Generation II." Ultraflame 01:30, 20 July 2010 (UTC)

Use of asymptotic notation

It's not really appropriate to use asymptotic notation in the manner this article does currently: the notion is not really useful unless the functions tend to 0 or infinity, as we can write many statements that say equally true and unhelpful things. For example, all six functions in the article are O(1) at n=100, or O(n), or O(n^10) (using the lim sup definition in the Wikipedia article, for example), none of which show the detail we want.

In other words, the notation is effectively meaningless the way it is being used. Perhaps considering f(x)-f(100) would be better.

Small extra note: to be rather fussy, similar remarks could be made about the way the article used "continuous" before I removed it: these functions are defined on the integers, and since there is no way of talking about limits on a finite set of integers, you can't talk about continuity either. (The integers are called discrete or totally disconnected because of the way the topologies on them must be defined, if anyone wants more detail.) Of course, this also means you can't use asymptotic notation in this case at all... Chappers 00:32, 24 July 2010 (UTC)

Alright, I'll remove that part. A friend of mine also said it was inappropriate too. Ztobor 19:39, 24 July 2010 (UTC)
Also, about the "continuous" function part, I can see why it's notation abuse now. I just meant to say that it wasn't piecewise, and could be represented as one function. I guess "polynomial" is a good compromise if we can't really find a suitable word for it. Ztobor 19:42, 24 July 2010 (UTC)

Where to put this?

A graph showing the number of experience points required to go from one level to the next.

I created a table with the number of experience points required to go from one level to the next level, not just from level 1 to a level, but the formula won't fit anywhere.

Image is to the right. Ztobor 20:26, 24 July 2010 (UTC)

Misleading names

The Medium Slow (a.k.a. Parabolic) function is not actually strictly slower than the Medium Fast (a.k.a Cubic) function.

The only functions that are actually strictly ordered in terms of speed of levelling up are the Slow, Medium Fast, and Fast functions. The other three are all quirky.

What I'd suggest is renaming the Medium Fast function to simply Medium, and rename the Medium Slow function to... something. I still need to come up with a name, hence why I haven't actually edited the page yet. Ztobor 00:44, 1 August 2010 (UTC)

You could just change it to "Parabolic", but do leave a reminder that there exist different names for the experience functions. In my opinion "Erratic" and "Fluctuating" are okay names for their respective functions. Ultraflame 04:51, 1 August 2010 (UTC)
Or, to go with the quirky nature of the function compared to the others, rename it to "Quirky". Because "parabolic" is a huge misnomer. What do you think? (I didn't say anything about Erratic or Fluctiating... o_O) Ztobor 17:25, 1 August 2010 (UTC)
Hard to say, since you're the first person I've ever seen to refer to that experience function as "Quirky". I just mentioned Erratic and Fluctuating because you didn't, and I wasn't sure what your own opinion was on those names. Ultraflame 22:07, 1 August 2010 (UTC)
Well, I didn't mention those, but I think they're perfectly fine. It was just the four that were "ranked" by speed that I had a problem with - and even then it's only the Medium Slow one simply because it doesn't even fit into that rank nicely. Ztobor 13:34, 2 August 2010 (UTC)
Actually, even those three names should probably be changed to "Cubic", "Fast Cubic", and "Slow Cubic". It just doesn't make sense to rank them all by speed if they vary so much. Ztobor 13:36, 2 August 2010 (UTC)
You could try something like "Fast (Cubic)", "Medium (Cubic)", and "Slow (Cubic)". As for 1059860, we might be able to get away with calling it "Parabolic" and adding a note that the name only refers to the existence of a "not-purely-cubic" part in the function. Ultraflame 01:06, 4 August 2010 (UTC)
Not to mention all the article-renaming we'd have to do. >_< Ztobor 14:48, 4 August 2010 (UTC)

Experience table for PMD

It seems random, at least from what I've played so far. I have a character named Vino the Torchic, and here's her experience table for levels 7 through 15:

Level Exp.
7 410
8 700
9 1250
10 2250
11 4150
12 7290
13 10430
14 15430
15 (etc.)

I don't see a formula here at all. Does anybody have the full table? Ztobor 23:43, 4 August 2010 (UTC)

Okay, no, I did find a table, from UPokeCenter. But man, those numbers are arbitrary. From levels 16 through 24, the EXP. required to get to the next level is always 6000. o_O Ztobor 23:47, 4 August 2010 (UTC)

New Exp. gain formula

I'm doing research on it right now, by watching playthroughs. Apparently, there's actually a +1 in the formula >_> Ztobor 02:47, 25 October 2010 (UTC)

Okay, here it is:

The only differences in the formula is that the 7 has now been changed to a 5, and the dL represents the level relationship factor, which I'm still trying to figure out. Also, a constant of 1 is now added to all experience point yields, probably to prevent defeated monsters from yielding 0 experience points due to a low dL modifier. Ztobor 03:00, 25 October 2010 (UTC)

Do you know if any rounding down is involved in the calculation? Hexagon Theory 03:50, 7 November 2010 (UTC)
There is, but I don't know where it applies. Ztobor 14:00, 7 November 2010 (UTC)
This formula can't be correct; no matter where I apply or don't apply rounding, I get slightly higher or slightly lower values than the experience I actually get in the game. Also, unless this one formula gets special treatment out of all the formulas in the game, the Pokémon games round down after every division or any other operation resulting in a non-integer, so if this were literally it, the level factor could never be anything between 0 and 1. Dragonfree 14:37, 7 November 2010 (UTC)
I think it multiplies by the defeated Pokémon's level + 2 first. It's been correct every time I've checked it, at any rate. Ztobor 03:48, 9 November 2010 (UTC)
Could you include some of your calculations and data? It could speed up finding out what's going on here. Dragonfree 23:00, 13 November 2010 (UTC)
Okay, take your first battle with the other starters - Level 5 vs. Level 5 (a level multiplier of 1) gives you 43 experience points. The starters' base yield is 28, which is multiplied by 1.5 because it's a trainer battle, giving you 42. No other multipliers apply, so you add 1 to 42 which gives you 43. Ztobor 22:57, 15 November 2010 (UTC)
For that matter, could you report some of your own data? You might be applying the wrong formula. I'll set up a report section on the talk page for it.

Okay, I'm new here so I hope I'm not breaking any rules, but so far, the formula looks pretty accurate. I've only begun research on this a few days ago, battling my Yooterii against wild Pokemon around Route 1 of levels 2 through 4. I kept my Yooterii as the 'constant,' creating a data table as it levels from battles against wild Pokemon.

From the experiences gained, I've been able to construct this formula:

[(base experience)(level)/5] + 1 = total experience.

However, this is only when both the user's and wild Pokemon's levels are equal. The only question I have is what all of the variables represent, such as a and e. Again, I'm very new to this, so any explanation would be greatly appreciated. Thanks!

P.S. I am constructing a large data table for various battles. Would anyone like to help me, or be interested in the data?

--Xazel 06:50, 4 March 2011 (UTC)

Sorry, but we got to all this information already. The only thing left to do now is to find out how the relative level multiplier works. Ztobor 00:26, 12 March 2011 (UTC)
Also, what the variables represent are on the page itself. a represents "trainer battle", t represents "trainer ownership", b represents "base", e represents "lucky egg", l represents "level", and s represents "share", or "exp.share". Ztobor 00:26, 12 March 2011 (UTC)

Can anyone tell me what the above ^2.5 power means? We're discussing this on Yahoo Answers and I'm trying to calculate what would actually happen if a level 70 Pokemon took down a level 70 Latias or Latios. It doesn't matter because they yield the same EXP Points at any given level. (MichaelXD 09:01, 7 January 2012 (UTC))

Base EXP

The page currently says that the Pokemon that gives the most base EXP is Blissey with 608 - only every other page on this wiki and on other sites says that it's only 255. (Tabunne, for the record, has a yield of 390.) It also says that the fifth-gen starters give the least at 28; this time, the NUMBER is right, but Magikarp still apparently only gives 20. What gives? --HeroicJay 22:51, 25 October 2010 (UTC)

Those yields are still from before Generation V. The information on other pages is correct for Generations IV and prior. I haven't had the time nor the patience to change them all yet. Ztobor 00:43, 26 October 2010 (UTC)
Magikarp's yield is now 40, BTW. Just so you know Ztobor 00:44, 26 October 2010 (UTC)

Report anomalies in the new Exp. gain formula

As far as we know right now, this is the new formula for experience used in Gen.5:

If you think this formula might not apply to a certain type of battle, append your case to the bottom of this post with the following data:

  • The Pokémon that was defeated, and its level.
  • The Pokémon that were involved in the battle, and their levels.
  • Whether the battle was a Trainer battle or not.
  • Whether the Pokémon involved were holding any items.

Your support is much appreciated. Ztobor 23:01, 15 November 2010 (UTC)

Report 1 (example)

On the GameFAQ's forums, a user named JakeisaLie reported the following: A Level 48 Tabunne, was defeated by a level 52 Rotom holding a Lucky Egg, and yielded 5119 experience points instead of 5201 as the formula predicts.

The level difference multiplier, in this case, seems to be 72/79 (48 / 52+(2/3)), instead of 50/54 (48+2 / 50+2). Ztobor 16:25, 23 December 2010 (UTC)

Watched some playthroughs of the first bit of the game...

... and what I found is below. I didn't record what Pokémon were used to battle, because I didn't think it was relevant. None of the Pokémon were holding any experience-affecting items. Format is

<level of player's Pokémon> vs. <level of defeated Pokémon> <defeated Pokémon>: <Exp. gained> (formula predicts <exp. expected from formula>)

Hope it helps. Ultraflame 01:24, 25 December 2010 (UTC)

Thanks for the info, but just to clarify - are these Trainer battles? Because the formula seems to identify them as such. Ztobor 22:45, 26 December 2010 (UTC)
I had them divided into two sections: "Trainer battles" (at the beginning) and "Wild battles" (at the end). Only the last five entries are wild battles. Ultraflame 23:53, 26 December 2010 (UTC)
Well. It certainly created more questions than it answered... my formula is definitely wrong, but it brings us nowhere closer in getting the actual formula right. >_> Ztobor 02:54, 27 December 2010 (UTC)
Could you get some higher-level ones? Those ones are better resolution, and leave less room for error. Ztobor 02:56, 27 December 2010 (UTC)

A few more...

These are all trainer battles.

Level 45 and level 37 vs. level 43 Zuruzukin (171 base exp.): 1048 (level 45) and 1295 (level 37) (formula predicts 1057 and 1273)

Level 44 and level 38 vs. level 43 Roobushin (227 base exp.): 1427 (level 44) and 1674 (level 38) (formula predicts 1433 and 1648)

Level 44 and level 38 vs. level 43 Kojofu (70 base exp.): 441 (level 44) and 516 (level 38) (formula predicts 442 and 508)

Level 52 vs. level 45 Erufuun (168 base exp.): 1916 (formula predicts 1975)

Level 52 vs. level 45 Zeburaika (174 base exp.): 1984 (formula predicts 2045)

I have to say, despite the formula not being completely accurate, it does give a pretty good rough idea of how much experience you're going to get. Ultraflame 22:33, 1 January 2011 (UTC)

I guess so. It's just that I just know that people are going to be disappointed when they don't actually get 1,581,409 points for defeating a level 100 Blissey in the way I mentioned. Ztobor 21:05, 2 January 2011 (UTC)
Although, given the looks of the variations in this formula, it looks like that fight would yield more than 1,581,409. Ztobor 21:09, 2 January 2011 (UTC)

Existing formula tends to overestimate if the attacking Pokémon is higher level, and underestimate if the defending Pokémon is higher level (what you hinted at with the Blissey example). (Existing formula is correct if the two Pokémon are the same level.) Ultraflame 05:45, 3 January 2011 (UTC)

I'm pretty sure now that it involves square roots (or other such concave functions) in some way. That means that my formula only underestimates for a little of the time - and then it goes back to overestimating. Ztobor 03:01, 8 January 2011 (UTC)

ERRATIC behaviour in Mathematica

So, I went to type in the EXP per level into Wolfram Mathematica 6, in an attempt to come up with both better graphs and interesting phenomonons. The non-piecewise functions turned out fine. However, the erratic and fluct. formulas kept coming up with strange behaviour in their plots, which I was able to filter out. However, look at this plot for the erratic formula:


This is the derivitive of the function of the Erratic experience group. Look at the range 68-98. Any ideas as to what is causing this? I had typed the formula in direstly as was shown on the article. --TruePikachu 20:37, 20 November 2010 (UTC)

*Facepalm* Just zoomed in, seems to be caused by the Floor() function and the erratic nature of that portion of the growth curve, which is why it didn't show up for Fluct. The formulas weren't designed for this kind of manipulation...time to weite an interger-based derivitave function to better model this...
Anyway, any ideas as to wether or not I should undergo this project? I can easily cut out the inputted formula (It is harder to include it rather than exclude it). The GenI formulas are rather well established, being elementry curves, but the GenIII curves I can do lots of research into, and add to the article under a different heading. For example, I can easily generate a graph of the 'changing multiplier' for these two functions, or superimpose all parts of the piecewise function (so someone could see what happens if one part of it is used for the entire function). --TruePikachu 20:47, 20 November 2010 (UTC)
I already created a changing multiplier graph. Third one down from the top. I also created an "EXP per level" graph (shown here on the talk page), but for lack of a place to put it, haven't put it onto the main page yet. Ztobor 03:19, 22 November 2010 (UTC)

Reshiram and Zekrom don't gain experience?

For some reason, people are editing this onto the article, even though it isn't true, at least from what I've seen of the playthroughs. Why do people think that it doesn't yield experience? Ztobor 00:59, 30 November 2010 (UTC)

What that means is when you defeat one you don't gain experience. I wonder if this is true or not. --Landfish7 01:03, 30 November 2010 (UTC)
When facing the wild version mascot before facing N, defeating it yields no Exp, as when the battlt ends, it'll just be there in the overworld as if nothing happened. Facing the one N has will yield Exp though. Shiramu Kuromu 03:18, 12 December 2010 (UTC)

Question

If there was a Pokémon that would change it's Exp group upon evolution, what would happen? Shiramu Kuromu 03:18, 12 December 2010 (UTC)

In Generation III at least, the Pokémon would change level so that it would be consistent with the what the new group's experience formula would dictate.
For example, if you hacked a Pikachu (1000000 at level 100) so that it would evolve into Gyarados (1250000 at level 100) at level 20, the Pikachu would only need 8000 exp. points to reach level 20. So suppose that the Pikachu receives 8000 exp. points, reaches level 20, and is allowed to evolve. But since Gyarados is in a different experience group, the Pokémon would actually drop down to level 18 (for Gyarados's group, 8000 points is only sufficient for level 18) immediately after evolution is complete. Meaning that when you check your Pokémon menu right after evolution, the Pokémon will appear as level 18, with 8000 exp. points.
This has apparently been observed with a Generation III ROM, but I don't know exactly what would in other Generations. Ultraflame 04:55, 12 December 2010 (UTC)
Just realized that a potential question might arise with my example: Would the newly-evolved Gyarados attempt to learn Bite (a level 20 move), even though it's technically level 18 after evolution? Unfortunately I don't have the answer to that particular question. Ultraflame 05:06, 12 December 2010 (UTC)
Based on what you've said about the situation, I'd guess no - after evolution, the new level is 18, period. Otherwise, the bug would be that it stays at Level 20, but as soon as it gains experience points, it reverts to 18. Ztobor 15:46, 23 December 2010 (UTC)
Well, a regular Magikarp evolving into Gyarados at level 20 would immediately try to learn Bite upon evolution (without leaving the evolution screen). In other words, we haven't even seen the new level of the Gyarados until after it attempts to learn Bite. Basically it's a question of when does the game "notice" that the Pokémon's experience group has changed - immediately upon evolution (i.e. while the evolution screen is active) or immediately after leaving the evolution screen? Ultraflame 17:09, 23 December 2010 (UTC)
That's a good point, actually. We'd need somebody to test that out. Ztobor 01:52, 24 December 2010 (UTC)

Level multipliers in the new Exp. gain formula

We're going to have to change that article - it certainly is not adding the levels by 2 and dividing them.

I'm getting a table set up with the approximate multipliers. Perhaps we can figure something out. Ztobor 05:19, 27 December 2010 (UTC)

underflow glitch

can we get a detailed example of this please? - unsigned comment from DJLO (talkcontribs)

The medium-slow growth algorithm itself is 1.2L^3 - 15L^2 + 100L - 140. This is applied to Mew and all 3-stage evolutionary Pokémon except Dragonite, Butterfree and Beedrill. Substitute L for anything greater than 1 like 2 and the equation will suffice i.e. this would give 9.6 which floors down to 9 total experience for a level 2 medium-slow growth Pokémon. If you use 1 or 0 however you get a negative result, e.g. replacing L with level 1 gives -53.8 experience which floors down to -53. The main problem is that Pokémon experience is an unsigned integer; this means that negative numbers are essentially taken as a positive (w^X)-y value [where w^X is the highest value possible; {at least 2^8} and -y is the negative integer]. Pokémon experience is stored in three 8-bit bytes ((2^8)^3) so for a Mew Tricked level 1 Pokémon with no experience we can use the analogy that it has ((2^8)^3)- 53 experience which is 16,777,109. Since 256^3 (16,777,216) is essentially the 'largest value' in this case, if this Pokémon got 54 experience it would revert back to a total experience of 0, though gaining less than 54 experience would cause the game to recalculate what level (very high) the Pokémon should be after a battle ends or the box trick is used. Since it is way over the total experience required for level 100 by far the level 100 cap comes in and makes the Pokémon level 100. --Chickasaurus 21:00, 11 January 2011 (UTC)
It is explained in depth in the article itself, no? Ztobor 19:04, 20 January 2011 (UTC)

Wait, how is a base yield of 28 lower than a base yield of 20?

"The Pokémon with the highest base experience yield is Blissey, with a base yield of 608. The Pokémon with the lowest base experience yield are Snivy, Tepig, and Oshawott, with a base yield of 28.

   * Before Generation V, the Pokémon with the lowest base experience yield was Magikarp with a yield of 20, and the Pokémon with the highest base experience yields were Arceus, Happiny, Chansey, and Blissey, with a yield of 255."

Magikarp still has the lowest base yield. And this can't be generation only, as Blissey is in there. I'm not willing to correct anything until I know how this mistake was made (is 28 supposed to be 18? Did somebody think 28 is lower than 20? How did this happen?) - unsigned comment from Shadowater (talkcontribs)

Most of the base exp. yields changed from Generation IV to V. Blissey, for example, had its own base exp. changed from 255 in Generation IV to 608 in Generation V. Pokémon If you take a look at the base exp. column at List of Pokémon by effort value yield, Magikarp now has the tenth lowest base exp, with 40 (up from 20 in Generation IV). Ultraflame 01:49, 30 January 2011 (UTC)
Ah, ok then. I had checked Magikarp's page to make sure, and it says 20 there, so I got confused by that --Shadowater 04:33, 30 January 2011 (UTC)

My Pokémon got one EP less?

If I start in the yellow edition, I fight with my Pikachu against Gary's Eevee. I gain 97 EP, but why? It is a trainer battle (1,5), Eevee's base experiance is 92 in the first generation and it has level 5. If I multiply 1,5*92*5 and divide it with 7 (as it is described in the article), I got 98 EP and not 97. What's the reason for gaining 97 EP? I controlled it with wild Rattatas and Pidgeots in the same edition, and there the EP-gaining is right (with Rattata: 1*57*2 (1 = wild battle, 57 = Rattata's base experiance in Generation one, 2 = its level) divided with 7 = 16 EP for Pikachu. But I used a long time to find a solution of my problem, but I can't. Can anybody help me here? --LaBumm 23:40, 28 February 2011 (UTC)

Maybe it does the abL/7 thing before multiplying anything else, rounding down in the middle. That's the only explanation I can think of, and that gives 97.5, which rounds down to 97. Ztobor 12:54, 1 March 2011 (UTC)

On the Gen V formula

According to poccil's post here, Lucky Egg and trade multipliers are applied after the +1. Since I can't seem to replace the existing file, I have instead left the repaired formula on Wikipedia's sandbox. Could someone perform the replacement of the formula? Arcorann 09:01, 30 June 2011 (UTC)

Updated the image with yours. I skimmed the page to see if anything was wrong due to using the old formula, but it seemed to be using your formula anyway. However, it's possible that I missed something. --SnorlaxMonster 05:36, 2 July 2011 (UTC)

Experience Gain Formula Mistake?

I saw the experience gain formula and decided to test out. This is the situation: In a Generation IV game a Scyther who defeats a wild level 11 Rattata gains 89 EXP. points. The Scyther is with his original trainer, has no Lucky Egg, there is no EXP. Share in his team, and no EXP. All in the Bag to affect the outcome. Though, using the formula, Change in EXP would simplify to 561/7, which equals 80.14, or 80 EXP. I'd understand if it were off by 1 or 2 EXP but the gap is noticeable here. Could someone help me in finding out my mistake? I'm pretty sure I'm the one mistaken here. Thanks in advance to any help. Chrispizza 20:41, 9 July 2011 (UTC)

I tried the exact same thing (Scyther KOing a lv 11 Rattata in Gen IV), and got 89 EXP as well. I don't think it was you that messed up, but the formula. --SnorlaxMonster 07:07, 30 July 2011 (UTC)

Gen IV International Pokémon

Does the 1.7 multiplier exist in pre Gen IV games? If not then this info should be added to this page. I only ask because a lot of the benefits of international trading weren't added until Gen IV. Jmvb 14:53, 1 August 2011 (UTC)

I would doubt it. The byte which indicates its country of origin wasn't added until Gen IV, so I don't see how the Gen III game would have been able to tell. --SnorlaxMonster 15:25, 1 August 2011 (UTC)

Level 100 Exp. Share

If I battle a Pokémon with a level 100 Pokémon and another one in my party has an Exp. Share, does the one holding it get 100% of Exp. Points since the one battling doesn't? MasterGiygas 23:16, 21 December 2011 (UTC)

No. In generation IV at least, the 50% that would go to the level 100 Pokemon battling is lost. Werdnae (talk) 23:19, 21 December 2011 (UTC)
Just tested, it gets 50% in 5th gen as well. -- Trainer Hunter -- 23:38, 21 December 2011 (UTC)
I used to do this in Gen III. It is true there as well. --SnorlaxMonster 01:17, 22 December 2011 (UTC)

A most accuracy GenV formula for Exp. Points gained in battle

(I'm spanish so, I'm sorry if my english isn't perfect)

I'm working and testing the actual formula for gain Exp. Points in battles and, in some cases, I noticed that the actual formula has some little mistakes in certain specific cases. I modified the actual formula, and with this new version I didn't fail any case until now. I will try to explain it as well as I can:

- Step 1: Calculate total Exp. Points.

   totalExp = tct((b x L) x a)
   NOTE: tct() meas truncate decimals.

- Step 2: Calculate particular Exp. Points.

   This step is slightly different from the actual formula.
   "aux1" is equal to 1 if the Pokémon has participated in the battle or 0 if not.
   "aux2" is equal to 1 if the Pokémon has Exp. Share equipped or 0 if not.
   "s1"  is the number of Pokémon that participated in the battle and have not fainted. If any Pokémon in the party is holding an Exp. Share, "s1" is
   equal to twice the number of Pokémon that participated instead.
   "s2" is equal to twice the number of Pokémon holding the Exp. Share in the party.
   partExp = (aux1 x tct(totalExp / (5 x s1))) + (aux2 x tct(totalExp / (5 x s2)))

- Step 3: Calculate Exp. Points per level multiplier.

   This step is slightly different from the actual formula.
   multiplier = tct((tct((2L + 10)^2.5) x 1000) / tct((L + Lp + 10)^2.5))

- Step 4: Semi final Exp. Points.

   This step is slightly different from the actual formula.
   sFinal = tct((partExp x multiplier) / 1000) + 1

- Step 5: Final Exp. Points.

   finalExp = tct(tct(tct(sFinal x t) x e) x p)
   NOTE: I can't test if that's the real order, because I don't have any international traded Pokémon and any Exp. Point Power.


Amazing! I just make it into a better look equation, but I haven't test it yet
Note that big brackets '[]' means truncate decimals
Where
b is the base experience yield of the fainted Pokémon′s species, listed here.
L is the level of the fainted Pokémon.
a is equal to 1 if the fainted Pokémon is wild, and 1.5 if the fainted Pokémon is owned by a Trainer.
aux1 is equal to 1 if the Pokémon has participated in the battle or 0 if not.
aux2 is equal to 1 if the Pokémon has Exp. Share equipped or 0 if not.
s1 is the number of Pokémon that participated in the battle and have not fainted. If any Pokémon in the party is holding an Exp. Share, "s1" is equal to twice the number of Pokémon that participated instead.
s2 is equal to twice the number of Pokémon holding the Exp. Share in the party.——Kolu (talk) 06:30, 19 August 2012 (UTC)

EXP and Tag Battles

How does being in a story-based tag battle affect EXP (for example, when you're teamed with Bianca in Reversal Mountain in B&W2)? I don't think it's consistent between different games. Legionaireb (talk) 19:26, 2 March 2013 (UTC)

Possibly minor page error

So, on the chart listing "Experience at each level" comparing the exp groups, at the top of the chart for Medium Slow on the "To next level" side, it reads 0 with use of the {{tt}} template reading "63 in Generations I and II". This should probably either read 6 or 3, but probably not 63, since that would be more than the next number down. Schiffy (Speak to me|What I've done) 17:22, 7 September 2013 (UTC)

Remember that in those generations the formula was actually broken at level 1. Werdnae (talk) 21:15, 7 September 2013 (UTC)
Oh.... right..... Forgot, it's Gen I/II, where more than enough random pieces of code was broken, and level 1's weren't even legitimately obtainable. Schiffy (Speak to me|What I've done) 22:49, 7 September 2013 (UTC)

"Unexplainable" deviation in Gen I?

The text states that in Gen I "... the calculated experience deviates by as much as three experience points from the experience received in-game, a deviance which cannot be accounted for by simple rounding errors."

I would like to know more about this. A 3-point deviation is certainly possible assuming that the game truncates any intermediate result to integers; for example, 13/7*1.5*1.5≈4.18, but int(int(int(13/7)*1.5)*1.5)=int(int(1*1.5)*1.5)=int(1*1.5)=1.

Bbbbbbbbba (talk) 15:56, 19 February 2014 (UTC)

I put part of the data I gathered on a user page (I have data for parties of 1-5 as well). You should just be able to import (copy/paste*) that data into a spreadsheet if you want, marking comma as the delimiter. About half of those result in some deviation (with a half-dozen or so deviating by 3). You're welcome to try to reconcile those with some rounding. Tiddlywinks (talk) 16:32, 19 February 2014 (UTC)
Try this sequence of operation:
1. Divide the base exp of the enemy by the number of participating Pokémons. In case of Exp. All, divide the above result by the number of all Pokémons in party. Truncate the result (to an integer).
2. Multiply by the level of the enemy, then divide by 7. Truncate the result.
3. Multiply any factor of 1.5 (trade/trainer) that is applicable. Truncate after each multiplication.
This should work like a charm.
[Actually I "cheated" by reading the assembly code:)] Bbbbbbbbba (talk) 18:56, 19 February 2014 (UTC)
Yup, that does it for all the data I've got (except that you forgot an extra /2 for Exp. All in Step 1). Thanks! I think the main difference with everything I tried is that I was always multiplying enemy level and base exp together right away.
I really wish I could mark rounding in the formulas, but I'm still waiting for them to be updated for Gen VI, even. =( And I don't really want to try to explain it purely textually... Tiddlywinks (talk) 19:44, 19 February 2014 (UTC)

What's wrong with EXP All?

In Generation I, when Exp. All is in the Bag, every Pokémon in the player's party also receives some experience from Exp. All; that amount is equal to the amount that a battling Pokémon would have received (before any bonuses) divided by the number of Pokémon in the player's party (this method of calculation appears to be an error).

I don't see what the error is here. If you have 6 mons in your party and you defeat an opponent and win N EXP, each mon gains N/6 EXP. Is that not what happens? (talk) 19:55, 15 July 2014 (UTC)

In point of fact, if your party has 6 Pokemon and only one of them battles and Exp All is in the bag, they each actually get (N/2)/6 Exp (and the battler gets N/2 Exp). That's no problem.
If you send 2 Pokemon out of a 6-Pokemon party in to battle, though, the battlers each get N/4 Exp and each of the 6 party Pokemon get (N/4)/6 Exp. But they should be getting (N/2)/6 Exp. The game should be using half the opponent's experience to divide among the party; instead it uses the amount that a battler receives, which will be less than N/2 if there is more than one battler. Tiddlywinks (talk) 21:59, 15 July 2014 (UTC)
I think I understand, but I'm still not clear... it divides the EXP into two pools (one for those who battled, one for those who didn't) of 50% each, except the non-battler pool isn't actually 50%, but (50 / #battlers)%?
Maybe I'm just a derp, but I don't find either explanation completely clear. (talk) 12:20, 16 July 2014 (UTC)
That's basically right. What it looks like is that someone thought, "Hey, I've got one guy battling so he's gonna receive 50% of the experience, then I need to divide 50% among the party...I can just divide the number that the guy in battle got, easy peasy!". And if they only tested it with one battler, that would look correct and they could have missed the mistake. On the other hand, it could be more of a bug and they meant to actually use the right value but forgot or didn't quite do it right somehow. It's hard to say. Tiddlywinks (talk) 13:23, 16 July 2014 (UTC)

B2W2 cap.

...I think they capped the yield at 100k in B2W2. I've seen Lv. 79 Blissey with all the bonuses (Pass Power, trade, Lucky Egg) giving exactly 100 000EXP. This is not the case here. - unsigned comment from Eridanus (talkcontribs)

This seems to be true. It can be seen here for example. The video Eridanus linked to is from BW, not B2W2, so the change seems to have been implemented during Gen V. Maybe add this to / change the text in the Trivia section where the maximum value for Exp. Points amounting to >100k is said to be possible in 'Gen V'? Peterpansexuell (talk) 19:05, 9 August 2014 (UTC)

Gen VI experience formula

So I'm not sure if this has been discussed or not, but I just noticed a few weeks ago, that experience in Generation VI is no longer divided between the number of Pokémon that took part in the battle. I thought this was exclusive to when the Exp. Share was turned on, but I discovered that it works the same even if the Exp. Share is turned off. So, this means that, in previous generations, if two Pokémon took part in a battle where the yielded experience was, say, 1000, then each Pokémon would receive 500 experience points. But in Gen VI, both Pokémon will gain the whole 1000 exp. points, effectively doubling the total experience received. This also means that if three Pokémon take part in the battle, the total experience gained would be three times the normal amount, and if four Pokémon took part, it would be four times the total experience, and so on. I believe it's already been included in the article, but it is hard to understand as it is now. So I was thinking that maybe it could be further explained in the Trivia section, as it is the first time experience points aren't divided between team members. LinkNinjaMaster (talk) 07:04, 23 December 2014 (UTC)

Agree, and I also find there is not enough mentioning how unique the gen V formula is. You get next to no EXP. points from low-level Pokémon, whereas Gen VI luckily seems to have abolished that horrible formula. It's not mentioned clearly enough, though. Here it looks like the Gen V formula is still in effect. Colorshade (talk) 07:35, 16 February 2015 (UTC)
I don't know how exactly you could have thought the scaled formula was still in effect, Colorshade, but I looked at the "in battle" section thinking to try to address the Gen VI issue and ended up reorganizing more or less the whole section. So look at it now and see if you still think it's not good enough. (Although, if you think it isn't, I'm really not sure what can reasonably be done. Like I said, I just don't know how you would get such an idea, unless you were only thinking about Gen V and not really reading closely enough.) Tiddlywinks (talk) 09:18, 16 February 2015 (UTC)

Fainted party Pokemon and opponent switch

I removed these lines from the article: "Pokémon that are fainted do not gain any experience. However, if a Pokémon is revived before the Pokémon it battled is defeated or switches out, it will still gain experience." To my knowledge, I've accounted for it in my edit, but that quoted text actually implies an edge case that I'm not sure about. To wit:

Say I send out Bulbasaur against a Pidgey, Bulbasaur gets fainted, so I send in Squirtle, and then Pidgey is switched out (while Bulbasaur is still fainted). After that, suppose Bulbasaur is revived, and then Squirtle defeats the current opponent and then defeats Pidgey straight away after it is sent in (and Bulbasaur is never sent back in). Now, based on the text quoted above, it sounds like Bulbasaur shouldn't receive any experience, because it was fainted when Pidgey was switched out. Is this true? (Ideally, this should be tested.) I was under the impression that it's pretty simple: any Pokemon that has been in battle against Pokemon X gains experience when Pokemon X is defeated, so long as it is not itself fainted. Tiddlywinks (talk) 09:27, 16 February 2015 (UTC)

Negative experience in Gen 5?

I recently got a black 2 cartridge from my friend. It had some event pokemon including Celebi and Deoxys. For some reason they had -?927014 exp, which seems to be negative. When I tried to transfer the two to Gen 6, it blocked me. Can some one tell me why this happens? - unsigned comment from Jimmys1000 (talkcontribs)

They're hacked. --Abcboy (talk) 13:28, 18 December 2015 (UTC)

Experience in Generation VII

According to the Pokémon Sun and Moon E3 Footage, it looks like experience gain formula from Generation V is returned in Generation VII! From the E3 demo, which showing:

Level 6 Popplio catching Level 3 Ledyba: 21 EXP

Level 7 Popplio catching Level 2 Yungoos: 10 EXP

Level 7 Popplio defeating Level 3 Caterpie: 14 EXP (Trainer)

Level 7 Popplio defeating Level 4 Yungoos: 28 EXP (Trainer)

Level 3 Ledyba catching Level 5 Pikipek: 69 EXP

Level 7 Popplio defeating Level 6 Pichu: 44 EXP (Trainer)

Level 8 Popplio defeating Level 7 Litten: 81 EXP (Trainer)


First, there are two different experience formulas: Standard experience formula used in Generation I-IV and VI Scaled experience formula used only in Generation V

So, we calculate these following using these two above formulas (Base experience since Generation V are Ledyba: 53, Caterpie: 39, Pichu: 41):

Ledyba: 23 (Standard formula), 21 (Scaled formula)

Caterpie: 25 (Standard formula), 21 (Scaled formula)

Pichu: 53 (Standard formula), 67 (Scaled formula)


The only one that matches is the Ledyba to Generation V scaled formula. The experience yields from both of the trained Pokémon are lower than expected, and the degree of difference is about 1.5. By the way, if a is always 1, here are the results:

Ledyba: 21, Caterpie: 14, Pichu: 45


Since Ledyba and Caterpie are now right on and Pichu is only one point away, We are guessing there's some other minor factor here. We are unsure what this could be due to, especially as reducing Pichu's base experience. another incorrect result and switching to rounding up or down requires a change for both Caterpie and Pichu's base experience. The most likely other change is the 2.5. Let's use inequalities to determine if there is a different value that accounts for all this, assuming base experience is unchanged.

In Generation VII, the experience formula once again takes in account difference between Pokémon's levels; Trainer's Pokémon likely no longer give more experience than wild ones. --Megah961107 (talk) 12:14, 28 June 2016 (UTC)

Item Reward Icons

Could we replace the text of the table with the icon of the items. It not only reduces the total width of the table, but it is easier to scan with the eyes and improves the mobile experience.

Here is the table in icon format:

Level Experience for next level Total experience Rewards Unlocks
1 0 0
2 1,000 1,000 GO Poké Ball.png×10
3 2,000 3,000 GO Poké Ball.png×15
4 3,000 6,000 GO Poké Ball.png×15
5 4,000 10,000 GO Poké Ball.png×20 GO Potion.png×10 GO Revive.png×10 GO Incense.png×1 Gyms, Potions, Revives
6 5,000 15,000 GO Poké Ball.png×15 GO Potion.png×10 GO Revive.png×10 GO Egg Incubator.png×1
7 6,000 21,000 GO Poké Ball.png×15 GO Potion.png×10 GO Revive.png×10 GO Incense.png×1
8 7,000 28,000 GO Poké Ball.png×15 GO Potion.png×10 GO Revive.png×5 GO Razz Berry.png×10 GO Lure Module.png×1 Razz Berries
9 8,000 36,000 GO Poké Ball.png×15 GO Potion.png×10 GO Revive.png×5 GO Razz Berry.png×3 GO Lucky Egg.png×1
10 9,000 45,000 GO Poké Ball.png×20 GO Super Potion.png×20 GO Revive.png×10 GO Razz Berry.png×10 GO Incense.png×1 GO Lucky Egg.png×1 GO Egg Incubator.png×1 GO Lure Module.png×1 Super Potions
11 10,000 55,000 GO Poké Ball.png×15 GO Super Potion.png×10 GO Revive.png×3 GO Razz Berry.png×3
12 10,000 65,000 GO Great Ball.png×20 GO Super Potion.png×10 GO Revive.png×3 GO Razz Berry.png×3 Great Balls
13 10,000 75,000 GO Great Ball.png×15 GO Super Potion.png×10 GO Revive.png×3 GO Razz Berry.png×3
14 10,000 85,000 GO Great Ball.png×15 GO Super Potion.png×10 GO Revive.png×3 GO Razz Berry.png×3
15 15,000 100,000 GO Great Ball.png×15 GO Hyper Potion.png×20 GO Revive.png×10 GO Razz Berry.png×10 GO Incense.png×1 GO Lucky Egg.png×1 GO Egg Incubator.png×1 GO Lure Module.png×1 Hyper Potions
16 20,000 120,000 GO Great Ball.png×10 GO Hyper Potion.png×10 GO Revive.png×5 GO Razz Berry.png×5
17 20,000 140,000 GO Great Ball.png×10 GO Hyper Potion.png×10 GO Revive.png×5 GO Razz Berry.png×5
18 20,000 160,000 GO Great Ball.png×10 GO Hyper Potion.png×10 GO Revive.png×5 GO Razz Berry.png×5
19 25,000 185,000 GO Great Ball.png×15 GO Hyper Potion.png×10 GO Revive.png×5 GO Razz Berry.png×5
20 25,000 210,000 GO Ultra Ball.png×20 GO Hyper Potion.png×20 GO Revive.png×20 GO Razz Berry.png×20 GO Incense.png×2 GO Lucky Egg.png×2 GO Egg Incubator.png×2 GO Lure Module.png×2 Ultra Balls
21 50,000 260,000 GO Ultra Ball.png×10 GO Hyper Potion.png×10 GO Revive.png×10 GO Razz Berry.png×10
22 75,000 335,000 GO Ultra Ball.png×10 GO Hyper Potion.png×10 GO Revive.png×10 GO Razz Berry.png×10
23 100,000 435,000 GO Ultra Ball.png×10 GO Hyper Potion.png×10 GO Revive.png×10 GO Razz Berry.png×10
24 125,000 560,000 GO Ultra Ball.png×15 GO Hyper Potion.png×10 GO Revive.png×10 GO Razz Berry.png×10
25 150,000 710,000 GO Ultra Ball.png×25 GO Max Potion.png×20 GO Revive.png×15 GO Razz Berry.png×15 GO Incense.png×1 GO Lucky Egg.png×1 GO Egg Incubator.png×1 GO Lure Module.png×1 Max Potions
26 190,000 900,000 GO Ultra Ball.png×10 GO Max Potion.png×15 GO Revive.png×10 GO Razz Berry.png×15
27 200,000 1,100,000 GO Ultra Ball.png×10 GO Max Potion.png×15 GO Revive.png×10 GO Razz Berry.png×15
28 250,000 1,350,000 GO Ultra Ball.png×10 GO Max Potion.png×15 GO Revive.png×10 GO Razz Berry.png×15
29 300,000 1,650,000 GO Ultra Ball.png×10 GO Max Potion.png×15 GO Revive.png×10 GO Razz Berry.png×15
30 350,000 2,000,000 GO Ultra Ball.png×30 GO Max Potion.png×20 GO Max Revive.png×20 GO Razz Berry.png×20 GO Incense.png×3 GO Lucky Egg.png×3 GO Egg Incubator.png×3 GO Lure Module.png×3 Max Revive
31 500,000 2,500,000
32 500,000 3,000,000
33 750,000 3,750,000
34 1,000,000 4,750,000
35 1,250,000 6,000,000
36 1,500,000 7,500,000
37 2,000,000 9,500,000
38 2,500,000 12,000,000
39 3,000,000 15,000,000
40 5,000,000 20,000,000 GO Ultra Ball.png×40 GO Max Potion.png×40 GO Max Revive.png×40 GO Razz Berry.png×40 GO Incense.png×4 GO Lucky Egg.png×4 GO Egg Incubator.png×4 GO Lure Module.png×4

-- Thanks, Rmkane (talk) 01:09, 28 July 2016 (UTC)

Update: Converted Unlocks column text to wiki links. -- Rmkane (talk) 03:03, 28 July 2016 (UTC)

Update: Is this still a possibility? If so, I can go ahead and modify the table. -- Rmkane (talk) 14:17, 28 July 2016 (UTC)

I'm a big fan of this. Makes the table much easier to process. --SnorlaxMonster 14:31, 28 July 2016 (UTC)

Alternative (Grid)

If people are turned off by the spacing, maybe the items can be added to individual cells.

Level Experience for next level Total experience Rewards Unlocks
1 0 0
2 1,000 1,000 GO Poké Ball.png×10 
3 2,000 3,000 GO Poké Ball.png×15 
4 3,000 6,000 GO Poké Ball.png×15 
5 4,000 10,000 GO Poké Ball.png×20  GO Potion.png×10  GO Revive.png×10  GO Incense.png×1  Gyms, Potions, Revives
6 5,000 15,000 GO Poké Ball.png×15  GO Potion.png×10  GO Revive.png×10  GO Egg Incubator.png×1 
7 6,000 21,000 GO Poké Ball.png×15  GO Potion.png×10  GO Revive.png×10  GO Incense.png×1 
8 7,000 28,000 GO Poké Ball.png×15  GO Potion.png×10  GO Revive.png×5  GO Razz Berry.png×10  GO Lure Module.png×1  Razz Berries
9 8,000 36,000 GO Poké Ball.png×15  GO Potion.png×10  GO Revive.png×5  GO Razz Berry.png×3  GO Lucky Egg.png×1 
10 9,000 45,000 GO Poké Ball.png×20  GO Super Potion.png×20  GO Revive.png×10  GO Razz Berry.png×10  GO Incense.png×1  GO Lucky Egg.png×1  GO Egg Incubator.png×1  GO Lure Module.png×1  Super Potions
11 10,000 55,000 GO Poké Ball.png×15  GO Super Potion.png×10  GO Revive.png×3  GO Razz Berry.png×3 
12 10,000 65,000 GO Great Ball.png×20  GO Super Potion.png×10  GO Revive.png×3  GO Razz Berry.png×3  Great Balls
13 10,000 75,000 GO Great Ball.png×15  GO Super Potion.png×10  GO Revive.png×3  GO Razz Berry.png×3 
14 10,000 85,000 GO Great Ball.png×15  GO Super Potion.png×10  GO Revive.png×3  GO Razz Berry.png×3 
15 15,000 100,000 GO Great Ball.png×15  GO Hyper Potion.png×20  GO Revive.png×10  GO Razz Berry.png×10  GO Incense.png×1  GO Lucky Egg.png×1  GO Egg Incubator.png×1  GO Lure Module.png×1  Hyper Potions
16 20,000 120,000 GO Great Ball.png×10  GO Hyper Potion.png×10  GO Revive.png×5  GO Razz Berry.png×5 
17 20,000 140,000 GO Great Ball.png×10  GO Hyper Potion.png×10  GO Revive.png×5  GO Razz Berry.png×5 
18 20,000 160,000 GO Great Ball.png×10  GO Hyper Potion.png×10  GO Revive.png×5  GO Razz Berry.png×5 
19 25,000 185,000 GO Great Ball.png×15  GO Hyper Potion.png×10  GO Revive.png×5  GO Razz Berry.png×5 
20 25,000 210,000 GO Ultra Ball.png×20  GO Hyper Potion.png×20  GO Revive.png×20  GO Razz Berry.png×20  GO Incense.png×2  GO Lucky Egg.png×2  GO Egg Incubator.png×2  GO Lure Module.png×2  Ultra Balls
21 50,000 260,000 GO Ultra Ball.png×10  GO Hyper Potion.png×10  GO Revive.png×10  GO Razz Berry.png×10 
22 75,000 335,000 GO Ultra Ball.png×10  GO Hyper Potion.png×10  GO Revive.png×10  GO Razz Berry.png×10 
23 100,000 435,000 GO Ultra Ball.png×10  GO Hyper Potion.png×10  GO Revive.png×10  GO Razz Berry.png×10 
24 125,000 560,000 GO Ultra Ball.png×15  GO Hyper Potion.png×10  GO Revive.png×10  GO Razz Berry.png×10 
25 150,000 710,000 GO Ultra Ball.png×25  GO Max Potion.png×20  GO Revive.png×15  GO Razz Berry.png×15  GO Incense.png×1  GO Lucky Egg.png×1  GO Egg Incubator.png×1  GO Lure Module.png×1  Max Potions
26 190,000 900,000 GO Ultra Ball.png×10  GO Max Potion.png×15  GO Revive.png×10  GO Razz Berry.png×15 
27 200,000 1,100,000 GO Ultra Ball.png×10  GO Max Potion.png×15  GO Revive.png×10  GO Razz Berry.png×15 
28 250,000 1,350,000 GO Ultra Ball.png×10  GO Max Potion.png×15  GO Revive.png×10  GO Razz Berry.png×15 
29 300,000 1,650,000 GO Ultra Ball.png×10  GO Max Potion.png×15  GO Revive.png×10  GO Razz Berry.png×15 
30 350,000 2,000,000 GO Ultra Ball.png×30  GO Max Potion.png×20  GO Max Revive.png×20  GO Razz Berry.png×20  GO Incense.png×3  GO Lucky Egg.png×3  GO Egg Incubator.png×3  GO Lure Module.png×3  Max Revive
31 500,000 2,500,000
32 500,000 3,000,000
33 750,000 3,750,000
34 1,000,000 4,750,000
35 1,250,000 6,000,000
36 1,500,000 7,500,000
37 2,000,000 9,500,000
38 2,500,000 12,000,000
39 3,000,000 15,000,000
40 5,000,000 20,000,000 GO Ultra Ball.png×40  GO Max Potion.png×40  GO Max Revive.png×40  GO Razz Berry.png×40  GO Incense.png×4  GO Lucky Egg.png×4  GO Egg Incubator.png×4  GO Lure Module.png×4 

-- Thanks, Rmkane (talk) 14:42, 28 July 2016 (UTC)

Sun and Moon Exp Formula

I have done some testing. I made a personal calculator coded with the formula for generation 5 exp. It matches up perfectly for generation 5 formula. I just have one problem needing solved. Can someone confirm how much exp that share gives to party? My test on exp share with a single pokemon shows a gain of 45.6% for any non battlers. Prowlcorp (talk) 01:47, 26 January 2017 (UTC)Prowl

I just did some calculating myself and EXP Share does gives exactly half of the experience to each party member that they would have gotten had they fainted the monster themselves. If I had to guess, your error came from calculating the experience of the pokemon in the battle and then halving it, which would produce incorrect numbers for party members of a different level. I'm going to edit this find into the actual page. Sethyboy0 (talk) 01:11, 3 September 2018 (UTC)

Blue's Lv5 Eevee in Yellow yields 97 Exp. instead of 98 Exp. Why?

I know somebody discussed this earlier, over five years ago even, but I'm trying to calculate Exp. in LibreOffice Calc and this is doing my head in. When I fight and defeat Blue's Eevee in Oak's Lab in Yellow, it yields 97 Exp. All my calculations lead to 98 Exp. Eevee is trained, my Pikachu has the same ID as Red, and Eevee's base experience is 92 and is Lv5, so according to the formula, 1.5 * 1 * 92 * 5 / 7 equals 98 when rounded down. Unless RBY uses a different formula, this makes no sense. BeyondTheHorizon (talk) 16:16, 17 March 2017 (UTC)

From a look at the disassembly I see no obvious reason it should do this. Even when rounding at different points in the calculation, the final answer comes out to 98. However, I don't fully understand the division routine and it's possible I'm missing something obvious. I think it's saying, in effect, that the result of a division will be truncated to eight (binary places, I guess? can't call them decimal places), but I could be wrong. Someone with more knowledge of z80 assembly should probably take a look. --Felthry (talk) 19:00, 17 March 2017 (UTC)
My calculation yields 97 as well. I'm guessing you rounded incorrectly at some point. Based on what I said here my display script got it right. Collector Togami (talk) 23:16, 17 March 2017 (UTC)
Ah, a rounding error. If I show you what I typed into LibreOffice Calc, that might help. The formula I use is =ROUNDDOWN(1.5*1*92*5/7,0)
BeyondTheHorizon (talk) 08:58, 18 March 2017 (UTC)
I think this has nothing to do with a the division routine, but rather with the order of operations.
Including truncating, I would imagine it's just 92*5/7=65, and then 65*1.5=97. And apparently, I'm not the only one who thinks so. Nescientist (talk) 10:11, 18 March 2017 (UTC)
Yes, that seems to be the answer. Thank you so much.
BeyondTheHorizon (talk) 11:31, 18 March 2017 (UTC)

Source for Shuffle level 16+ exp

I've found this table that seems to have the missing values we need, or at least the formulas needed to calculate them. Is this source considered credible? Boblers (talk) 07:13, 15 May 2017 (UTC)

Update: I've found another source that might be better, since the source for levels 1-15 was also a pastebin: https://pastebin.com/rFz7Pq4t. Note that this source lists the total exp required for each level if going from level 1, while our article lists just the exp needed for the next level, so there's still a bit of math to be done. Boblers (talk) 07:42, 15 May 2017 (UTC)
The former credits a Shuffle wikia after the table, which isn't 100% reliable (unless you could check its source). But the latter is a dump like the 1-15 data, so that's great. Tiddlywinks (talk) 10:07, 15 May 2017 (UTC)

gen 7 version of scale formula

i don't know where these values are,but i'm sure the values f and v are used in generation 7. Pikachu210 (talk) 21:16, 6 June 2018 (UTC)

Correct Total Experience Formulas

I

Erratic and Fluctuating Formulas need an update

I did a little messing around with the formulas for Erratic and Fluctuating Experience gains and found that a couple of the formulas in the pictures next to Erratic and Fluctuating are incorrect.


Erratic:

The third formula in the piecewise function ((n^3((1911-10n)/3))/500) only works for every third level starting at Level 69 ending at Level 96. Every third level starting at Level 70 and ending at Level 97 should be the following formula: (n^3((1909-10n)/3))/500, changing "1911-10n" to "1909-10n". Every third level starting at Level 71 and ending at Level 98 should be the following formula: (n^3((1910-10n)/3))/500, changing "1911-10n" to "1910-10n".


Fluctuating:

The first formula in the piecewise funtion (n^3(((n+1)/3)+24)/50) only works for every third level starting at Level 2 ending at Level 14. Every third level starting at Level 3 and ending at Level 15 should be the following formula: n^3((n/3)+24)/50, removing the "+1" from "n+1". Every third level starting at Level 4 and ending at Level 13 should be the following formula: n^3(((n-1)/3)+24)/50, replacing the "+1" from "n+1" to make it "n-1".

The third formula in the piecewise function (n^3((n/2)+32)/50) only works for every other level starting at Level 38 ending at Level 100. Every other level starting at Level 37 and ending at Level 99 should the following formula: n^3(((n-1)/2)+32)/50, changing "n/2" to "(n-1)/2".


I created an Excel spreadsheet to test out these corrected formulas for the stated levels, and everything checks out. The reason I found this mistake was because I was trying to replicate the graphs shown at the top of the Experience page, and I wasn't getting the same result for those specific formulas stated above. The pictures showing the formulas next to Erratic and Fluctuating should be changed to reflect these corrected formulas. KL13470 05:52, 13 Sep 2019 (UTC)

It looks like you may have missed the floor function when entering the formulae. In Excel you can use the INT function, for example the Erratic function would be expressed as (A1^3 * INT((1911-10*A1)/3)/500 (if the desired level is in cell A1). Arcorann (talk) 11:39, 26 December 2019 (UTC)

Black 2 and White 2 experience cap

EDIT: Never mind I seem to have missed the relevant section.

In his video video, Pokétips analyzed the maximum Experience obtainable in a single encounter and the experience gain is capped at 100'000. This applies specifically to B2W2 only and should be added to the experience formula/algorithm or 'Experience Gain' section.

experience past level 101

in generations 1 and 2 would Pokémon above level 100 still gain experience or does it automatically go back to level 100 and does that set it back to the lowest amount of experience at level 100 Wild Starfish (talk) 23:51, 21 March 2020 (UTC) Wild Starfish (talk) 23:51, 21 March 2020 (UTC)

Isn’t Pokémon rated Everyone?

Look at this paragraph. “Due to the erraticness of this function, it actually takes fewer experience points to go from level 99 to 100 than it does to go from level 69 to 70.” Look closely at “than it does.” Then keep looking right.

If you see 69, you know what I mean.

I believe this section should be removed.- unsigned comment from Gmaxwell (talkcontribs)

Yeah... no. It's just a number. There's no reason to think children would know that meaning.--ForceFire 04:44, 14 April 2020 (UTC)

Go Park Pokemon Exp Bonus

Pokemon transferred from Go to Let's Go via Go Park get the Let's Go player's OT info and are not considered outsider Pokemon (e.g. they can be freely renamed and will never disobey regardless of number of badges), but they still get an experience bonus. I believe it's 1.5x (just like the bonus for outsider Pokemon), though I'm not sure about that. Additionally, I'm not sure if that stacks with the outsider bonus or not (which could be tested by trading to a different Let's Go file after transfer).--Gou (talk) 05:14, 21 July 2020 (UTC)

Gen VII Formula Experimentation

I decided to try and figure out the formula while I was level grinding in Ultra Sun, and made a spreadsheet so I could do all the math. (Seen here - you can also use it to check my work: https://drive.google.com/file/d/1hf8zIm2yTlZhh1LT22K2L7ffr7PJdS3y/view?usp=sharing )

Setup:
EXP share on, Roto EXP on, all pokemon with affection LV 2
Slot 1: Level 100 pokemon (uncounted, never switched out)
Slot 2: Native pokemon with lucky egg
Slot 3: International traded pokemon
Slot 4: Traded pokemon (not international)
Slot 5: Event distributed pokemon
Slot 6: Traded pokemon (not international), unevolved with everstone

Takeaways:
-Affection (f) seems to still multiply EXP, though being a high enough level to evolve (v) does not (unless the everstone messes with it somehow).
-When (a*b*L) is changed to (a*b*L*f), and the +1 in the formula is removed, the EXP predicted by the formula consistently falls within +/-3 EXP of the actual earned EXP
-Additionally, the difference with the actual earned EXP is +/-1 a majority of the time

I am not a mathematician, so I'm at a loss for how to get any closer than that; again, if anyone wants to use my data to fiddle, it's available and you're more than welcome! (There's also a clearer render of the new formula within the spreadsheet) Sukineko123 (talk) 18:13, 29 June 2021 (UTC) (previously unsigned)

One thing to keep in mind is that since Gen 5, most numbers are stored as fixed precision decimal numbers. (From Gen 1-4, they are almost always just stored as integers.) After every calculation, you have to truncate the result to 4096ths. If you're getting really close to the real values but not exactly, that would likely explain it. --SnorlaxMonster 09:07, 27 June 2021 (UTC)
I have made an error but also now I know the formula for certain. Ponyta's affection was at zero, not LV 2 like I though (I must have soft-reset that change away by mistake). However, because of that, that means in order for me to have gotten the calculations that I did, (v) IS in play. Therefore considering what SnorlaxMonster said above (and after double-checking again to be sure this time) this is the Gen VII formula: as a link because I can't seem to find an image upload button
I don't know how to properly add this onto the page, or if in doing so I should keep the +1 from the Gen V formula, as the page does mention "each generation generally makes its own additions or tweaks to the previous mechanics." But regardless, the above image is the most accurate formula for Gen VII Sukineko123 (talk) 18:13, 29 June 2021 (UTC)
Your image link doesn't work. I would suggest using another service such as imgur.com to upload the image. Alternatively, if it's just an image of a formula, you can render formulas directly on Bulbapedia by using TeX markup inside <math></math> tags. You can see examples of how to do that on this page.
Files can be uploaded to Bulbapedia via Special:Upload (located on the sidebar under "Upload file"), but you cannot upload images unless your account is autoconfirmed (which yours is not). And we generally prefer that users do not upload images to the Archives unless they will be used on content pages—it is preferred that users do not upload images solely to use on talk pages. --SnorlaxMonster 10:48, 30 June 2021 (UTC)

Experience yield

I can't find the list of Pokemon by experience yield. Is it even on wiki?--Rocket Grunt 20:26, 2 February 2022 (UTC)

It's part of the effort value list, for whatever reason. It's probably better to split it off into its own page, possibility as one large page to compare all yields considering bunch of Pokémon have changed their EXP yield in games other than Black and White.Eridanus (talk) 20:35, 2 February 2022 (UTC)

Inverted Formula for Medium Slow

In case anyone is curious about how to determine what level your Pokémon will be at with a given EXP value (I do this all the time when grinding the E4), I've factored out the cubic polynomial for Medium-Slow.

Not sure if it's worth posting on the page, leave that to the mods. Also I don't know how you guys did the math format in previous posts, so bear with me :).

Medium-Slow formula
Given level L, EXP value Y
Y=1.2*L^3 - 15*L^2 + 100*L - 140

Inverted Medium-Slow formula
Given level L, EXP value Y
G(Y)=(5*sqrt(81*Y^2-16695*Y+1387600))/108 + (15*Y-4150)/36 + 15625/216)^⅓ <- take the cube root of the enclosed polynomial
L=G(Y) - 125/(12*G(Y) + 25/6

Verified by Symbolab

Fast, Slow, and Medium-Fast are all simple directly-proportional relations, so derivation on those is easy.

--TwilightHylian (talk) 17:21, 7 July 2023 (UTC)