Quote Originally Posted by poutwuw View Post
...That wasn't the question...
I already know that.
The question is what a Pokemon has, not what it gives from being defeated.
For instance, my Lucario. I know its stats. I don't know its EVs.
I have gathered that the number 30 is somehow involved with this, but not really how so.
you should've clarified. At any rate, unless you've been keeping track, the only way is to either use an AR to figure it out, or upload it to Pokécheck, which will display the EVs it has.

and I'm not sure where you're getting 30 from, it has nothing to do with it unless you've given it 30 EVs.