PHYSICS 2 • MAGNETISM

Magnetic Force on Wire — Compute magnetic force on a current-carrying wire

Discover how external magnetic fields exert measurable forces on current-carrying conductors, powering motors and instruments.

Historical Context & Motivation

The relationship between electricity and magnetism was not always obvious; for centuries, the two phenomena were studied in complete isolation. It was only through a series of pivotal experimental discoveries in the early nineteenth century that physicists recognized that electric currents could interact with magnetic fields, producing measurable mechanical forces. This realization did not merely expand the theoretical landscape of classical physics — it catalyzed an engineering revolution, giving rise to the electric motor, the galvanometer, and virtually every electromechanical transducer in modern technology. Understanding the magnetic force on a current-carrying wire therefore sits at the crossroads of fundamental physics and applied engineering.

1820
Ørsted's Discovery
Hans Christian Ørsted observed that a compass needle deflected when placed near a current-carrying wire, establishing the first experimental link between electricity and magnetism and igniting a new era of electromagnetic research.
1820
Ampère's Force Law
Within weeks of Ørsted's announcement, André-Marie Ampère demonstrated that two parallel current-carrying wires exert mutual forces on each other — attractive when currents flow in the same direction and repulsive when opposed — quantifying the relationship mathematically.
1831
Faraday's Motor Principle
Michael Faraday built the first electromagnetic rotary device, demonstrating that a current-carrying conductor in a magnetic field experiences a continuous force that can perform mechanical work — the conceptual ancestor of every modern electric motor.
1865
Maxwell's Equations
James Clerk Maxwell unified electricity and magnetism into a single theoretical framework, codifying the Lorentz force and the magnetic force on conductors as consequences of electromagnetic field theory.

The central question these discoveries addressed is deceptively simple: if a wire carries an electric current through a region permeated by a magnetic field, what is the magnitude and direction of the resulting force? Answering this question with precision requires a vector formulation that accounts for the current magnitude, wire length, field strength, and the geometric relationship between the wire and the field — which is exactly what this lesson develops.

Core Principles & Definitions

Before computing the magnetic force on a wire, several foundational concepts must be firmly established. The force arises because moving charges — which collectively constitute the current — experience a deflection when they traverse a magnetic field. In a metallic conductor, these moving charges are conduction electrons drifting through the lattice. The force on each individual electron is transferred to the wire itself because the electrons are confined within the conductor. This microscopic picture justifies the macroscopic formula that we will use throughout the lesson.

1

Current (I)

The rate of charge flow through a conductor, measured in amperes (A). Conventional current direction is defined as the direction positive charges would move, opposite to electron drift.
2

Magnetic Field (B)

A vector field measured in teslas (T) that exerts forces on moving charges. The field permeates the region around magnets and current-carrying conductors.
3

Length Vector (L)

A vector whose magnitude equals the length of the wire segment and whose direction follows the conventional current. For a straight wire in a uniform field, only the component perpendicular to B contributes to the force.
4

Cross Product (×)

A vector operation that yields a vector perpendicular to both operands. Its magnitude equals the product of the magnitudes times sin θ, making the force zero when the wire is parallel to the field.
5

Right-Hand Rule

Point your fingers in the direction of the current (IL), curl them toward B, and your thumb indicates the direction of the force F. This mnemonic encodes the cross-product direction.
KEY TAKEAWAY
Think of the magnetic force on a wire like a side gust of wind acting on a sailboat. The sail (the wire carrying current) catches the wind (the magnetic field) only when it has a component perpendicular to the wind direction. If the sail is pointed directly into the wind, no sideways force results — just as a wire parallel to B experiences zero force. The greater the perpendicular exposure (sin θ → 1), the larger the push.

Visual Explanation — Force on a Straight Wire

A straight wire carrying current I upward is immersed in a uniform magnetic field B pointing to the right. Because the current and field are perpendicular (θ = 90°), the force F is maximal and points to the left, as determined by the right-hand rule.

The diagram above illustrates the canonical scenario: a straight wire segment of length L carrying a current I is placed in a region of uniform magnetic field B. When the wire is perpendicular to the field, the resulting force reaches its maximum magnitude. Notice that the force vector is perpendicular to both the current direction and the field — a hallmark of the cross product. As the angle between the wire and the field decreases from 90° toward 0°, the force diminishes via the sin θ factor, vanishing entirely when the wire runs parallel to B.

Right-Hand Rule Procedure
Point your right hand's fingers in the direction of the conventional current. Curl them toward the magnetic field vector B. Your extended thumb now points in the direction of the magnetic force F. This rule encodes the direction of the cross product IL × B.

Mathematical Framework

The magnetic force on a current-carrying wire is derived from the fundamental Lorentz force experienced by individual charge carriers. Consider a wire segment of length L containing N charge carriers, each with charge q and drift velocity vd. The force on each carrier is f = qvd × B. Summing over all carriers and using the relation I = nqvdA (where n is the number density and A the cross-sectional area), one arrives at the macroscopic expression for force on a straight wire in a uniform field.

