Fundamentholfundamenthol

Magnetic Force on Current Carrying Wires

PhysicsMagnetic Effects of Current and MagnetismFor NEET aspirants

A current-carrying wire in a magnetic field feels a force because the moving charges inside it feel the Lorentz force. For a small element carrying current , the force is . Integrating: in a uniform field, the total force on any wire depends only on the straight-line vector joining its endpoints, - which means a closed loop feels zero net force in a uniform field. The other tested consequences are the force per unit length between two parallel wires, , and the SI definition of the ampere that follows from it.

Key Formulas - Quick Reference
  1. Force on a current element:
  2. Straight wire of length in uniform : , magnitude
  3. Arbitrary shape in uniform : , where is the straight vector from start to end
  4. Closed loop in uniform :
  5. Force per unit length between parallel wires (separation ):
  6. Parallel currents attract; antiparallel currents repel
  7. Definition of ampere: current giving N/m between two long parallel wires m apart
Colours in figures: magnetic field current force

1Force on a Current Element

Inside a wire, free charges (electrons) drift with speed . The current is , where is number density and is cross-section. Each moving charge feels a Lorentz force. Summing over all charges in an element of length :

Here points in the direction of conventional current . The direction of follows the right-hand rule for the cross product.

Force on a straight current-carrying wire and Fleming's left-hand rule Panel a: a horizontal wire carrying current to the right in a field into the page, with evenly spaced upward force arrows along it and a single resultant force F at the midpoint. Panel b: three mutually perpendicular arrows labelled thumb F pointing up, first finger B pointing into the page drawn obliquely, and second finger I pointing right. I F = BIL L B into page (a) Fleming's left hand F B I thumb: F first finger: B second finger: I (b)
Figure 1(a) A straight wire carrying current to the right in a uniform field into the page feels upward, spread evenly along its length. (b) Fleming's left-hand rule: first finger along , second finger along , thumb gives . The three are mutually perpendicular and match panel (a).

Directional rules

  • Right-hand rule for : fingers point along , curl toward ; thumb gives .
  • Fleming's left-hand rule: stretch thumb, index, middle finger mutually perpendicular. Index = field ; middle = current ; thumb = force .
  • Both give the same answer; use whichever you're comfortable with.

2Straight Wire in a Uniform Field

For a straight wire of length in uniform , integration gives:

where is a vector of length equal to the wire, pointing along the current, and is the angle between and . Force is zero when the wire is parallel to , maximum when perpendicular.

3Arbitrary Shape in a Uniform Field

For a curved or bent wire in uniform , the total force is:

where is the straight-line vector from the start to the end of the wire, not the arc length. The wire's shape between the endpoints does not matter for the force in a uniform field!

Force on an arbitrarily shaped wire in a uniform field A wiggly wire from point A to point C carrying current I lies in a uniform field into the page. The straight chord L from A to C is dashed. A single force F perpendicular to the chord acts at its midpoint. Small current elements d-ell along the wire each carry a small perpendicular force arrow. F = ILB A C L B into page each dℓ (orange) and its small force (thin red)
Figure 2In a uniform field the force on a bent wire equals the force on the straight wire joining its ends: . Every small piece contributes , and adding all the vectors gives the chord from to .
Key corollary: for a closed loop (any shape) in a uniform field, , so . A closed loop can still feel a torque in a uniform field, but never a net force. Net force requires a non-uniform field (Concept 261 covers this).
Zero net force on closed current loops in a uniform field Two closed loops in a uniform field into the page, each carrying anticlockwise current. Left: a rectangle with inward force arrows at the middle of each side; opposite forces are equal and opposite. Right: an equilateral triangle PQR with an inward force of BIL at the middle of each side; a small inset shows the three force vectors joining head to tail into a closed triangle. ΣF = 0 P Q R each F = BIL, ΣF = 0 B into page I F
Figure 3Closed loops in a uniform field (into the page, anticlockwise current). Left: forces on opposite sides of a rectangle are equal and opposite. Right (Solved Example 2): each side of the triangle feels perpendicular to it; the three forces add to zero. In a uniform field, any closed loop feels zero net force.
Solved Example 1
A wire bent into a semicircle of radius lies in the -plane, carrying current from one end of the diameter to the other. A uniform field (out of the plane) exists. Find the net force on the semicircle.
Semicircular wire in a uniform field out of the page A semicircular wire of radius R above the x-axis runs from P on the left to Q on the right, carrying current I. The field is out of the page, shown by dots. The dashed diameter PQ of length 2R is the equivalent straight wire. The net force of magnitude 2IRB0 points straight down, along negative y. x y 2R I F = 2IRB₀ P Q B₀ out of page
Figure 4Solved Example 1: a semicircular wire from to in a uniform field out of the page. The force equals that on the diameter carrying the same current: , perpendicular to , along .
Solution:

