WHIRLWIND EXPLANATION: Pokémon have a fixed, permanent score from 0 to 31 for each stat that affects how good that stat can ever get.

This calculator will figure out that score (called a "gene" or, more obtusely, an "IV") for you, so you can discard the unworthy. It's more accurate for higher-level Pokémon, so it's helpful to go into a level 100 wifi battle with someone and check your Pokémon's stats from there.

Stat calculator

Bagon
Bagon
Base
stats
Stats Effort Stats Effort Possible genes (IVs)
Level Level
HP 45
44–49
27–31
Attack 75
32–37
28–31
Defense
−10%
60
23–28
30–31
Special Attack
+10%
40
20–26
26–31
Special Defense 30
15–21
29–31
Speed 50
23–28
0–5

Hmm, I need more information to figure out your Pokémon's genes exactly. Try raising it to level 19 and entering its new stats.
Remember: if your Pokémon battles at all, you'll need to track the effort it gains. Consider saving your game and using Rare Candy instead.

And for your copy/pasting pleasure:

27–31 HP; 28–31/30–31 Physical; 26–31/29–31 Special; 0–5 Speed

or start over