Magnetic Field of a Solenoid || Class 12 Physics Notes

eSaral Academic and Editorial Team
Summary
Magnetic Field of a Solenoid: A current-carrying solenoid produces a uniform magnetic field inside it, with field strength given by B = μ₀nI at the center of a long solenoid and B = (μ₀nI)/2 at its ends; the field is parallel to the axis and its direction is determined by the right-hand thumb rule.

eSaral › Class 12 ›Magnetic Field of a Solenoid
🚀 Checkout eSaral Courses
Magnetic Field of a Solenoid
A solenoid is a long cylindrical helix. It is made by winding closely a large number of turns of insulated copper wire over a tube of cardboard or china-clay. When an electric current is passed through the solenoid, a magnetic field is produced around and within the solenoid.
The figure shows the lines of force of the magnetic field due to a solenoid. The lines of force inside the solenoid are nearly parallel which indicates that the magnetic field 'within' the solenoid is uniform and parallel to the axis of the solenoid.
Magnetic Field of a Solenoid Derivation

Let there be a long solenoid of radius 'a' and carrying a current I. Let n be the number of turns per unit length of the solenoid. Let $P$ be a point on the axis of the solenoid.
Let us imagine the solenoid to be divided up into a number of narrow coils and consider one such coil AB of width $\delta x$. The number of turns in this coil is n\deltax. Let $x$ be the distance of the point $P$ from the centre $\mathrm{C}$ of this coil. The magnetic field at $\mathrm{P}$ due to this elementary coil is given by
Let average distance of circumference is r and $\delta \theta$ the angle subtended by the coil at P.

$$ \sin \theta=\frac{\mathrm{BN}}{\mathrm{AB}}=\frac{\mathrm{r} \delta \theta}{\delta \mathrm{x}} \quad \text { or } \quad \delta \mathrm{x}=\frac{\mathrm{r} \delta \theta}{\sin \theta} $$
In $\Delta \mathrm{ACP},$ we have $\quad \mathrm{a}^{2}+\mathrm{x}^{2}=\mathrm{r}^{2}$
$$ r^{3}=\left(a^{2}+x^{2}\right)^{3 / 2} $$
Substiuting these values of $\delta x$ and $\left(a^{2}+x^{2}\right)^{3 / 2}$ in eq. (i), we get
$$ \delta \mathrm{B}=\frac{\mu_{0}(\mathrm{nr} \delta \theta) \mathrm{I} \mathrm{a}^{2}}{2 \mathrm{r}^{3} \sin \theta}=\frac{\mu_{0} \mathrm{nI} \mathrm{a}^{2}}{2 \mathrm{r}^{2}} \frac{\delta \theta}{\sin \theta} $$

The magnetic field $\mathrm{B}$ at $\mathrm{P}$ due to the whole solenoid can be obtained by integrating the above expression between the limits $\theta_{1}$ and $\theta_{2},$ where $\theta_{1}$ and $\theta_{2}$ are the semi-vertical angles subtended at $P$ by the first and the last turn of the solenoid respectively. Thus


or $\quad \mathrm{B}=\frac{1}{2} \mu_{0} \mathrm{n} \mathrm{I}\left(\cos \theta_{1}-\cos \theta_{2}\right)$ ..........(ii)
If the observation point P is well inside a very long solenoid