Instead of integrating the arc, use the shortcut: is the straight diameter, length along, say, the -axis.

Magnitude , direction along (perpendicular to the diameter, in the plane).

Solved Example 2
A wire is bent into an equilateral triangle PQR of side cm and carries A. It is placed in a uniform T perpendicular to the plane of the loop. Find the force on each of the three sides.
Solution:

Each side has length m and carries the current perpendicular to , so on each side:

N.

Direction: perpendicular to that side, in the plane of the triangle, pointing inward for anticlockwise current with into the page (reversing either one makes all three point outward). The three forces of N form a symmetric set that sums to zero, consistent with the closed-loop result.

4Force Between Two Parallel Wires

Consider two long parallel wires carrying currents and , separated by distance . Wire 1 creates a field at the position of wire 2. The force per unit length on wire 2:

Force between parallel currents: attraction and repulsion Two panels showing long parallel wires end-on. Panel a: both currents out of the page. A dashed circle of wire 1's field passes through wire 2, where B1 points up. The forces on the wires point towards each other. Panel b: current out of the page in wire 1 and into the page in wire 2; the forces point away from each other. The separation d is marked in both. B₁ I₁ I₂ d F B₁ I₁ I₂ d F F (a) same direction: attract (b) opposite: repel F/L = μ₀I₁I₂ / 2πd
Figure 5Two long parallel wires seen end-on. Wire 1's field at wire 2 acts on . (a) Currents in the same direction: on each wire points towards the other, so they attract. (b) Opposite directions: the forces reverse and the wires repel. In both cases , equal and opposite on the two wires.
  • Same direction (parallel currents): forces are attractive.
  • Opposite directions (antiparallel currents): forces are repulsive.
  • Both wires experience equal and opposite forces (Newton's third law).

5SI Definition of the Ampere

Setting A and m in the parallel-wire formula:

Historical SI definition (pre-2019): One ampere is the constant current that, flowing in each of two infinitely long, thin parallel wires placed m apart in vacuum, produces a force of N per metre length between them.
Post-2019 SI: the ampere is now defined via the elementary charge C (exact), and is a measured constant extremely close to but no longer exactly T·m/A. The old definition remains standard in JEE and NEET syllabi and gives the same numerical relations for all practical purposes.
Solved Example 3
Two long parallel wires apart carry each in opposite directions. Find the force per unit length on each wire.
Solution:

Direction: repulsive (currents antiparallel).

Solved Example 4
A wire PQ of mass per unit length rests on two horizontal parallel rails carrying a constant current . Below the rails, at distance , a long straight wire carries current in the opposite direction. Find the equilibrium separation .
Levitating wire above a fixed current-carrying wire Side view. A long fixed horizontal wire at the bottom carries current I to the left. Directly above it, at height h, the wire PQ carries current I to the right and rests on two rails seen end-on. The field of the fixed wire at PQ points into the page. The upward magnetic force on PQ balances its weight mg. B of fixed wire (into page) rail rail I P Q I fixed wire F = μ₀I²/2πh mg h antiparallel currents repel
Figure 6Solved Example 4 (side view): wire rests on the rails a height above a long fixed wire. With antiparallel currents the force on is repulsive (upward) and balances its weight: per unit length.
Solution:

Magnetic force per unit length on PQ (repulsive since the currents are antiparallel, so it acts upward) balances gravity:

This is a levitation setup - the wire "floats" above the current-carrying wire.

Solved Example 5
A rectangular loop of length and width carries current and lies with its long sides parallel to a long straight wire (distance from the nearer long side) carrying in the same direction. Find the net force on the loop.
Rectangular current loop beside a long straight wire A long vertical wire on the left carries current I1 upward. To its right, a rectangular loop of height a and width b carries current I2: up along the near side at distance d, and down along the far side at distance d plus b. The near side has a large force F1 towards the wire; the far side has a smaller force F2 away from it. The short top and bottom sides have equal and opposite forces. B₁ into page (right of wire) I₁ I₂ F₁ F₂ d b a
Figure 7Solved Example 5: rectangular loop ( along the wire, across) beside a long wire. The near side carries parallel to and is attracted with ; the far side is antiparallel and repelled with the smaller . Forces on the two short sides cancel, so the net force points towards the wire.
Solution:

Near side (distance ) feels attractive force (toward the wire).

Far side (distance ) feels repulsive force (away from the wire).

The two short ends (perpendicular to the wire) feel forces equal and opposite, so they cancel.

, directed toward the wire.

6Point of Application

For calculating torque, the force on a straight current-carrying wire in a uniform field can be treated as acting at the midpoint of the wire. This is because the force is uniformly distributed along the length.

Common Mistakes to Avoid

Watch out
  • Integrating arc length for a curved wire in a uniform field, when the shortcut works and gives the same answer instantly.
  • Forgetting a closed loop feels zero net force in a uniform field. If a question asks for the "force on a loop" in a uniform field, the answer is zero.
  • Missing the direction of parallel-wire force: same-direction currents attract, opposite-direction currents repel. Reverse of the intuition from charges.
  • Applying when is not perpendicular to : use or the vector form.
  • Ignoring the factor when the wire and field are not perpendicular.
  • Confusing force on a wire with force between wires: "" is force on one wire in an external field; "" is the mutual force per unit length between two wires (with each wire in the other's field).
  • Not accounting for both long sides of a rectangular loop near a long wire: they feel opposite forces that partially cancel.

Frequently Asked Questions

Q1. What is the force on a current-carrying wire in a magnetic field?

For a straight wire of length carrying current in a uniform magnetic field , the force is , magnitude , where is the angle between the current direction and . Direction: from the right-hand rule for , or Fleming's left-hand rule.

Q2. Why is the net force on a closed loop zero in a uniform field?

For any wire in a uniform field, the net force equals , where is the straight-line vector from start to end of the wire. For a closed loop, start and end coincide, so and the net force vanishes. A loop can still feel a torque in a uniform field.

Q3. What is the force per unit length between two parallel current-carrying wires?

For two long parallel wires separated by , carrying and , the force per unit length is . Same-direction currents attract; opposite-direction currents repel.

Q4. Why do parallel currents attract each other?

Wire 1 creates a magnetic field circling around it. At the position of wire 2 (parallel to wire 1, same direction), this field points such that the force on wire 2 pulls it toward wire 1. Wire 1 experiences the same attraction toward wire 2 by symmetry (Newton's third law). Antiparallel currents give the reverse: repulsion.

Q5. How is the SI ampere defined?

Historically (pre-2019): one ampere is the current in each of two long, parallel wires m apart that produces a force of exactly N per metre between them. After the 2019 SI redefinition, the ampere is defined via the exact elementary charge C; the parallel-wire relation still holds to high accuracy.

Q6. Does the shape of a wire between two endpoints affect the total force in a uniform field?

No. In a uniform field, only the straight vector from start to end of the wire matters: . A straight wire, a zig-zag, and a curve with the same endpoints all feel the same total force. This is why any closed loop has zero net force.

Q7. How can a current-carrying wire be levitated by another current?

Place a horizontal wire directly above a parallel long straight wire, with the two currents in opposite directions. The upper wire feels an upward (repulsive) magnetic force per unit length . Setting this equal to its weight per unit length gives the equilibrium height .

Q8. What is Fleming's left-hand rule?

Stretch the thumb, index finger, and middle finger of your left hand at right angles. If the index finger points along the magnetic field , and the middle finger along the current , the thumb points in the direction of the force on the wire. It is a mnemonic equivalent to the right-hand rule for .

Q9. Why does a rectangular current loop near a long straight wire feel a net force despite the "closed loop" rule?

The rule "net force on a closed loop is zero" applies only in a uniform field. The field near a long straight wire is non-uniform (varies as ), so the two long sides of the rectangle sit in different field strengths. The near side feels a stronger force than the far side, leaving a net attractive (or repulsive) force toward (or away from) the straight wire.

Previous year questions on Magnetic Force on Current Carrying Wires

4 questions from past papers, each with a step-by-step solution.

Ready to master Magnetic Effects of Current and Magnetism?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.