Question: what is the formula to calculate the emf?
Answer: The emf is equal to the work done on the charge per unit charge (ϵ=dWdq) when there is no current flowing. Since the unit for work is the joule and the unit for charge is the coulomb, the unit for emf is the volt (1V=1J/C).