Two halves of electromagnetism

Electric Field vs Magnetic Field

The difference between an electric field and a magnetic field is what creates them and what they push on: an electric field comes from electric charges and exerts a force on any charge, moving or not, while a magnetic field comes from moving charges and magnetic materials and pushes only on charges that move. Electric field lines start and end on charges; magnetic field lines always close into loops.

Iron filings tracing magnetic field loops around a bar magnet beside a charged balloon lifting small paper scraps
Iron filings reveal a magnet's field, while a charged balloon shows an electric field pulling on paper bits.

At a Glance

An electric field E is the force per unit charge, E = F / q, measured in newtons per coulomb (N/C) or volts per meter (V/m), and it acts along the field on every charge. A magnetic field B is measured in teslas (T) and pushes on a moving charge with F = qvB sin θ, at right angles to both the velocity and the field, so it never does work on the charge.

Electric field
Symbol E · unit N/C = V/m · F = qE
Magnetic field
Symbol B · unit tesla (T) · F = qvB sin θ
Created by
E: any charge · B: moving charges, magnets
Acts on
E: all charges · B: moving charges only
Field lines
E: start and end on charges · B: closed loops
Both are
Vector fields, linked by Maxwell's equations
On this page
  1. What Is the Difference Between an Electric Field and a Magnetic Field?
  2. How Are Electric and Magnetic Fields Defined?
  3. What Are the Formulas for Electric and Magnetic Fields?
  4. How Do Electric and Magnetic Forces on a Charge Differ?
  5. How Do Electric and Magnetic Field Lines Compare?
  6. How Are Electric and Magnetic Fields Connected?
  7. What Role Do Both Fields Play in Light?
  8. Where Do You Meet Electric and Magnetic Fields Every Day?
  9. How Can You Practice Electric and Magnetic Field Problems?
  10. Common Misconceptions
  11. Key Facts
  12. Quiz
  13. FAQ

What Is the Difference Between an Electric Field and a Magnetic Field?

Both fields are invisible regions of influence around objects, and both are vectors with a size and a direction at every point. The difference lies in their sources and their targets. An electric field surrounds every electric charge and pushes or pulls on any other charge placed in it, whether that charge is sitting still or moving.

A magnetic field is produced by charges in motion, such as a current in a wire, and by magnetic materials, where the motion and spin of electrons inside atoms line up. It ignores charges at rest. It only acts on a charge that moves across it, and the push is always at right angles to the motion.

A balloon rubbed on your hair and stuck to a wall is an electric field at work. A fridge magnet holding a note is a magnetic field at work. The table lines the two up point by point.

Electric field and magnetic field compared side by side
FeatureElectric fieldMagnetic field
SymbolEB
SI unitnewton per coulomb (N/C) = volt per meter (V/m)tesla (T) = N/(A·m)
Produced byAny electric charge, at rest or moving; a changing magnetic fieldMoving charges (currents), magnetic materials; a changing electric field
Acts onEvery chargeOnly charges moving across the field (and magnets, currents)
Force lawF = qEF = qvB sin θ
Force directionAlong the field linePerpendicular to both velocity and field
Does work on a free charge?Yes, it can change speedNo, it only changes direction
Field linesStart on + charges, end on − chargesClosed loops with no start or end
Isolated sourceSingle charges existNo magnetic monopole has been found
Point-source strengthE = k|Q| / r²Long wire: B = μ0 I / (2π r)
Energy stored per volumeu = ½ ε0 E²u = B² / (2 μ0)
Blocked byA conducting shell (Faraday cage)Hard to block; needs high-permeability metal shields
Detected withElectroscope, charged test bodyCompass, Hall-effect sensor
Typical everyday valueAbout 100 to 150 V/m near the ground in fair weatherAbout 25 to 65 µT at Earth's surface
Source: Standard SI definitions; formulas from our formula data set (data/formulas.json); everyday field strengths are typical values · Retrieved October 2026

How Are Electric and Magnetic Fields Defined?

The electric field at a point is the force a small test charge would feel there, divided by the size of that charge: E→=F→/q. It points in the direction a positive charge would be pushed. Its SI unit is the newton per coulomb, which is the same as the volt per meter, linking it directly to voltage.

