How does a rolling car convert kinetic energy to potential energy on a hill?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

When a car rolls up a hill, it converts its kinetic energy—the energy of its motion—into gravitational potential energy, which is energy stored due to the car's position within Earth's gravitational field.1

As the car ascends, its velocity decreases, causing its kinetic energy to drop. Simultaneously, it gains height relative to its starting point. According to the law of conservation of energy, this kinetic energy is transformed into potential energy, calculated as mgh, where m is the mass of the car, g is the acceleration due to gravity, and h is the change in height.1

In a real-world scenario, some of this energy is also dissipated as thermal energy due to friction and air resistance, meaning not all kinetic energy is perfectly converted into potential energy. If the car were to roll back down the hill, that stored potential energy would be converted back into kinetic energy.12