The Relationship Between Electricity and Magnetism

Together, these two phenomena form the basis for electromagnetism

A simple electromagnet shows how electricity and magnetism are connected.
A simple electromagnet shows how electricity and magnetism are connected. Jasmin Awad / EyeEm / Getty Images

Electricity and magnetism are separate yet interconnected phenomena associated with the electromagnetic force. Together, they form the basis for electromagnetism, a key physics discipline.

Except for behavior due to the force of gravity, nearly every occurrence in daily life stems from the electromagnetic force. It is responsible for the interactions between atoms and the flow between matter and energy.

The other fundamental forces are the weak and strong nuclear force, which govern radioactive decay and the formation of atomic nuclei.

Since electricity and magnetism are incredibly important, it's a good idea to begin with a basic understanding of what they are and how they work.

Basics Principles of Electricity

Electricity is the phenomenon associated with either stationary or moving electric charges. The source of the electric charge could be an elementary particle, an electron (which has a negative charge), a proton (which has a positive charge), an ion, or any larger body that has an imbalance of positive and negative charge. Positive and negative charges attracts each other (e.g., protons are attracted to electrons), while like charges repel each other (e.g., protons repel other protons and electrons repel other electrons). 

Familiar examples of electricity include lightning, electrical current from an outlet or battery, and static electricity.

Common SI units of electricity include the ampere (A) for current, coulomb (C) for electric charge, volt (V) for potential difference, ohm (Ω) for resistance, and watt (W) for power. A stationary point charge has an electric field, but if the charge is set in motion, it also generates a magnetic field.

Basic Principles of Magnetism

Magnetism is defined as the physical phenomenon produced by moving electric charge. Also, a magnetic field can induce charged particles to move, producing an electric current. An electromagnetic wave (such as light) has both an electric and magnetic component. The two components of the wave travel in the same direction, but oriented at a right angle (90 degrees) to one another.

Like electricity, magnetism produces attraction and repulsion between objects. While electricity is based on positive and negative charges, there are no known magnetic monopoles. Any magnetic particle or object has a "north" and "south" pole, with the directions based on the orientation of the Earth's magnetic field. Like poles of a magnet repel each other (e.g., north repels north), while opposite poles attract one another (north and south attract).

Familiar examples of magnetism include a compass needle's reaction to Earth's magnetic field, attraction and repulsion of bar magnets, and the field surrounding electromagnets. Yet, every moving electric charge has a magnetic field, so the orbiting electrons of atoms produce a magnetic field; there is a magnetic field associated with power lines; and hard discs and speakers rely on magnetic fields to function.

Key SI units of magnetism include the tesla (T) for magnetic flux density, weber (Wb) for magnetic flux, ampere per meter (A/m) for magnetic field strength, and henry (H) for inductance.

The Fundamental Principles of Electromagnetism

The word electromagnetism comes from a combination of the Greek works elektron, meaning "amber" and magnetis lithos, meaning "Magnesian stone," which is a magnetic iron ore. The ancient Greeks were familiar with electricity and magnetism, but considered them to be two separate phenomena.

The relationship known as electromagnetism wasn't described until James Clerk Maxwell published A Treatise on Electricity and Magnetism in 1873. Maxwell's work included twenty famous equations, which have since been condensed into four partial differential equations. The basic concepts represented by the equations are as follows: 

  1. Unlike electric charges repel, and like electric charges attract. The force of attraction or repulsion is inversely proportional to the square of the distance between them.
  2. Magnetic poles always exist as north-south pairs. Like poles repel like and attract unlike.
  3. An electric current in a wire generates a magnetic field around the wire. The direction of the magnetic field (clockwise or counterclockwise) depends on the direction of the current. This is the "right hand rule," where the direction of the magnetic field follows the fingers of your right hand if your thumb is pointing in the current direction.
  4. Moving a loop of wire toward or away from a magnetic field induces a current in the wire. The direction of the current depends on the direction of the movement.

Maxwell's theory contradicted Newtonian mechanics, yet experiments proved Maxwell's equations. The conflict was finally resolved by Einstein's theory of special relativity.

Electricity and Magnetism Key Takeaways

  • Electricity and magnetism are two related phenomena produced by the electromagnetic force. Together, they form electromagnetism.
  • A moving electric charge generates a magnetic field.
  • A magnetic field induces electric charge movement, producing an electric current.
  • In an electromagnetic wave, the electric field and magnetic field are perpendicular to one another.


  • Hunt, Bruce J. (2005). The Maxwellians. Cornell: Cornell University Press. pp. 165–166. ISBN 978-0-8014-8234-2.
  • International Union of Pure and Applied Chemistry (1993). Quantities, Units and Symbols in Physical Chemistry, 2nd edition, Oxford: Blackwell Science. ISBN 0-632-03583-8. pp. 14–15.
  • Ravaioli, Fawwaz T. Ulaby, Eric Michielssen, Umberto (2010). Fundamentals of applied electromagnetics (6th ed.). Boston: Prentice Hall. p. 13. ISBN 978-0-13-213931-1.