Lorentz Force Calculator – F = q(E + v × B) in Every Form You Need
The Lorentz force is the single relation that ties electricity and magnetism to motion. Every electric motor, cathode-ray tube, mass spectrometer, cyclotron and Hall sensor is an application of one equation: F = q(E + v × B). This Lorentz force calculator evaluates it in all the forms a student or engineer actually meets — the scalar magnetic force on a moving charge, the electric force on a charge at rest, both fields together, the macroscopic force on a current-carrying wire, and the full three-component cross product — and then reports the direction in plain language, because a sign error is far more common than an arithmetic one.
The magnetic force on a moving charge
When only a magnetic field acts, the magnitude reduces to F = |q| · v · B · sin θ, where θ is the angle between the velocity and the field. A proton (q = 1.602176634 × 10⁻¹⁹ C) travelling at 2.5 × 10⁶ m/s straight across a 0.35 T field feels 1.4019 × 10⁻¹³ N. That looks vanishingly small until you divide by the proton mass: the acceleration is 8.38 × 10¹³ m/s², which is why the particle turns on a centimetre scale rather than continuing in a straight line.
The sin θfactor is the whole story of the geometry. At 90° the force is at its maximum; at 0° or 180° — motion straight along the field line — it is exactly zero, which is how charged particles from the solar wind funnel down the Earth's field lines into the auroral ovals instead of being turned aside.
The electric force and the combined law
The electric term, F = qE, does not care how fast the charge is moving. It points along E for a positive charge and against it for a negative one, so an electron in a 1.2 × 10⁵ V/m deflection field is pushed the opposite way from a proton in the same field. Put both terms together and you get a velocity selector, or Wien filter: arrange E and v × B to oppose each other and only particles at the speed v = E/B pass through undeflected. With E = 6.0 × 10⁴ V/m and B = 0.20 T that speed is exactly 3.0 × 10⁵ m/s, and the calculator flags the balance when your entered speed matches it.
The cross product, term by term
For geometry that is not a clean 0° or 90°, the vector form is unavoidable:
(v × B)ₓ = v_y·B_z − v_z·B_y, (v × B)_y = v_z·Bₓ − vₓ·B_z, (v × B)_z = vₓ·B_y − v_y·Bₓ
A 2.0 µC charge moving at (3.0 × 10⁴, 1.0 × 10⁴, 0) m/s through B = (0, 0, 0.50) T has v × B = (5.0 × 10³, −1.5 × 10⁴, 0), so F = (1.0 × 10⁻², −3.0 × 10⁻², 0) N with magnitude 3.16 × 10⁻² N. The tool prints each determinant separately so you can check your own working line by line.
Force on a current-carrying wire
Summing the microscopic force over every carrier in a conductor gives the macroscopic form F = B · I · L · sin θ. A motor conductor carrying 4.5 A through 25 cm of a 0.60 T gap feels 0.675 N — multiply by the number of turns and the armature radius and you have the torque. This is also the relation behind loudspeaker voice coils and railguns.
Circular motion, cyclotrons and the relativistic correction
When the magnetic force is the only force and v is perpendicular to B, it acts as a pure centripetal force, qvB = mv²/r. That gives the three quantities that matter more than the force itself:
r = mv / (|q|B), T = 2πm / (|q|B), f = |q|B / (2πm)
For the proton above, r = 7.46 cm, T = 187 ns and f = 5.34 MHz. Notice that the period does not contain the speed at all — a faster particle simply traces a wider circle in the same time, which is exactly why a cyclotron can drive its dees at one fixed frequency. Above about a tenth of the speed of light that stops being true, because the momentum becomes γmv with γ = 1/√(1 − v²/c²); the relativistic toggle applies that factor to the radius and the period.
The magnetic force is perpendicular to the velocity at every instant, so the work it does is exactly zero and the kinetic energy never changes. Only the electric term can accelerate a charge in the everyday sense — the magnet just steers.
Getting the direction right
Point the fingers of your right hand along v, curl them toward B, and your thumb gives v × B. For a positive charge that is the force direction; for an electron it is the exact opposite. On a diagram, a field coming out of the page is drawn ⊙ and one going into the page ⊗. The calculator states the result both as a unit vector and as a sentence — "out of the screen", "toward −y" — so the answer can be checked without redrawing the geometry.
These formulas assume uniform fields, a point particle, no radiation and no space charge. Real magnets have fringe fields, real beams repel themselves, and an accelerating charge radiates energy away. Use the result as the first-order answer a full field solve should agree with.
Working with units
Everything is normalised to SI before any arithmetic happens. Charge can be entered in coulombs down to picocoulombs or in elementary charges; velocity in m/s, km/h, mph or fractions of c; the magnetic field in tesla, millitesla, microtesla or gauss; the electric field in V/m, N/C, kV/m, MV/m, V/cm or V/mm; and mass in kilograms, grams, unified atomic mass units or MeV/c². The force is reported simultaneously in newtons, dynes, pounds-force and kilograms-force, so 1.4019 × 10⁻¹³ N also reads as 1.4019 × 10⁻⁸ dyn for anyone working in CGS.