FundamentholLog inStart lesson 1 freeBack to app

Torque and Work Done in a Magnetic Field

PhysicsMagnetic Effects of Current and Magnetism
For JEE aspirants

A current loop in a uniform magnetic field experiences zero net force but a non-zero torque that tries to align its magnetic moment with the field. For a loop of turns, area , carrying current , the magnetic dipole moment is , and the torque is , magnitude . The potential energy is , and the work done in rotating the dipole from angle to is . These formulas are directly examined in JEE Main and NEET, and they are the working principle behind the moving coil galvanometer, electric motors, and the concept of magnetic dipoles in matter.

On this page1Dipole moment2Torque on a loop3Energy and work4Non-uniform field
Key Formulas - Quick Reference
  1. ★ Must learnMagnetic dipole moment of -turn loop: , where is normal to the loop (right-hand curl from )
  2. ★ Must learnTorque on loop in uniform : , magnitude
  3. Maximum torque ():
  4. Zero torque ( or ): loop is stable () or unstable ()
  5. ★ Must learnPotential energy:
  6. ★ Must learnWork done rotating from to :
  7. Angular frequency of small oscillations about stable equilibrium: JEE Advanced
  8. Net force on a loop in uniform : zero. In non-uniform : . Beyond syllabus

1. Magnetic Dipole Moment

A closed current loop of area carrying current has a magnetic dipole moment:

Here is a vector normal to the loop's plane; its direction is fixed by the right-hand curl rule: curl fingers along , thumb points along (and hence along ).

  • SI unit of : (or joule/tesla).
  • Direction: anticlockwise current, as seen by you, gives out of the plane; clockwise gives into the plane.
  • For a revolving charge in a circle of radius with speed : equivalent current , so .
Revolving charge as a current loop A positive charge q moves anticlockwise on a circle of radius R with speed v. It is equivalent to a current q v over 2 pi R and has magnetic moment one half q v R, out of the page. R M v q i = qv / 2πR M = ½ qvR M = (q/2m) L M out of page
Figure 1: A positive charge going round anticlockwise is a current loop: and , out of the page. With this is .
Exam Trick

Orbiting charge: . With the angular momentum , the result becomes , whatever the radius or speed. For a positive charge is along ; for an electron it points opposite to . For an electron in a Bohr orbit, gives in size (the Bohr magneton for ).

Key idea
Any current loop is a magnetic dipole: , along the normal given by the right-hand curl rule.

2. Torque on a Current Loop

Consider a rectangular loop of length and width , in uniform , with the normal at angle to . The two sides of length (perpendicular to ) feel equal and opposite forces separated by , forming a couple:

For turns: . In vector form:

Torque on a rectangular current loop in a uniform magnetic field A rectangular current loop, seen at a slant, in a uniform field B pointing right. Its moment M makes angle theta with B. The two sides perpendicular to B feel equal and opposite forces F, whose lines of action are b sine theta apart, forming a couple. I F F B M θ b sinθ uniform field B
Figure 2: The two sides perpendicular to feel equal and opposite forces . Their lines of action are separated by , so the couple has moment .
Edge-on view of the current loop showing the couple The loop seen edge-on: current comes out of the page at one side and goes into it at the other. The forces B I L point up on one side and down on the other; their lines of action are b sine theta apart. loop, edge-on F = BIL F = BIL B M θ lever arm = b sinθ
Figure 3: The same situation viewed along the rotation axis. Current is out of the page () on one side and into it () on the other, so the two forces point oppositely. Only the perpendicular separation contributes to the moment, which is why .

2.1 Equilibrium positions

  • (): , (minimum): stable.
  • (): , (maximum): unstable.
  • : (maximum torque).
The three key orientations of a magnetic dipole in a uniform field Three panels with the field to the right. At theta 0 the moment points along B: zero torque, energy minus M B, stable. At theta 90 degrees the moment is perpendicular to B: maximum torque M B, energy zero. At theta 180 degrees the moment points against B: zero torque, energy plus M B, unstable. B (uniform, to the right) θ = 0° M θ = 90° M τ θ = 180° M τ = 0 U = −MB STABLE τ = MB (max) U = 0 MAX TORQUE τ = 0 U = +MB UNSTABLE
Figure 4: Both and give zero torque, but only is stable. Note that at the plane of the loop contains : this is the maximum-torque case, not the zero-torque case.
This result (torque is ) is general: it holds for any planar current loop, not just rectangular. The area vector carries all the geometric information.
Exam Trick

Plane or normal? If a question gives the angle between the plane of the coil and , the angle in the formula is , so .

Plane of the loop versus its normal Two loops seen edge-on with the field to the right. Left: the plane lies along B, so the moment is perpendicular to B and the torque is largest. Right: the plane faces the field, so the moment is along B and the torque is zero. B M plane ∥ B θ = 90°: τ max M plane ⟂ B θ = 0°: τ = 0
Figure 5: The angle in is between (the normal) and . A loop whose plane lies along has and feels the largest torque; a loop facing the field has and feels none.
Electric dipole in E

