Magnetic Force On A Wire: Formula and Direction

By Vegard Gjerde Based on Masterful Learning 12 min read Published
magnetic-force-on-wire physics electromagnetism magnetism learning-strategies

Magnetic Force On A Wire gives the magnetic force on a straight current-carrying wire segment by using F=IL×B\vec{F}=I\vec{L}\times\vec{B} when the field is treated as constant across that segment. It applies to a straight current-carrying segment in a magnetic field. Use the vector form when direction matters, and use F=ILBsinθF=ILB\sin\theta when you only need the force size.

This guide follows Magnetic Force On A Moving Charge and Lorentz Force in the Electromagnetism Principle Map. The surrounding decisions are conventional-current direction, right-hand-rule orientation, page-direction convention, angle choice, and choosing vector versus magnitude form. Those choices are setup around the principle, not separate principle keys.

Unisium hero image titled Magnetic Force On A Wire showing the principle equation and a conditions card.
The guide centers the current-length cross-field relation and keeps the straight-segment condition explicit.

On this page: The Principle | Conditions | Misconceptions | Elaborative Encoding | Retrieval Practice | Worked Example | Solve a Problem | Related Principles | FAQ | Related Guides | How This Fits


The Principle

Statement

Magnetic Force On A Wire gives the force on a straight wire segment carrying current through a magnetic field. The vector form F=IL×B\vec{F}=I\vec{L}\times\vec{B} uses a length vector L\vec{L} that points in the direction of conventional current, with B\vec{B} treated as the field across that segment, so the cross product carries the force direction.

Mathematical Form

F=IL×B\vec{F} = I\vec{L} \times \vec{B}

Where:

  • F\vec{F} is the magnetic force on the wire segment, in newtons
  • II is the conventional current, in amperes
  • L\vec{L} is the length vector of the straight segment, in meters, pointing with conventional current
  • B\vec{B} is the magnetic field at the segment, in tesla
For a straight wire segment with conventional current to the right and magnetic field into the page, the magnetic force points upward.

The diagram is a guide-level orientation scaffold. It shows one standard case: II marks conventional current to the right, L\vec{L} points along the same straight segment, the magnetic field points into the page, and IL×BI\vec{L}\times\vec{B} points upward.

Magnitude form

When direction is already known or not requested, use the scalar magnitude form:

F=ILBsinθF = ILB\sin\theta

Here θ\theta is the angle between L\vec{L} and B\vec{B}. The force is zero when the wire is parallel to the magnetic field and largest when the wire is perpendicular to the field. The scalar form gives size only; it does not decide the force direction.


Conditions of Applicability

Condition: straight current-carrying segment in a magnetic field

Practical modeling notes

  • Straight segment means one length vector L\vec{L} can represent the piece of wire you are modeling.
  • Current-carrying means the direction of L\vec{L} follows conventional current, not electron drift.
  • Magnetic field means B\vec{B} is known or treated as uniform enough over the segment for the chosen model.
  • If the wire bends or the field varies along it, split the wire into smaller pieces or use the integral version later.

Special cases and extensions

  • Wire parallel to field: the principle still applies, but the force is zero because sinθ=0\sin\theta=0.
  • No current: if I=0I=0, the relation gives zero magnetic force on the segment.
  • Curved wire or varying field: a single L\vec{L} may hide changing directions or field changes, so model small wire elements or use the integral form.

Want the complete framework behind this guide? Read Masterful Learning.


Common Misconceptions

Misconception 1: The force points with the magnetic field

The truth: The magnetic force is perpendicular to the current direction and the magnetic field direction.

Why this matters: Direction errors often come from treating magnetic force like electric force instead of using the cross product.

Misconception 2: The wire length is just a positive number

The truth: In the vector form, L\vec{L} is a direction-carrying length vector that points with conventional current.

Why this matters: Reversing current reverses L\vec{L} and therefore reverses the force direction.

Misconception 3: The magnitude formula is enough for every problem