The magnetic field is defined through the sideways force on a moving charge. A charge q moving with speed v at an angle θ to the field feels a force of size qvBsin⁡θ. The SI unit of B is the tesla: a field of 1 T pushes with 1 N on a charge of 1 C moving at 1 m/s straight across it.

One tesla is a strong field. Earth's magnetic field at the surface is only about 25 to 65 microteslas, while hospital MRI scanners typically run at 1.5 or 3 T.

What Are the Formulas for Electric and Magnetic Fields?

The electric field definition, E=F/q, is shown in the block below. For a single point charge Q, the field at distance r is E=k|Q|/r2, which follows from Coulomb's law. Between two parallel charged plates the field is nearly uniform, with E=V/d.

The matching magnetic expressions describe how currents make fields. A long straight wire carrying current I produces B=μ0I/(2πr) at distance r, as explained on the magnetic field of a wire page. Inside a long solenoid the field is nearly uniform, B=μ0nI.

Notice the pattern: the electric field depends on how much charge there is, while the magnetic field depends on how much charge is flowing. For quick numbers, try our Coulomb's law calculator and magnetic field calculator.

The electric field is defined as the force a small test charge feels divided by its charge; the block lists each symbol with its SI unit.

E=Fq
What each symbol means
SymbolQuantitySI unit
Eelectric field strengthnewton per coulomb (N/C)
Felectric force on the test chargenewton (N)
qtest chargecoulomb (C)

Rearranged to find another variable:

F=qEq=FE

Valid for: positive test charge; vector field (force on a negative charge is opposite to E).

Example 1 Measuring a field with a charged bead

A tiny plastic bead carrying 2.0 × 10^-6 C of charge is held between two charged plates and feels an electric force of 0.050 N. What is the strength of the electric field at the bead?

  1. Given:
    • electric force on the test charge: F=0.05 N
    • test charge: q=2×10−6 C
  2. Formula: E=Fq
  3. Substitute: F=0.05 N,q=2×10−6 C
  4. Answer: E=25,000 N/C

The same value can be written in volts per meter, because 1 N/C equals 1 V/m.

How Do Electric and Magnetic Forces on a Charge Differ?

An electric field pushes a charge along the field line, F→=qE→. A positive charge is pushed with the field, a negative charge against it, and the force is the same whether the charge moves or not. Because the force can point along the motion, an electric field can speed a charge up or slow it down, which means it does work and changes kinetic energy.

A magnetic field pushes sideways. The magnetic force on a moving charge is perpendicular to both the velocity and the field, with its direction given by the right-hand rule. A force that is always perpendicular to the motion can bend a path but never change speed, so a magnetic field does no work on a free charge.

The worked examples put one proton in each field. Particle accelerators use exactly this split: electric fields add energy to the particles, and magnetic fields steer them around the ring.

Example 2 A proton crossing a magnetic field

A proton (charge 1.602 176 634 × 10^-19 C) moves at 4.0 × 10^5 m/s at right angles to a uniform 0.30 T magnetic field. What is the size of the magnetic force on it?

  1. Given:
    • charge: q=1.602×10−19 C
    • speed: v=400,000 m/s
    • magnetic field strength: B=0.3 T
  2. Formula: F=qvB
  3. Substitute: q=1.602×10−19 C,v=400,000 m/s,B=0.3 T
  4. Answer: F=1.923×10−14 N

With the angle at 90 degrees, sin θ = 1. The force points sideways, so it bends the proton's path into a circle without changing its speed.

Example 3 The same proton in an electric field

The same proton now passes through a uniform electric field of 1.2 × 10^5 V/m. What electric force acts on it?

  1. Given:
    • test charge: q=1.602×10−19 C
    • electric field strength: E=120,000 N/C
  2. Formula: F=qE
  3. Substitute: q=1.602×10−19 C,E=120,000 N/C
  4. Answer: F=1.923×10−14 N

The two forces come out equal. If the fields are arranged so these forces point in opposite directions, the proton flies straight through; this is a velocity selector, which passes only particles with v = E/B = 4.0 × 10^5 m/s (computed).

How Do Electric and Magnetic Field Lines Compare?

