FundamentholLog inStart lesson 1 freeBack to app

Magnetic Force on Current Carrying Wires

PhysicsMagnetic Effects of Current and Magnetism
For JEE 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.

On this page1Force on an element2Straight wire3Any shape4Parallel wires5The ampere6Point of application
Key Formulas - Quick Reference
  1. ★ Must learnForce on a current element:
  2. ★ Must learnStraight wire of length in uniform : , magnitude
  3. ★ Must learnArbitrary shape in uniform : , where is the straight vector from start to end
  4. Closed loop in uniform :
  5. ★ Must learnForce per unit length between parallel wires (separation ):
  6. ★ Must learnParallel 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 Top: a straight wire carrying current I to the right in a field into the page feels a force F equal to B I L upward, spread along its length. Bottom: Fleming's left-hand rule, with the thumb along the force, the first finger along the field and the second finger along the current. B into page F = BIL I L (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.
Key idea
The force on a wire is the Lorentz force on its moving charges added up: , at right angles to both the wire and the field.

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.

Graph of force on a wire against the angle with the field Graph of the force on a straight wire against the angle theta between the wire and the field: a sine curve, zero at 0 and 180 degrees and largest at 90 degrees. θ F 0° 90° 180° BIL zero along B, largest across B
Figure 2: Force on a straight wire against the angle between the wire and : , zero when the wire lies along the field and largest, , at .
Exam Trick

Wire held up by the field. A horizontal wire of mass and length floats when , so . If only the mass per unit length is given, . Check the direction with Fleming's rule: the force must point up.

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 bent wire runs from A to C in a field into the page. The force on it equals the force on the straight chord L from A to C, F equal to I L B, perpendicular to the chord. Small elements d-ell and their small forces are shown along the wire. L F = ILB A C B into page each dℓ (orange) and its small force (thin red)
Figure 3: In 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).
Key idea
In a uniform field only the straight vector from the start of the wire to its end matters. Join the ends with a chord: same force. Close the loop: zero force.
Zero net force on closed current loops in a uniform field A rectangular loop and a triangular loop carry anticlockwise current in a field into the page. Each side feels a force perpendicular to it, pointing inward; the forces add to zero. P Q R ΣF = 0 each F = BIL ΣF = 0 B into page I F
Figure 4: Closed 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 from P to Q in a field out of the page. The force on it equals the force on the diameter PQ of length 2R: F equal to 2 I R B-zero, along minus y. I P Q 2R F = 2IRB0 x y B0 out of page
Figure 5: Solved 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.

Quick Recall: tap to check
Force on a straight wire of length at angle to ?
, perpendicular to both the wire and .
A wire is bent into a quarter circle of radius . In a uniform field it feels the same force as which straight wire?
The chord joining its ends, of length .
Net force on a current loop of any shape in a uniform field?
Zero. It may still feel a torque.
Which finger is the current in Fleming's left-hand rule?
The second (middle) finger; first finger is , thumb is .

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 long parallel wires seen end-on, distance d apart. The field B1 of wire 1 at wire 2 is upward. With currents in the same direction the forces pull the wires together; with opposite currents they push them apart. B1 I1 I2 d F F (a) same direction: attract B1 I1 I2 d F F (b) opposite: repel F/L = μ0I1I2 / 2πd
Figure 6: Two 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).

NCERT notes that this agreement with Newton's third law is shown here for steady currents in parallel wires; with time-varying currents, momentum is conserved only when the momentum carried by the fields is included.

Like charges

Repel each other.
Force along the line joining them.
for point charges.

Like (parallel) currents

Attract each other.
Force at right angles to the wires.
for long wires.

Exam Trick

Three or more parallel wires: add the pairs. Each wire feels the other wires' fields only (a wire's own field gives it no net force). Work out each pair with , mark attraction or repulsion, and add along the line. A middle wire with equal currents in the same direction on both sides, at equal distances, feels zero net force.

Key idea
Parallel currents attract and antiparallel currents repel, the opposite of like and unlike charges; the force per unit length falls as .
JEE Advanced