.
.
.

Magnetic dipole in B

.
.
.

Quick Recall: tap to check
Torque on an -turn coil whose plane is parallel to ?
The largest: (here ).
Which orientation is stable, or ?
( along , lowest energy).
Net force on the coil in a uniform field?
Zero; only a torque acts.
Key idea
In a uniform field a current loop feels no net force, only a torque that turns towards .

3. Potential Energy and Work Done

The work done by the magnetic torque as the loop rotates from angle to (with respect to ):

(Note the sign: the torque tries to decrease , i.e., align with .) The corresponding potential energy is:

and the work done by an external agent in rotating the dipole from to (quasi-statically):

Torque and potential energy of a magnetic dipole against orientation angle Graph from 0 to 360 degrees. The torque divided by M B is a sine curve, largest at 90 degrees. The energy divided by M B is minus cosine theta, lowest at 0 (stable) and highest at 180 degrees (unstable). The shaded area under the torque curve is the external work W, the integral of torque with respect to angle. θ τ/MB, U/MB +1 −1 0° 90° 180° 270° 360° stable stable unstable max torque τ = MB sinθ U = −MB cosθ shaded area: W = ∫τ dθ
Figure 6: peaks at , while is a minimum at (stable) and a maximum at (unstable). The shaded area under the torque curve is exactly the external work .
  • Rotate from to : .
  • Rotate from to : (maximum energy stored).
  • Rotate from to : .

3.1 Small-oscillation frequency

JEE Advanced

The period of small oscillations, , is not in the JEE Main 2026 syllabus. JEE Advanced 2026 covers it: the torque on a current loop in a uniform field together with angular simple harmonic motion.

For small angular displacements from stable equilibrium, , so:

, so

This is the basis of the vibration magnetometer and the equivalent oscillation of a bar magnet in a horizontal field.

Solved Example 1
A circular coil of turns, radius m, carries A. It is placed in a uniform T. Find (i) the magnetic moment, (ii) the maximum torque, (iii) the torque when the moment makes with .
Solution:

Area .

(i) .

(ii) .

(iii) .

Solved Example 2
For a given length of wire carrying current , how many circular turns give the maximum magnetic moment, and what is its value?
Solution:

If turns are made, each has circumference , so and .

decreases with , so maximum is at : . A single loop beats any multi-turn coil for a fixed length of wire.

Solved Example 3
A bar magnet of moment J/T sits in a horizontal field T, free to rotate. Find the work done in rotating it slowly from parallel-to-field to from the field.
Solution:

.

Solved Example 4
A rectangular coil of turns, , carries in a field of . Its plane makes with the field. Find the torque.
Solution:

.

The plane is at to , so the normal is at .

.

Solved Example 5 JEE Advanced
A small magnet of moment and moment of inertia swings slightly about its equilibrium in a field of . Find its period. What happens to the period in a field four times as strong?
Solution:

, so .

: in a field four times as strong the period halves.

JEE Advanced

Large swings. Released from rest at angle , a dipole does not move in SHM, but energy is still conserved (the field does work through the torque):

Here is the angular speed of the dipole (not the SHM constant above). Its greatest value, as the dipole passes , is .

Quick Recall: tap to check
Work needed to turn a dipole from to ?
.
Potential energy at ?
Zero, the chosen reference.
How does the period of small swings depend on ?
.
Key idea
is lowest when points along ; the work done by an outside agent is the rise in .

4. Force on a Dipole in a Non-Uniform Field

Beyond syllabus The force on a dipole in a non-uniform field, , is in neither the JEE Main 2026 nor the JEE Advanced 2026 syllabus: both list magnetic forces in a uniform field only. Read this section for understanding.

In a uniform field, net force on any closed loop is zero. In a non-uniform field, the two ends of the dipole sit at different field strengths, producing a net force:

(along the direction of variation, when )

More generally: . This is why a bar magnet is attracted more strongly to the poles of another magnet than to its middle (where the field hardly changes along the magnet).

