Calculation of Electric Potential Differences