VECTOR FORM — FORCE ON A STRAIGHT WIRE
F = I L × B
F = magnetic force vector (N), I = current (A), L = length vector along current direction (m), B = magnetic field (T)
MAGNITUDE FORM
F = I L B sin θ
θ = angle between the direction of the current (L) and the magnetic field (B). When θ = 90°, sin θ = 1 and the force is maximized. When θ = 0° (wire parallel to field), F = 0.
DIFFERENTIAL FORM — NON-UNIFORM FIELD OR CURVED WIRE
dF = I dL × B
For a wire that is not straight or that passes through a non-uniform field, one must integrate infinitesimal force elements dF along the path of the wire: F = I ∫ dL × B.
🔬 Derivation Insight
The macroscopic force law F = IL × B is not an independent postulate — it follows directly from the Lorentz force on individual charge carriers summed over the volume of the conductor. This derivation guarantees consistency between the microscopic (single-particle) and macroscopic (wire) descriptions of electromagnetism.

Angle Dependence & Special Cases

The sin θ factor in the magnitude equation governs how the orientation of the wire relative to the magnetic field affects the force. This dependence is not merely an algebraic detail — it has profound practical implications for the design of electric motors, loudspeakers, and rail guns. Understanding the limiting cases and intermediate angles is essential for solving problems accurately and for developing physical intuition about electromagnetic systems.

The normalized force F/Fmax follows a sinusoidal dependence on the angle θ between the current direction and B. Key points: the force vanishes at 0° and 180° (wire parallel or antiparallel to the field), reaches half-maximum at 30° and 150°, and peaks at 90°.
Force magnitude at characteristic angles
Angle θsin θForce FPhysical Interpretation
00Wire parallel to B — no perpendicular component; no force.
30°0.500.50 ILBHalf the maximum force; moderate deflection.
45°0.7070.707 ILBAbout 71% of maximum; diagonal orientation.
60°0.8660.866 ILBApproaching maximum; nearly perpendicular.
90°1.00ILBWire fully perpendicular to B — maximum force.
180°00Wire antiparallel to B — again no force.

The table above reinforces a critical design principle in electromagnetic devices: maximum force transfer occurs when the current-carrying segment is oriented at 90° to the magnetic field. This is why the armature windings in a DC motor are positioned such that their active segments are approximately perpendicular to the field at the point of maximum torque. As the armature rotates and the angle changes, commutator segments switch the current direction to maintain favorable torque throughout the rotation cycle.

Worked Example — Force on a Tilted Wire

A straight copper wire of length 0.40 m carries a current of 5.0 A. It is placed in a uniform magnetic field of magnitude 0.30 T. The wire makes an angle of 60° with the direction of B. Compute the magnitude of the magnetic force on the wire and state its direction assuming the current flows in the +x-direction and B lies in the x–y plane at 60° from the +x-axis.

Force on a Tilted Wire in a Uniform Field
1
Step 1 — Identify Given ValuesCurrent: I = 5.0 A. Wire length: L = 0.40 m. Magnetic field magnitude: B = 0.30 T. Angle between the wire (current direction) and the field: θ = 60°.
I = 5.0 A, L = 0.40 m, B = 0.30 T, θ = 60°
2
Step 2 — Select the Appropriate EquationSince the wire is straight and the field is uniform, use the magnitude form: F = ILB sin θ. There is no need for the differential/integral form because B does not vary along the wire.
3
Step 3 — Substitute and ComputeF = (5.0 A)(0.40 m)(0.30 T) sin 60°. First compute the product ILB = 5.0 × 0.40 × 0.30 = 0.60 N. Then multiply by sin 60° = √3/2 ≈ 0.866. Therefore F = 0.60 × 0.866 = 0.520 N.
F ≈ 0.52 N
4
Step 4 — Determine the DirectionThe current flows in the +x-direction. The field B lies in the x–y plane. The cross product L × B produces a vector along the z-axis. Applying the right-hand rule — fingers along +x, curling toward B (into the first quadrant of the x–y plane) — the thumb points in the +z-direction.
Direction: +z (out of the x–y plane)
5
Step 5 — Verify ReasonablenessThe maximum possible force would be ILB = 0.60 N (at θ = 90°). Our answer of 0.52 N is about 87% of the maximum, consistent with sin 60° ≈ 0.866. The units check: A · m · T = A · m · (kg/(A·s²)) = kg·m/s² = N. Both the magnitude and direction are physically reasonable.

Strengths, Limitations & Comparisons

The formula F = ILB sin θ is elegant and powerful, but like any physical model it comes with assumptions that must be understood to avoid misapplication. The table below contrasts situations where the simple magnitude form works directly against scenarios requiring more advanced treatment.