The truth: F=ILBsinθF=ILB\sin\theta gives the size of the force, but the vector form or a right-hand-rule setup is needed for direction.


Elaborative Encoding

Use these questions to build understanding before memorizing the formula. See Elaborative Encoding for the broader method.

Within the Principle

  • Why does the vector form use L\vec{L} instead of just the length LL?
  • What does sinθ\sin\theta say about the force when the wire is parallel or perpendicular to the magnetic field?

For the Principle

  • What wording in a problem tells you that a straight wire segment model is reasonable?
  • Before deciding direction, what page or axis convention must be clear for the magnetic field?

Between Principles

Generate an Example

  • Describe a wire-and-field setup where reversing the current reverses the magnetic force while the force size stays the same.

Retrieval Practice

Answer from memory, then reveal the result and check it. See Retrieval Practice for the full study method.

State the principle in words: _____A straight current-carrying wire segment in a magnetic field feels a force equal to current times the length vector cross the magnetic field.
Write the canonical equation: _____F=IL×B\vec{F} = I\vec{L} \times \vec{B}
State the canonical condition: _____straight current-carrying segment in a magnetic field

Worked Example

Use this worked example to practice Self-Explanation.

Problem

A straight wire segment of length L=0.40mL=0.40\,\text{m} carries conventional current I=3.0AI=3.0\,\text{A} in the +x^+\hat{x} direction. The segment lies in a uniform magnetic field of magnitude B=0.50TB=0.50\,\text{T} pointing in the z^-\hat{z} direction. Find the magnetic force vector on the segment.

Step 1: Verbal Decoding

Target: F\vec{F}
Given: II, LL, BB
Constraints: straight current-carrying segment; uniform magnetic field; length vector is perpendicular to magnetic field; conventional current points in the length-vector direction

Step 2: Visual Decoding

Draw +x^+\hat{x} to the right, +y^+\hat{y} upward, and +z^+\hat{z} out of the page. Draw the wire along +x^+\hat{x}, mark conventional current to the right, and mark B\vec{B} into the page. (The key visual fact is that x^×(z^)=+y^\hat{x}\times(-\hat{z})=+\hat{y}.)

Step 3: Physics Modeling

  1. F=I(Lx^)×(Bz^)\vec{F}=I(L\hat{x})\times(-B\hat{z})

Step 4: Mathematical Procedures

  1. F=ILB(x^×z^)\vec{F}=-ILB(\hat{x}\times\hat{z})
  2. F=ILBy^\vec{F}=ILB\hat{y}
  3. F=(3.0A)(0.40m)(0.50T)y^\vec{F}=(3.0\,\text{A})(0.40\,\text{m})(0.50\,\text{T})\hat{y}
  4. F=0.60Ny^\underline{\vec{F}=0.60\,\text{N}\,\hat{y}}

Step 5: Reflection

  • Dimensional analysis: Ampere times meter times tesla gives newtons.
  • Interpretation: The force points upward because the current-length vector crossed into-page field gives +y^+\hat{y}.
  • Limiting case: If the wire were rotated parallel to the field, the magnetic force would be zero.

Before moving on: self-explain the model

Try explaining why Step 3 uses the vector form, why L\vec{L} points with conventional current, and why the force is perpendicular to the wire in this setup.

Physics model with explanation

Principle: We use Magnetic Force On A Wire because the problem asks for the force on a straight current-carrying segment in a magnetic field.

Conditions: The segment is straight, the current is specified, and the magnetic field is defined across the segment.

Relevance: The target is a force vector, so the vector form is the most direct model.

Description: Conventional current points along +x^+\hat{x}, and the magnetic field points along z^-\hat{z}. Their cross product points along +y^+\hat{y}.

Goal: Use the current-length vector and magnetic field direction to get the force vector.


Solve a Problem

Apply what you have learned with Problem Solving.

Problem

A straight wire segment of length L=0.25mL=0.25\,\text{m} carries conventional current I=4.0AI=4.0\,\text{A} in the +x^+\hat{x} direction. The segment is in a uniform magnetic field of magnitude B=0.30TB=0.30\,\text{T} pointing in the +z^+\hat{z} direction. Find the magnetic force vector on the segment.

