Apps all do different things, to estimate it, you would have to do the calculations yourself. This isn't a set thing already.
I have an application on my Mac that lets me set up how much mAh charge an app runs through per minute and gives me an estimate. But still, I had to do the actual process of watching my battery go down while using it to get that number to begin with.