Lorentz Force Calculator

Find the total force on a moving charge from electric and magnetic fields, and see the circle or helix it follows in a magnetic field.

🧲 Lorentz Force Calculator
Particle
Charge (q)
e
Mass (m)
u
Speed (v)
m/s
Magnetic field (B)
T
Angle between v and B
°
Velocity v (m/s)
Electric field E (V/m)
Magnetic field B (T)
Speed across B (v⊥)
m/s
Speed along B (v∥)
m/s
Magnetic field (B)
T
Magnetic force F = q v B sin θ
—
sin θ
—
Speed across the field
—
Speed along the field
—
Acceleration F / (γ m)
—
Lorentz factor
—
Orbit radius
—
Cyclotron frequency
—
Helix pitch
—

Total force magnitude
—
Force, x component
—
Force, y component
—
Force, z component
—
Electric part |qE|
—
Magnetic part |q v × B|
—
Angle between v and B
—
Power F · v
—

Orbit radius
—
Classical radius m v / (q B)
—
Cyclotron frequency
—
Period
—
Angular frequency
—
Lorentz factor
—
Kinetic energy
—
Helix pitch per turn
—

🧲 What is the Lorentz Force?

The Lorentz force is the total electromagnetic force on a charged particle. A charge q at rest feels only the electric force qE. Once it moves with velocity v, a magnetic field B adds a second force q v × B that is perpendicular to both the velocity and the field. The complete law, F = q(E + v × B), was assembled in the 1890s and is named after Hendrik Lorentz. It is the bridge between electromagnetism and mechanics, because it says how fields push on matter, while Maxwell's equations say how charges and currents produce the fields.

Everything from small devices to large machines relies on it. A cathode ray tube steers electrons with deflecting fields. A mass spectrometer separates ions by the radius of their circular paths. Cyclotrons and synchrotrons bend particle beams with magnets and push them with electric fields. Hall sensors in cars and phones detect the sideways push on moving charge carriers, and electric motors use the force on currents, which is the Lorentz force summed over many charges. In space, the same law shapes the paths of cosmic rays around planets and stars.

Several features surprise newcomers. The magnetic force depends on the velocity, so a charge at rest feels none. It is perpendicular to the velocity, so it never changes the speed and does no work, it only bends the path. When the velocity is exactly along B the force is zero, and at right angles it is largest. Also, the electric and magnetic parts can cancel exactly for one speed, which is the principle of a velocity selector. For fast particles you replace the mass with the relativistic mass γ m when finding the radius and frequency.

This calculator gives you three views. The angle form computes the magnetic force from speed, field and angle, and charts it against the angle. The vector form computes the complete force from the three components of v, E and B, with a table of the electric, magnetic and total parts. The orbit form turns a speed and a field into a radius, a frequency and a pitch for the helical path.

📐 Formula

F  =  q ( E + v × B )
F = force on the charge (N), a vector
q = charge (C). The calculator takes it in units of e, with e = 1.602176634×10−19 C, and the mass in atomic mass units, 1 u = 1.66053906660×10−27 kg
E = electric field (V/m) and B = magnetic flux density (T)
v × B = ( vy Bz − vz By, vz Bx − vx Bz, vx By − vy Bx )
Magnetic only: |F| = |q| v B sin θ, with θ the angle between v and B
Example: a proton at 2×106 m/s across a 0.5 T field: F = 1.602×10−19 × 2×106 × 0.5 = 1.6022×10−13 N
r  =  γ m v⊥ ÷ ( |q| B ),   f  =  |q| B ÷ ( 2π γ m )
r = orbit radius (m) and f = cyclotron frequency (Hz)
v⊥ = speed across the field, and v∥ = speed along it, which sets the helix pitch p = v∥ / f
γ = 1 / √(1 − v²/c²) with v the total speed. For slow particles γ = 1.
Example: a proton at 106 m/s in 1 T: r = 1.6726×10−27 × 106 ÷ (1.602×10−19 × 1) = 0.0104 m

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Angle form for F = q v B sin θ, Vector form for F = q(E + v × B) with components, or Orbit for the radius and frequency of the circular path.
2
Pick the particle and enter the fields. Choose an electron, proton or alpha particle, or Custom with a charge in units of e and a mass in atomic mass units, then enter the speed and the fields.
3
Read the force, orbit and chart. Read the force and its parts, the angle, the orbit radius and frequency, and check the chart or the component table.

💡 Example Calculations

Example 1 — Proton Across a Magnetic Field

A proton at 2,000,000 m/s moves at 90 degrees to a 0.5 T field