When the simple force formula applies — and when it doesn't
FeatureStrengths / ApplicabilityLimitations / Caveats
Wire geometryExact for straight wires of any length in a uniform field.Curved wires require integration of dF = I dL × B along the path.
Field uniformityDirectly applicable when B is constant over the wire length.Non-uniform fields require position-dependent B(r) inside the integral.
Steady currentValid for DC (constant) currents.AC or transient currents require time-dependent analysis; I = I(t).
Self-field effectsAssumes external B dominates; ignores wire's own field.At very high currents, the wire's self-field may distort the external field.
Relativistic regimeFully accurate at everyday current speeds (v_d ≈ mm/s).Near light-speed charge carriers require relativistic Lorentz transformations.
CONTEXTUALIZING THE FORMULA
The expression F = ILB sin θ is the workhorse equation for magnetostatics problems involving straight conductors in uniform fields. In more advanced coursework — particularly when studying the Biot–Savart law and Ampère's force law — you will encounter the differential form dF = I dL × B, which generalizes the result to arbitrary geometries and spatially varying fields. Mastering the straight-wire case first builds the intuition needed for those generalizations.

Connection to Advanced Theory

The force on a current-carrying wire is a macroscopic manifestation of deeper electromagnetic principles. In advanced electrodynamics, the Lorentz force density (force per unit volume) on a current distribution is written as f = J × B, where J is the volume current density. Integrating this over the conductor's volume recovers F = IL × B for a thin wire. This generalization is essential in plasma physics, magnetohydrodynamics (MHD), and the analysis of forces on thick conductors in accelerator magnets.

From wire-level physics to field-theoretic electrodynamics
AspectThis Lesson (Wire)Advanced Theory
Current representationScalar I along a one-dimensional wireVolume current density J (A/m²) or surface current density K (A/m)
Force expressionF = IL × BF = ∫ (J × B) dV over the conductor volume
Torque on a loopSum forces on each side of a rectangular loopτ = m × B, where m = NIA is the magnetic dipole moment
Field sourceExternal field B taken as givenSelf-consistent field via Maxwell's equations; mutual interactions
ApplicationsDC motors, galvanometers, rail gunsMHD generators, tokamak plasma confinement, superconducting magnets

Looking ahead, the torque on a current loop — central to understanding electric motors and magnetic dipoles — is built by summing the forces on individual wire segments using the very formula developed in this lesson. Mastering F = ILB sin θ and the associated right-hand rule prepares you for that vector summation and ultimately for the magnetic dipole moment formalism encountered in junior- and senior-level electrodynamics.

Practice Problems

PROBLEM 1CONCEPTUAL
A long straight wire carries a steady current and is placed inside a uniform magnetic field. Under what orientation of the wire relative to B will the wire experience (a) zero force, and (b) maximum force? Explain your reasoning in terms of the cross product.
PROBLEM 2BASIC CALCULATION
A 0.25 m straight wire carrying 3.0 A of current is placed perpendicular to a uniform magnetic field of 0.50 T. Calculate the magnitude of the force on the wire.
PROBLEM 3INTERMEDIATE
A wire of length 0.60 m carries 8.0 A and is oriented at 45° to a uniform magnetic field of 0.20 T. (a) Calculate the force magnitude. (b) If the wire is rotated so that the angle increases to 90°, by what factor does the force change?
PROBLEM 4APPLIED
In a simple DC motor, a rectangular coil has 50 turns, each of dimension 0.10 m × 0.08 m. The coil carries 2.0 A in a uniform magnetic field of 0.15 T. When the plane of the coil is parallel to the field (so that the active sides of length 0.10 m are perpendicular to B), compute the total force on one active side and the resulting torque on the coil.
PROBLEM 5CRITICAL THINKING
A semicircular wire of radius R carries current I in a uniform field B that points in the +x-direction. The semicircle lies in the x–y plane with its diameter along the x-axis. Show that the net force on the semicircular portion is the same as the force on a straight wire of length 2R carrying the same current in the same direction (i.e., along the y-axis). What does this imply about the net force on any arbitrarily shaped wire connecting two fixed endpoints in a uniform field?

Summary

A current-carrying wire placed in an external magnetic field B experiences a force given by F = IL × B in vector form, or equivalently F = ILB sin θ for the magnitude, where θ is the angle between the current direction and the field. The force is maximized when θ = 90° and vanishes when the wire is parallel to the field. The direction of the force is determined by the right-hand rule and is always perpendicular to both the current and the magnetic field.

This result is derived from the Lorentz force on individual charge carriers summed over the wire's volume. For curved wires or non-uniform fields, the differential form dF = I dL × B must be integrated along the wire path. A powerful corollary is that in a uniform field, the net force on any wire depends only on the straight-line displacement between its endpoints, not on the wire's shape. These principles underpin the operation of electric motors, galvanometers, and electromagnetic rail systems.

Varsity Tutors • Physics 2 • Magnetic Force on Wire