Check the direction carefully: the magnetic field now points out of the page instead of into the page.

Show Solution

Step 1: Verbal Decoding

Target: F\vec{F}
Given: II, LL, BB
Constraints: straight current-carrying segment; uniform magnetic field; length vector is perpendicular to magnetic field; conventional current points in the length-vector direction

Step 2: Visual Decoding

Draw +x^+\hat{x} to the right, +y^+\hat{y} upward, and +z^+\hat{z} out of the page. Draw the wire along +x^+\hat{x}, mark conventional current to the right, and mark B\vec{B} out of the page. (The key visual fact is that x^×z^=y^\hat{x}\times\hat{z}=-\hat{y}.)

Step 3: Physics Modeling

  1. F=I(Lx^)×(Bz^)\vec{F}=I(L\hat{x})\times(B\hat{z})

Step 4: Mathematical Procedures

  1. F=ILB(x^×z^)\vec{F}=ILB(\hat{x}\times\hat{z})
  2. F=ILBy^\vec{F}=-ILB\hat{y}
  3. F=(4.0A)(0.25m)(0.30T)y^\vec{F}=-(4.0\,\text{A})(0.25\,\text{m})(0.30\,\text{T})\hat{y}
  4. F=0.30Ny^\underline{\vec{F}=-0.30\,\text{N}\,\hat{y}}

Step 5: Reflection

  • Dimensional analysis: Current times length times magnetic field gives force units.
  • Interpretation: Reversing the magnetic field direction reverses the force direction from the worked example.
  • Verification: The force is perpendicular to both the wire direction and the magnetic field.

See Electromagnetism: The Principle Map for where this wire-force relation sits in the magnetic branch.

PrincipleRelationship to Magnetic Force On A Wire
Magnetic Force On A Moving ChargeMicroscopic analog: individual moving charges feel qv×Bq\vec{v}\times\vec{B}.
Lorentz ForceGeneral charge-force relation that combines electric and magnetic contributions.
Magnetic Field Near A Long Straight Wiresource relation: a current can also create a magnetic field around a wire.

See Principle Structures for a broader view of how force and field relations connect across a subdomain.


FAQ

What is the magnetic force on a wire?

The magnetic force on a straight current-carrying wire segment is F=IL×B\vec{F}=I\vec{L}\times\vec{B}. The length vector points in the direction of conventional current.

When does Magnetic Force On A Wire apply?

It applies under the canonical condition: straight current-carrying segment in a magnetic field. If the wire is curved or the field changes along it, split the wire into smaller elements or use a more general model.

What is the magnitude of magnetic force on a wire?

The magnitude is F=ILBsinθF=ILB\sin\theta, where θ\theta is the angle between the length vector and the magnetic field.

Which direction is the length vector?

The length vector L\vec{L} points along the straight segment in the direction of conventional current. It does not point with electron drift.

Why is the force zero when the wire is parallel to the field?

The cross product is zero when its input vectors are parallel or antiparallel. In the magnitude form, that same fact appears as sin0=0\sin 0^\circ=0 or sin180=0\sin 180^\circ=0.



How This Fits in Unisium

Unisium treats Magnetic Force On A Wire as a principle because the equation is short but the representation is easy to mix up. The useful learning path is to encode what L\vec{L} means, retrieve the vector and magnitude forms with the condition, self-explain current direction and field orientation, and solve new problems where direction is not already decided.

Ready to master Magnetic Force On A Wire? Check access and join the Unisium waitlist or explore the full framework in Masterful Learning.

Masterful Learning book cover

Masterful Learning

The book behind these guides: a study system for physics, math, & programming built on retrieval, connection, explanation, and problem solving.

Ready to apply this strategy?

Unisium turns these evidence-based techniques into guided study sessions for math and physics. Places are limited during early access. Check current availability to start a trial; joining the mailing list is optional.

See plans and availability Read More Guides

Already have access? Sign in