A Lorentz force calculator finds the force on a charged particle moving in a magnetic field, and, in its second mode, the magnetic force on a straight wire that carries a current. The tool also gives the electric force and the circular path of the particle when you add the optional values, and it covers the magnetic force on a current carrying wire.
How to use the Lorentz force calculator
- Choose particle or wire.
- Enter the magnetic field B and the angle (leave it blank for 90°).
- Enter the charge and speed, or the current and the wire length.
- Press Calculate.
The Lorentz force law
The force on a point charge q that moves with a velocity v in an electric field E and a magnetic field B is F = q(E + v × B), the Lorentz force law [1]. The first term is the electric force, which acts along the field. The second is the magnetic force, which is perpendicular to both the velocity and the field. The magnetic part has the size qvB sin θ, where θ is the angle between the velocity and the field [1].
The magnetic force on a moving charge
In the particle mode the calculator gives F = |q| v B sin θ. The force is largest at 90° and zero when the particle moves along the field lines, since sin 0° is zero. Because the force is perpendicular to the velocity, it changes the direction of motion but does no mechanical work on the particle [1], so its speed stays the same.
A worked example
Take a charge of 1.602 × 10⁻¹⁹ C, the size of the elementary charge [2], a field of 0.5 T and a speed of 0.1 times the speed of light, 2.998 × 10⁷ m/s, at 90°. The calculator gives F = 1.602 × 10⁻¹⁹ × 0.5 × 2.998 × 10⁷ = 2.4014 × 10⁻¹² N.
The electric force
If you enter an electric field E, the tool also gives the electric force |q| E. The full Lorentz force is the vector sum of the electric and magnetic forces, so its size depends on how the directions line up. We therefore show the smallest and the largest possible size of the sum, which is our own working from adding two vectors. The electric part acts along the field, while the magnetic part is perpendicular to the velocity [1].
The force on a current-carrying wire
For a straight conductor of length ℓ that carries a current I in a uniform field B, the force is F = Iℓ × B, with the size B I ℓ sin θ [1]. The force is at its largest when the current and the field are perpendicular, and zero when they are parallel. This is the same law as above, applied to the charges that make up the current.
A wire example
For a field of 0.5 T, a current of 2 A, 0.3 m of wire in the field and an angle of 30°, the force is 0.5 × 2 × 0.3 × sin 30° = 0.15 N. This is our own worked example. If you turn the wire to 90° to the field the force doubles to 0.3 N, and with the wire along the field it falls to zero. The direction follows from the cross product.
The circular path
If you add the mass of the particle, the tool also gives the circle it follows in a uniform field. The radius is r = m v sin θ ÷ (|q| B), where v sin θ is the speed across the field, and the period is T = 2π m ÷ (|q| B) [3]. These come from balancing the magnetic force against the centripetal force. With an electron in a 0.5 T field at 2.998 × 10⁷ m/s the radius is about 0.34 mm.
The sign of the charge and the direction
The calculator reports only the size of the force. The sign of the charge decides the direction: a negative charge is pushed the opposite way to a positive one moving the same way. To get the direction, use the cross product v × B, with the right-hand rule, and reverse it for a negative charge. Enter the charge as a positive or a negative number; the size is the same.
Limits of the calculation
The formulas assume a uniform field and a particle that is not moving at a large part of the speed of light. The worked example uses 0.1 c, where the simple formula is still a reasonable estimate; at higher speeds, relativity changes the path. For a real design, such as a mass spectrometer or a motor, check the values against the field data and the safety rules of your field.
How the magnetic force scales
The size of the magnetic force is the product |q| v B sin θ, so each factor scales it in a simple way [1]. Using the particle example above, which gave 2.4014 × 10⁻¹² N, doubling the field to 1 T doubles the force to 4.8028 × 10⁻¹² N. Doubling the speed does the same. Turning the velocity to 30° from the field halves the force to 1.2007 × 10⁻¹² N, because sin 30° is 0.5. This is our own working. Use these ratios as a quick check on a result: if you change one input and the force does not change in proportion, look for a typing error.
Common mistakes
- Using the wrong units. Everything is in SI: tesla, not gauss; metres, not centimetres.
- Forgetting the angle. A blank angle means 90°, the largest force.
- Adding the electric and magnetic forces as plain numbers. They are vectors, so directions matter.
- Expecting the force to speed the particle up. The magnetic force only turns it.
What next
Use this often? Add Lorentz Forc to your Home screen.
Frequently asked questions
What is a Lorentz force calculator?
A tool that finds the force on a charged particle moving in electric and magnetic fields, or on a current-carrying wire.
What is the Lorentz force formula?
F = q(E + v × B). Its magnetic part has the size q v B sin θ.
When is the magnetic force zero?
When the particle moves along the field, or the wire lies along it, because sin 0° is zero.
How do I find the magnetic force on a current-carrying wire?
Use F = B I L sin θ, with the current, the length in the field and the angle to the field.
Does the magnetic force change the speed of a particle?
No. It is perpendicular to the velocity, so it only changes the direction.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.