To calculate amp hours, you need to know the voltage of the battery and the amount of energy stored in the battery. Multiply the energy in watt-hours by voltage in volts, and you will obtain amp hours.. Alternatively, if you have the capacity in mAh and you want to make a battery Ah calculation, simply use the equation: Ah = (capacity in …