1
sin 90° = 1.0000, so the whole speed is across the field
2
F = q v B sin θ = 1.602×10−19 × 2×106 × 0.5 = 1.6022e-13 N
3
Acceleration = 9.5786e+13 m/s², orbit radius 0.0418 m and cyclotron frequency 7.6224e+6 Hz
Magnetic force = 1.6022e-13 N
Try this example →

Example 2 — Electron at 30 Degrees

An electron at 10,000,000 m/s enters a 0.01 T field at 30 degrees

1
sin 30° = 0.5000, so the speed across the field is 5.0000e+6 m/s and along it 8.6603e+6 m/s
2
F = 1.602×10−19 × 107 × 0.01 × 0.5 = 8.0109e-15 N
3
The path is a helix of radius 2.8444e-3 m at 2.7977e+8 Hz, advancing 0.0310 m along the field in each turn
Magnetic force = 8.0109e-15 N
Try this example →

Example 3 — A Velocity Selector

A proton at v = (100000, 0, 0) m/s with E = (0, 2000, 0) V/m and B = (0, 0, 0.02) T

1
v × B = (0, −vx Bz, 0) = (0, −2000, 0), and q E = (0, 3.2044×10−16, 0) N
2
The magnetic term is (0, −3.2044×10−16, 0) N, so the electric part (3.2044e-16 N) and the magnetic part (3.2044e-16 N) are equal and opposite
3
The total force is 0 N, since v = E / B = 2000 / 0.02 = 100000 m/s. The angle between v and B is 90.00° and the power is 0 W.
Total force = 0 N, the particle goes straight through
Try this example →

Example 4 — Electron in a Magnetic Field Only

An electron with v = (300000, 400000, 0) m/s in B = (0, 0, 0.1) T and no electric field

1
v × B = (vy Bz, −vx Bz, 0) = (40000, −30000, 0)
2
Multiplying by q = −1.602×10−19 C gives F = (−6.4087e-15, 4.8065e-15, 0) N
3
|F| = 8.0109e-15 N. The speed is 500000 m/s and q v B = 8.0109×10−15 N, which agrees. The angle is 90.00°.
Force = (−6.4087e-15, 4.8065e-15, 0) N, magnitude 8.0109e-15 N
Try this example →

Example 5 — Alpha Particle in Crossed Fields

An alpha particle with v = (0, 2000000, 1000000) m/s, E = (500, 0, 0) V/m and B = (0.1, 0, 0) T

1
v × B = (0, vz Bx, −vy Bx) = (0, 100000, −200000), and q = 2e = 3.2044×10−19 C
2
Electric part qE = (1.6022e-16, 0, 0) N. Magnetic part q v × B = (0, 3.2044×10−14, −6.4087×10−14) N, magnitude 7.1652e-14 N.
3
Total F = (1.6022×10−16, 3.2044e-14, −6.4087e-14) N with magnitude 7.1652e-14 N. The power F · v is 0 W because E is perpendicular to v.
Total force magnitude = 7.1652e-14 N
Try this example →

Example 6 — Proton Orbit in a 1 T Field

A proton with v⊥ = 1,000,000 m/s and no parallel motion in a 1 T field

1
The Lorentz factor is 1.000006, so the classical formula is accurate
2
r = m v / (q B) = 1.6726×10−27 × 106 ÷ 1.602×10−19 = 0.0104 m
3
f = q B / (2π m) = 1.5245e+7 Hz, period 6.5595e-8 s, angular frequency 9.5788e+7 rad/s and kinetic energy 5219.8860 eV
Orbit radius = 0.0104 m at 1.5245e+7 Hz
Try this example →

Example 7 — A Fast Electron on a Helix

An electron with v⊥ = 59,000,000 m/s and v∥ = 20,000,000 m/s in a 0.001 T field

1
The total speed is 6.2297×107 m/s (0.2078 c), so γ = 1.022316
2
r = γ m v⊥ / (e B) = 0.3429 m, compared with the classical 0.3355 m. The frequency is 2.7381e+7 Hz, with period 3.6521e-8 s.
3
The electron advances 20,000,000 × 3.6521×10−8 = 0.7304 m along the field per turn, and its kinetic energy is 11403.6475 eV
Orbit radius = 0.3429 m, helix pitch = 0.7304 m
Try this example →

❓ Frequently Asked Questions