Electric field lines begin on positive charges and end on negative charges, as in the first diagram. They never form closed loops in a static arrangement, because they always run downhill in electric potential from one charge to another.

Magnetic field lines have no beginning or end. Outside a bar magnet they run from the north pole to the south pole, and inside the magnet they continue from south back to north, closing every loop. This reflects a basic fact: no one has ever found an isolated north or south pole, a magnetic monopole. Cut a magnet in half and you get two smaller magnets, each with both poles.

In both cases, lines packed closely together mean a strong field, and the field at any point is tangent to the line through it.

Electric field lines running from a positive charge to a negative charge, starting and ending on the charges
Electric field lines begin on the positive charge and end on the negative one.
Magnetic field lines looping from the north pole to the south pole of a bar magnet and closing through it
Magnetic field lines have no ends: they loop out of the north pole and return through the magnet.

How Are Electric and Magnetic Fields Connected?

The two fields are not truly separate. In 1820 Hans Christian Ørsted saw a compass needle swing beside a wire carrying current, the first sign that moving charge makes a magnetic field. In 1831 Michael Faraday showed the reverse link: a changing magnetic field creates an electric field that drives current, the principle in Faraday's law.

James Clerk Maxwell completed the picture in the 1860s by adding that a changing electric field also creates a magnetic field. His four equations, gathered on our Maxwell's equations page, describe both fields as parts of one electromagnetic field.

Relativity tightens the link further. Whether a field looks electric or magnetic depends on how you are moving: a charge at rest has only an electric field, but an observer walking past it measures a magnetic field too.

What Role Do Both Fields Play in Light?

Because a changing electric field makes a magnetic field and a changing magnetic field makes an electric field, the two can sustain each other and travel through empty space. That traveling pair is an electromagnetic wave: radio, microwaves, visible light and X-rays are all examples.

In such a wave the electric and magnetic fields are perpendicular to each other and to the direction of travel, and they rise and fall together. Their sizes are locked by the speed of light, E=cB. A wave with a magnetic field of just 1 microtesla therefore has an electric field of about 300 V/m (computed), which is why the electric part usually dominates when light interacts with matter.

Energy stored per cubic meter in some electric and magnetic fields
FieldStrengthEnergy density (J/m³)
Electric field at which air breaks down3 × 106 V/m39.8
Electric field in a light wave with B = 1 µTabout 300 V/mabout 4 × 10-7
Earth's magnetic field50 µT0.000 995
Strong permanent magnet1 T397,887
MRI scanner magnet3 T3,580,986
Source: Computed with u = ½ ε0 E² and u = B²/(2 μ0) using ε0 and μ0 from NIST CODATA 2022 (physics.nist.gov) · public domain; field strengths are typical values · Retrieved October 2026

Where Do You Meet Electric and Magnetic Fields Every Day?

Electric fields at work:

  • Static cling, and a rubbed balloon lifting small bits of paper.
  • The field between the plates of a capacitor in every phone charger.
  • Sparks, which jump when the field in dry air reaches roughly 3 million V/m and the air breaks down; lightning is the same breakdown on a giant scale.
  • A Faraday cage, which blocks outside electric fields with a metal shell.

Magnetic fields at work:

  • A compass needle lining up with Earth's magnetic field.
  • The field of an electromagnet in a scrapyard crane or a door lock.
  • Electric motors, where magnetic forces on current-carrying wires make the shaft turn.
  • Auroras, where charged particles from the Sun spiral along Earth's field lines.

How Can You Practice Electric and Magnetic Field Problems?

Work one problem in each field for the same particle, as in the examples above, and compare the force directions. Our magnetism worksheets and static electricity worksheets provide printable practice with answer keys, and the quiz below checks the main differences.

Common Misconceptions

Myth: A magnet attracts a charged balloon the same way it attracts iron.

Physics: A magnetic field does not push on a charge at rest. A still, charged balloon feels no magnetic force at all; only its electric field interactions matter.

Myth: Magnetic fields speed up charged particles in accelerators.

Physics: Magnetic forces are always perpendicular to the motion, so they only steer particles. Electric fields in accelerating cavities supply the energy.

Myth: Electric and magnetic fields are completely separate things.