Thus, the magnetic field at the ends of a 'long' solenoid is half of that at the center. If the solenoid is sufficiently long, the field within it (except near the ends) in uniform. It does not depend upon the length and area of the cross-section of the solenoid. Just as a parallel-plate capacitor produces a uniform and known electric field, a solenoid produces a uniform and known magnetic field.
The 'uniform' magnetic field within a long solenoid is parallel to the solenoid axis.
Its direction along the axis is given by a curled-straight right-hand rule. "If we grasp the solenoid with our right hand so that our fingers follow the direction of the current in the winding's, then out extended right thumb will point in the direction of the axial magnetic field".
Click here for the Video tutorials of Magnetic Effect of Current Class 12
For free video lectures and complete study material, Download eSaral APP.
Frequently Asked Questions
What is the magnetic field inside a solenoid?
The magnetic field inside a long solenoid is B = μ₀nI, where μ₀ = 4π × 10⁻⁷ T·m/A is the permeability of free space, n is the number of turns per unit length (turns/metre), and I is the current in amperes. This field is uniform and directed along the axis of the solenoid, independent of its radius or total length.
What is the magnetic field at the end of a solenoid?
At the open end of a long solenoid, the magnetic field is B = μ₀nI / 2 — exactly half the value at the centre. This result follows directly from integrating the elementary coil contributions with limits θ₁ = 0° and θ₂ = 90°. It is a standard result asked in both CBSE board exams and JEE Main.
How is the solenoid derivation done using Ampere's Law?
Using Ampere's circuital law (∮ B·dl = μ₀ I_enclosed), a rectangular Amperian loop is drawn with one side inside the solenoid along the axis and three sides outside. The contribution outside is zero. The inside segment of length L encloses nL turns, each carrying current I. This gives B·L = μ₀·nL·I, so B = μ₀nI — the same result as the integration method.
Does the radius of a solenoid affect its magnetic field?
No. The magnetic field inside a solenoid B = μ₀nI does not depend on the radius or cross-sectional area of the solenoid. Only the number of turns per unit length (n) and the current (I) determine the interior field strength. This is a common trap in JEE Main multiple-choice questions.
What is the SI unit of the magnetic field, and what are the typical values for a solenoid?
The SI unit of magnetic field B is the Tesla (T). A typical laboratory solenoid with n = 1000 turns/m and I = 2 A produces B = μ₀ × 1000 × 2 ≈ 2.51 × 10⁻³ T (about 25 Gauss). Superconducting solenoids in MRI machines can reach 1.5 T to 7 T.

Team eSaral
eSaral Academic and Editorial Team
Team eSaral is the collective author profile for educational content created by eSaral’s teachers and academic contributors. The team draws on expertise from IIT graduates, doctors, experienced educators and subject specialists to develop resources for JEE, NEET and school students. Our articles aim to explain concepts clearly and help students study with confidence.
Related Posts

BITSAT 2027: Registration Date, Exam Date, Syllabus, Eligibility, Pattern & Fees
BITSAT 2027 exam dates, registration timeline, eligibility criteria, exam pattern, marking scheme, syllabus and fees in one page.

BITSAT Previous Year Question Paper PDF (2017-2026)
Download BITSAT previous year question papers PDF from 2017 to 2026,session-wise. Memory-based papers,exam pattern, paper analysis and how to practise

CBSE Class 10 Date Sheet 2027: Expected Exam Dates, Release Date, Admit Card & Result Timeline
CBSE Class 10 date sheet 2027 is awaited. See the expected exam dates, release window, how to download the PDF, admit card and result timelines.

NCERT Physics Class 10 Book PDF in Hindi 2026-27 – भौतिक विज्ञान के 4 अध्याय (Free Download)
NCERT Physics Class 10 book PDF in Hindi 2026-27: download all 4 chapters (अध्याय 9–12) free, with topics and important formulas.

NCERT Biology Class 9 Book Anveshan PDF in Hindi - जीव विज्ञान कक्षा 9 पुस्तक अन्वेषण PDF
Download NCERT Biology Class 9 book PDF in Hindi chapterwise for 2026-27: Cell, Tissues, Reproduction and Diversity. Free PDFs.
-1.webp?2026-10-02T10%3A55%3A05.572Z)
Essay On Artificial Intelligence in English (100,150, 200, 250, 300, 500 Words)
This is in contrast to the natural intelligence of humans. With Artificial Intelligence, machines can perform

Essay on 78th India Independence Day in English for Student (100, 150, 200, 250, 300, 500 Words)
Read the best essays on India's Independence Day in English. Short & long essays (100, 150, 200, 250, 300, 500 words) perfect for school exams
NCERT Class 11 English Snapshots book - Free PDF download- Esaral
Download NCERT Class 11 English Snapshots book PDF for free. Get all 8 chapters, chapter-wise. Start your prep today!
NCERT Class 10 biology book pdf - Free PDF Download - eSaral
NCERT Class 10 Biology book PDF 2026-27: all 5 chapters (Life Processes to Our Environment) in English & Hindi, with CBSE syllabus, marks & practical

Essay on Global Warming in English (100,150, 200, 250, 300, 500 Words)
Global warming means the Earth is getting hotter. This happens because of things like pollution from cars and factories.