Net force on a magnetic dipole in a non-uniform field Field lines crowd together to the right, so the field grows along x. A small magnet aligned with the field has its north pole in the stronger field, so the pull on N beats the pull on S and the net force points towards the stronger field. S N F on S (weaker) F on N (stronger) M net force → towards stronger field weak B strong B B increases along x
Figure 7: In a non-uniform field the two poles sit at different field strengths, so the forces no longer cancel. The net force drags an aligned dipole towards the region of stronger field. In a uniform field the two forces are equal and the net force is exactly zero.
Flowchart: torque, energy and work for a magnetic dipole Flowchart. Find M equal to N I A along the normal. Take theta between M and B, not the plane. In a uniform field the force is zero and the torque is M B sine theta. For energy use minus M B cosine theta and work as the change in energy. For small swings the period is 2 pi root I over M B. no yes Coil or magnet in a field B M = NIA, along the normal (right-hand curl rule) θ = angle between M and B (not the plane!) Field uniform? F = ∇(M·B) as well; τ = M × B still acts F = 0; τ = MB sinθ (zero at 0° and 180°) U = −MB cosθ; W = U2 − U1 small swings about θ = 0: T = 2π√(I/MB), I = moment of inertia
Figure 8: Flowchart for a current loop or magnet in a field: find , take from the normal, then torque, energy and work, or oscillation period.
Mind map: torque and work on a magnetic dipole Mind map with six branches: moment, torque, equilibrium, energy, oscillation and non-uniform field, each with three key results. Dipole in a magnetic field Moment M = NIA along the normal unit A m2 = J/T Torque τ = M × B τ = MB sinθ max when θ = 90° Equilibrium θ = 0°: stable θ = 180°: unstable both: τ = 0 Energy U = −MB cosθ W = U2 − U1 flip 0 → 180°: 2MB Oscillation small θ: τ = −MBθ T = 2π√(I/MB) I: inertia (M.I.) Uneven field F = ∇(M·B) aligned → high B uniform B: F = 0
Figure 9: Mind map: magnetic moment, torque, equilibrium, energy, oscillation and non-uniform fields.
Practice Questions
  1. A coil of turns and radius carries . Find its magnetic moment.Answer: .
  2. The coil of the previous question is placed with its plane along a field of . Torque?Answer: (the largest possible).
  3. How much work turns a magnet of moment from along to against a field of ?Answer: .
  4. An electron moves at on a circle of radius . Find its orbital magnetic moment.Answer: (taking ).
  5. Which describes the potential energy of a dipole against from to ?
    (A) rises as from to
    (B) falls as from to
    (C) a sine hump
    (D) a straight lineAnswer: (A): .
  6. A magnet swings with period in a field . The field is doubled. New period? JEE AdvancedAnswer: .
  7. Numerical answer: a magnet of moment makes with a field of . Torque, in units of ?Answer: .
  8. Statement I: a current loop in a uniform field feels zero net force. Statement II: its potential energy is least when is opposite to .
    (A) both true
    (B) I true, II false
    (C) I false, II true
    (D) both falseAnswer: (B).

Common Mistakes to Avoid

Watch out
  • Confusing the angle in the torque formula: is the angle between (normal to the loop) and , not between the plane of the loop and . If the loop's plane is parallel to , then and torque is maximum (), not zero.
  • Forgetting the factor for a multi-turn coil.
  • Wrong sign of potential energy: is minimum (most negative) when ; this is stable equilibrium.
  • Applying in a uniform field: it is the torque, not the force. Net force in a uniform field is zero.
  • Confusing work done by torque vs work done by external agent: they have opposite signs. ; .
  • Assuming small-oscillation formula applies for large angles: the SHM is valid only for small . Large-angle motion is periodic but not simple harmonic.
  • Taking as the work for a quarter turn: from to the work is ; is for a full flip from to .
  • Mixing up the two 's: in is the current; in is the moment of inertia.

Frequently Asked Questions

Q1. What is the magnetic dipole moment of a current loop?

For a loop of turns carrying current enclosing area , the magnetic dipole moment is , where is the area vector perpendicular to the loop with direction fixed by the right-hand curl rule from the current direction. SI unit: .

Q2. What is the torque on a current loop in a magnetic field?

, magnitude , where is the angle between and . Maximum torque occurs when the loop's plane is parallel to (); zero torque when or .

Q3. Why is the net force on a current loop in a uniform field zero?

For any wire in a uniform field, the net force is . A closed loop has coincident start and end, so and net force vanishes. The loop can still feel a torque.

Q4. What is the potential energy of a magnetic dipole in a field?

. Minimum () when (stable equilibrium); maximum () when (unstable). Zero energy is chosen at .

Q5. What is the work done in rotating a magnetic dipole in a uniform field?

Work done by an external agent in rotating from to : . Rotating from stable equilibrium () to requires ; a full flip ( to ) needs .

Q6. Why does a current loop behave like a bar magnet?

Both produce the same magnetic field pattern at distances large compared to their size (axial field ), both feel the same torque in an external field, and both have the same potential energy . In fact, at the atomic level, all magnetism arises from electron orbital and spin motion: tiny current loops.

Q7. When can a current loop feel a net force?

Only in a non-uniform magnetic field. Different parts of the loop then sit in different field strengths, so the forces don't cancel. The net force is ; this is why a paper clip is attracted toward the pole of a magnet, not toward its middle.

Q8. What is the frequency of small oscillations of a magnetic dipole in a field?

For small angular deviations from stable equilibrium, the restoring torque produces SHM with angular frequency and period . This principle is used in the vibration magnetometer.

Q9. Is in the torque formula measured from the plane of the loop or from the normal?

From the normal (), not the plane. If the loop's plane is parallel to (so ), then and torque is maximum. If the loop's plane is perpendicular to (), then and torque is zero. Confusion here is a very common exam error.

Keep going

All concepts in Magnetic Effects of Current and Magnetism →