Physics: They are two parts of one electromagnetic field. Each can create the other when it changes, and which one you see depends on how you are moving.

Myth: Magnetic field lines start at the north pole and end at the south pole.

Physics: Outside the magnet they run north to south, but they continue inside the magnet from south to north, so every line is a closed loop.

Key Facts

  • An electric field comes from charges and pushes on every charge; a magnetic field comes from moving charges and pushes only on moving charges.
  • Electric field strength is measured in N/C or V/m, and magnetic field strength in teslas.
  • The electric force on a charge is F = qE, along the field; the magnetic force is F = qvB sin θ, perpendicular to the motion.
  • Electric fields can change a charge's speed, while magnetic fields only change its direction.
  • Electric field lines start and end on charges, but magnetic field lines always form closed loops.
  • A changing magnetic field creates an electric field, and a changing electric field creates a magnetic field.
  • Light is a wave of linked electric and magnetic fields with E = cB.
Did you know? A strong magnetic field stores far more energy than any electric field air can hold. Air breaks down at about 3 million V/m, which stores roughly 40 J in each cubic meter, while a 1 T magnet stores about 400,000 J per cubic meter (both computed), about ten thousand times more.

Quick Quiz: How Well Do You Know Electric Field vs Magnetic Field?

6 questions. Tap an answer to check it.

  1. Which field exerts a force on a charge that is at rest?

  2. What is the SI unit of magnetic field strength B?

  3. In which direction does the magnetic force on a moving charge point?

  4. Which statement about field lines is correct?

  5. A proton circles at constant speed in a uniform magnetic field. How much work does the field do on it each turn?

  6. What creates an electric field besides a charge?

Frequently Asked Questions

What is the main difference between an electric field and a magnetic field?

An electric field is created by electric charges and exerts a force on any charge placed in it. A magnetic field is created by moving charges or magnets and exerts a force only on charges that are moving across it. The electric force acts along the field, while the magnetic force acts at right angles to the motion.

Can a magnetic field exist without an electric field?

Yes, in a given frame of reference. A permanent magnet or a steady current in a neutral wire produces a magnetic field with almost no electric field around it, because the wire carries equal positive and negative charge. An observer moving past the same setup, however, would measure some electric field as well.

Are electric and magnetic fields the same thing?

Not exactly, but they are closely related. They are two aspects of a single electromagnetic field described by Maxwell's equations. A changing magnetic field produces an electric field and a changing electric field produces a magnetic field. Special relativity shows that how a field splits into electric and magnetic parts depends on the observer's motion.

What are the units of electric and magnetic fields?

Electric field strength is measured in newtons per coulomb, which is identical to volts per meter. Magnetic field strength, more precisely magnetic flux density, is measured in teslas. One tesla equals one newton per ampere-meter. The older unit gauss is still common for magnets; 1 tesla equals 10,000 gauss.

Why does a magnetic field do no work on a moving charge?

Work requires a force component along the direction of motion. The magnetic force on a charge is always perpendicular to its velocity, so that component is zero. The field can curve the charge's path into a circle or spiral, but the speed and kinetic energy stay the same. Electric fields are needed to change the energy.

Do electric fields affect magnets?

A steady electric field does not exert a force on a stationary magnet. A changing electric field, however, creates a magnetic field, which can then act on the magnet. That is how electric and magnetic effects connect in practice, for example in the oscillating fields of a radio wave interacting with the magnetic parts of an antenna circuit.

Which is stronger, the electric or the magnetic force?

It depends on the speed of the charge and the field strengths, so neither is always stronger. For a charge moving at speed v, the magnetic force qvB matches the electric force qE when v = E/B. In an electromagnetic wave the magnetic force on slow-moving electrons is much smaller than the electric force, because v is far less than c.

How can you detect an electric field versus a magnetic field?

An electric field shows itself by moving or deflecting charged objects, for example spreading the leaves of an electroscope or attracting small paper bits to a charged rod. A magnetic field is easiest to detect with a compass needle, iron filings or an electronic magnetometer, like the tiny sensor chip that lets a phone work as a compass.

Physics Tribune Editorial Team
Written by our editors and checked against NIST and BIPM reference data. Every worked example is recomputed in code. Read our editorial policy. Last updated October 2026.