A rod at right angles to a long wire. A straight rod lies along a line perpendicular to a long wire carrying , from distance to distance , and carries . The field changes along the rod, so integrate :

The force is parallel to the long wire (along , depending on the direction of ), and because it is larger on the near part it acts closer to the wire than the rod's midpoint, so the rod also feels a torque about its centre.

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.
  • The coulomb follows from the ampere: is the charge carried in by a steady current of .
  • Measuring it: an instrument called the current balance measures this small mechanical force; in practice multiturn coils replace very long wires.
  • Stray fields matter: the earth's field (a few times ) can push a wire carrying with a few times per metre, far more than , so it must be cancelled when standardising the ampere.
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. Wire PQ rests on two rails a height h above a long fixed wire carrying current the other way. The repulsive magnetic force on PQ points up and balances its weight mg. rail rail P Q I F/L = μ0I2/2πh mg/L I fixed wire h antiparallel currents repel B of fixed wire (into page)
Figure 7: Solved 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 straight wire carries I1 upward. A rectangular loop of height a and width b lies to its right at distance d, carrying I2 clockwise. The near side is attracted with force F1, the far side repelled with the smaller F2; the forces on the short sides cancel. I1 I2 F1 F2 d b a B1 into page (right of wire)
Figure 8: Solved 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.

Quick Recall: tap to check
Force per unit length between wires apart carrying and ?
; attractive if parallel, repulsive if antiparallel.
Value of that force for in each wire, apart?
: the old definition of the ampere.
A rectangular loop beside a long wire, near side parallel to the wire's current: net force?
Towards the wire, .
Flowchart: force on a current-carrying wire Flowchart. If the field is not uniform, split the wire into pieces and use the field at each. If it is uniform and the wire is a closed loop, the net force is zero. Otherwise use I L cross B with L from the start to the end of the wire. Find the direction with Fleming's left-hand rule. no yes yes no Force on a current-carrying wire Field uniform? split into pieces, use B at each, then add Closed loop? net F = 0; torque need not be zero F = I L × B with L from start to end Direction: Fleming's left hand or I × B
Figure 9: Flowchart: the force on a current-carrying wire. In a uniform field only the vector from the start to the end of the wire matters; a closed loop feels no net force.

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.

Mind map: magnetic force on current-carrying wires Mind map with six branches: force on an element, straight wire, any shape, two parallel wires, the ampere and non-uniform fields, each with three key results. Force on current wires Element dF = I dℓ × B I = n e vd A Fleming left hand Straight wire F = BIL sinθ zero along B acts at midpoint Any shape chord from A to C closed loop: 0 torque possible Two wires F/L = μ0I1I2/2πd parallel attract opposite repel The ampere 1 A, 1 m apart 2 × 10-7 N/m now fixed by e Uneven field loop near a wire near side wins pull or push
Figure 10: Mind map of the magnetic force on current-carrying wires.
Practice Questions
  1. A wire long carries at to a field of . Find the force.Answer: .
  2. A horizontal wire of mass and length carries . What horizontal field, at right angles to it, holds it up?Answer: .
  3. A quarter-circle wire of radius carries in a field of at right angles to its plane. Find the force.Answer: Chord , so .
  4. Which graph shows the force on a straight wire against its angle with a uniform field?
    (A) a straight line through the origin
    (B) a sine curve, largest at
    (C) a cosine curve, largest at
    (D) a horizontal lineAnswer: (B): .
  5. Two long wires apart each carry . Force per metre?Answer: , the old definition of the ampere.
  6. Three long parallel wires lie in a plane apart, each carrying the same way. Force per metre on an outer wire?Answer: towards the middle (the middle wire feels zero).
  7. Numerical answer: a horizontal wire carries at right angles to a horizontal field of . Force per metre, in units of ?Answer: .
  8. Statement I: a closed current loop in a uniform field feels zero net force. Statement II: it always feels zero torque.
    (A) both true
    (B) I true, II false
    (C) I false, II true
    (D) both falseAnswer: (B): the torque is (Concept 261).

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.
  • Treating as the force: is per unit length; multiply by the length of the wire.

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.

Keep going

All concepts in Magnetic Effects of Current and Magnetism →