Calculating Electrostatic Potential Energy: Formula & Examples

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: What is Capacitance? - Definition, Equation & Examples

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:03 Attraction & Repulsion…
  • 1:11 Electrostatic Potential Energy
  • 2:16 Some Practice Problems
  • 5:29 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed Audio mode

Recommended Lessons and Courses for You

Lesson Transcript
Betsy Chesnutt

Betsy teaches college physics, biology, and engineering and has a Ph.D. in Biomedical Engineering

Expert Contributor
Kathryn Boddie

Kathryn earned her Ph.D. in Mathematics from UW-Milwaukee in 2019. She has over 10 years of teaching experience at high school and university level.

A system of charges can have electrostatic potential energy due to where each charge is located relative to the others. In this lesson, learn about electrostatic potential energy and how to calculate it.

Attraction and Repulsion of Charges

When you brush your hair on a cold day, why does it suddenly stand up? It looks like magic, but it's really caused by static electricity.

Understanding static electricity allows you to understand how different types of electric charges interact with each other. Charges on objects come from tiny subatomic particles called electrons and protons. There are only two types of electric charge: positive and negative. Electrons are negatively charged, while protons are positively charged.

These positive and negative charges exert forces on each other. We know that if two objects have the same type of charge, they will repel, or push each other away. If they have different charges (one positive and one negative), they will attract each other.

Now, let's look at what happened to your hair in more detail. When you brushed it, some electrons from the brush were transferred to your hair. These extra electrons gave each hair's strand a small negative charge. Because your hair is all negatively charged now, each strand repels the others until your hair stands on end!

Electrostatic Potential Energy

One way to measure the effects of these types of interactions between charges is to calculate the electrostatic potential energy of a system of charges. In general, potential energy is any kind of energy that is stored within a system. As this stored energy turns into kinetic energy, the object will start to move and will keep speeding up until all the potential energy has become kinetic energy.

A pair of charges will always have some potential energy because if they are released from rest, they will either start moving towards (if the charges are different) or away (if the charges are the same) from each other. Electrostatic potential energy is specifically the energy associated with a set of charges arranged in a certain configuration.

The potential energy (Ue) depends on the amount of charge that each object contains (q), how far apart the charges are (r), and Coulomb's constant (k):

electrostatic potential energy equation

Practice Problems

Let's look at a couple of examples of how to calculate the electrostatic potential energy of a pair of charges. In all of these problems, remember that charge is measured in units of Coulombs (C) and energy is measured in units of Joules (J).

Same Type of Charge

Let's first look at an example that covers the same type of charge. Two small spheres, both with a charge of +0.005 C, are held 0.25 meters apart from each other. What is the electrostatic potential energy of this system of charges?

Example 1

To unlock this lesson you must be a Member.
Create your account

Additional Activities

Practice Problems

In the following problems, students will continue to work with the formula for electrostatic potential energy by using it to solve for the distance between two spheres given the electrostatic potential energy and the charges of the spheres, as well as using the formula to solve for the charge of one of the spheres given the electrostatic potential energy, the distance between the spheres and the charge of the other sphere. After completing the beginning problems, students should move on to the challenge problems, which are more theoretical.


  1. Find the distance between two spheres of charges, 0.0003 C and -0.0001 C, respectively, if the electrostatic potential energy is -450 J.
  2. If the electrostatic potential energy between two spheres a distance of 2 meters apart is 100000 J, find the charge of the second sphere given that the first sphere has a charge of -0.005 C.


Both problems use the formula:

  1. We have -450 = (9 x 10^9) * ((0.0003) * (-0.0001)) / r. Solving for r, we have r = -270 / -450 = 0.6 meters.
  2. We have 100000 = (9 x 10^9) * ((-0.005) * q) / 2. Solving for the other charge q, we have q = 200000 / -45000000 = -0.0044 C.

Challenge Problems

  1. What happens to the electrostatic potential energy between two spheres at a fixed distance apart if the charges of both spheres are doubled?
  2. If one charge is tripled and the other charge remains the same, what would have to happen to the distance between the spheres to keep the electrostatic potential energy the same?


1. Using the formula:

Replace each charge with the charge doubled:

This shows us that the electrostatic potential energy is quadrupled.

2. Using the formula and replacing one charge with three times the charge and replacing the distance r with x, we have:

Since we want the electrostatic potential energy to stay the same, we set these two equations equal to each other and solve for the new distance x.

So, the spheres will have to be three times the distance apart to keep the electrostatic potential energy the same.

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account