This is a great idea and application. There have been multiple times where I have miscalculated how many transfers I should do and evolutions I will be able to accomplish while using a lucky egg. One tweak that would be great to add would be to factor in the evolved Pokemon you can transfer to get more candy for more evolutions. For instance if you have 5 Caterpie and 59 Caterpie candy then you could evolve 4 Caterpie leaving you with 4 Metapod, 1 Caterpie and 11 Caterpie candy. From there you could transfer a metapod to be able to evolve another Caterpie. It would be great to see the evolved Pokemon added to you calculations since generally the evolved Pokemon are unusable and transferred anyway.