What is the Lorentz force formula?+
The Lorentz force on a charge q moving with velocity v in an electric field E and a magnetic field B is F = q(E + v × B). The first term is the electric force along E, and the second is the magnetic force, perpendicular to both v and B.
How do you calculate the magnetic force on a moving charge?+
Use F = q v B sin θ, where θ is the angle between v and B. For a proton at 2e6 m/s perpendicular to a 0.5 T field, F = 1.602e-19 × 2e6 × 0.5 = 1.6022e-13 N.
What is the direction of the Lorentz force?+
The magnetic part points along v × B for a positive charge and opposite to it for a negative charge. By the right hand rule, point your fingers along v, curl them toward B, and your thumb gives the direction for a positive charge.
Why does the magnetic force do no work?+
The force is always perpendicular to the velocity, so the power F · v is zero. The magnetic field changes the direction of motion of a particle but not its speed. Only the electric field can change the kinetic energy.
What is a velocity selector?+
A velocity selector uses crossed electric and magnetic fields so that the two forces cancel for one speed, v = E/B. With E = 2000 V/m and B = 0.02 T, particles at 100000 m/s go straight and every other speed is deflected.
How do I find the radius of a charged particle in a magnetic field?+
For motion perpendicular to B, the radius is r = m v / (|q| B), and with relativity r = γ m v / (|q| B). A proton at 1e6 m/s in 1 T has a radius of 0.0104 m, which is 10.4 mm.
What is the cyclotron frequency?+
The frequency of circular motion is f = |q| B / (2π γ m), independent of the speed at low speeds. A proton in 1 T circles at 1.5245e7 Hz, about 15.2 MHz, and an electron in 1 mT circles near 28 MHz.
What path does a charged particle follow in a magnetic field?+
A circle if its velocity is perpendicular to B, a straight line if it is parallel, and a helix otherwise. The helix has radius set by the perpendicular speed and pitch equal to the parallel speed times the orbit period.
Does the Lorentz force depend on the mass of the particle?+
The force does not, but the resulting motion does. The force q v B is independent of mass, while the acceleration F/m and the orbit radius m v/(qB) are larger for heavier particles. A heavier alpha particle has a larger orbit than a proton at the same speed.
What happens if the electric and magnetic forces are in the same direction?+
They add as vectors. In vector mode the calculator gives the electric and magnetic parts as separate rows and the total, with their magnitudes, so you can see whether they add, partly cancel or cancel exactly.
Is the Lorentz force the same for a charge at rest?+
A charge at rest feels only the electric part qE, because the magnetic part is proportional to velocity. Set the velocity to zero in vector mode and the magnetic row drops to zero while the electric row is unchanged.

What is the Lorentz force formula?

The Lorentz force on a charge q moving with velocity v in an electric field E and a magnetic field B is F = q(E + v × B). The first term is the electric force along E, and the second is the magnetic force, perpendicular to both v and B.

How do you calculate the magnetic force on a moving charge?

Use F = q v B sin θ, where θ is the angle between v and B. For a proton at 2e6 m/s perpendicular to a 0.5 T field, F = 1.602e-19 × 2e6 × 0.5 = 1.6022e-13 N.

What is the direction of the Lorentz force?

The magnetic part points along v × B for a positive charge and opposite to it for a negative charge. By the right hand rule, point your fingers along v, curl them toward B, and your thumb gives the direction for a positive charge.

Why does the magnetic force do no work?

The force is always perpendicular to the velocity, so the power F · v is zero. The magnetic field changes the direction of motion of a particle but not its speed. Only the electric field can change the kinetic energy.

What is a velocity selector?

A velocity selector uses crossed electric and magnetic fields so that the two forces cancel for one speed, v = E/B. With E = 2000 V/m and B = 0.02 T, particles at 100000 m/s go straight and every other speed is deflected.

How do I find the radius of a charged particle in a magnetic field?

For motion perpendicular to B, the radius is r = m v / (|q| B), and with relativity r = γ m v / (|q| B). A proton at 1e6 m/s in 1 T has a radius of 0.0104 m, which is 10.4 mm.

What is the cyclotron frequency?

The frequency of circular motion is f = |q| B / (2π γ m), independent of the speed at low speeds. A proton in 1 T circles at 1.5245e7 Hz, about 15.2 MHz, and an electron in 1 mT circles near 28 MHz.

What path does a charged particle follow in a magnetic field?

A circle if its velocity is perpendicular to B, a straight line if it is parallel, and a helix otherwise. The helix has radius set by the perpendicular speed and pitch equal to the parallel speed times the orbit period.

Does the Lorentz force depend on the mass of the particle?

The force does not, but the resulting motion does. The force q v B is independent of mass, while the acceleration F/m and the orbit radius m v/(qB) are larger for heavier particles. A heavier alpha particle has a larger orbit than a proton at the same speed.

What happens if the electric and magnetic forces are in the same direction?

They add as vectors. In vector mode the calculator gives the electric and magnetic parts as separate rows and the total, with their magnitudes, so you can see whether they add, partly cancel or cancel exactly.