Audited ·Last updated 31 Jul 2026·3 citations·Tier 3·0 uses

Solenoid Inductance Calculator — Henries from Turns, Length and Diameter

Compute a coil's inductance from L = μ₀μᵣN²A/l using turns, length, diameter and core permeability — with the length-to-diameter caveat stated.

Solenoid Inductance Calculator

Inductance goes as the square of this, so doubling the turns quadruples the inductance. Count the turns actually within the winding length you enter below.
The length of the winding along the axis, not the length of the former or the wire. Spreading the same turns over a longer coil reduces the inductance in proportion.
mm
The mean diameter of the winding, used as A = πd²/4. Inductance goes as the square of this too, through the cross-sectional area.
mm
1 for air or any non-magnetic former. For a ferrite or powdered-iron core take the figure from the datasheet at your actual flux density, frequency and temperature — it is not a fixed property of the material.
Inductance
78.9568
L = μ₀μᵣN²A/l, the ideal-solenoid result. Treat it as an upper bound for any coil that is not much longer than it is wide.
Inductance in mH
0.079 mH
Cross-sectional area
314.1593 mm²
Winding density
2,000
Length-to-diameter ratio
2.5
Reading the result
100 turns over 50 mm of 20 mm diameter with an air core gives L = μ₀μᵣN²A ⁄ l = 78.9568 µH. The winding density is 2000 turns per metre and the length-to-diameter ratio is 2.5. At l/d below 10 this is a SHORT coil, and the ideal-solenoid formula OVERESTIMATES its inductance. The equation assumes an infinitely long coil with a uniform internal field and nothing outside; a short coil leaks flux at both ends, so its real inductance is lower — and the shorter it is relative to its diameter, the larger the shortfall. This page applies no end correction and does not quote a percentage, because a correction factor it cannot source would be a guess. Treat the figure as an upper bound and measure the finished coil. Single-layer, closely and evenly wound, circular cross-section, with the length measured along the winding rather than the former. Wire thickness, insulation, layer count, winding pitch, self-capacitance and skin effect are not modelled, and neither is any frequency dependence. Relative permeability is set to 1, so this is the air-cored value.

Background.

The inductance of a solenoid follows from its geometry alone: L = μ₀μᵣN²A/l, where N is the number of turns, A the cross-sectional area, l the winding length and μ₀ the permeability of free space. Enter turns, length, diameter and a core permeability and this page returns the inductance in microhenries and millihenries, along with the winding density and the length-to-diameter ratio.

Two scaling laws are worth carrying away. Inductance goes as the square of the turn count, so doubling the turns quadruples it — turns are by far the most effective lever. And it goes as the square of the diameter too, through the area, while it falls only in inverse proportion to the length. A short fat coil therefore has much more inductance than a long thin one with the same wire on it.

The important caveat is that this equation describes an ideal solenoid — one assumed to be infinitely long, with a uniform axial field inside and no field outside. A real coil leaks flux at both ends, and its true inductance is lower than the formula gives. The shorter the coil relative to its diameter, the larger the shortfall, which is why this page reports the length-to-diameter ratio next to the answer and says which side of the useful range you are on. No end-correction factor is applied here and none is quoted: the Nagaoka correction table could not be retrieved from a primary source for this page, and an invented correction would be worse than an honest upper bound. Treat the figure as a design starting point and measure the wound coil.

The permeability constant is versioned rather than assumed. μ₀ is taken as 1.256 637 061 27 × 10⁻⁶ N·A⁻², NIST's CODATA 2022 value, which since the 2019 redefinition of the SI is a measured quantity rather than exactly 4π × 10⁻⁷ — though it remains equal to that to within about two parts in ten billion, which is nowhere near any tolerance a wound coil has. Relative permeability is deliberately an input rather than a built-in table, because it belongs to a specific core at a specific flux density, frequency and temperature, not to a material in general.

What is solenoid inductance calculator?

A solenoid is a coil of wire wound in a helix, and its self-inductance is the ratio of its flux linkage to the current producing it, L = NΦ/I. For a long solenoid the internal field is very nearly uniform and equal to B = μ₀nI, where n = N/l is the turns per unit length. The flux through one turn is then BA, the flux linkage is N times that, and dividing by the current leaves L = μ₀N²A/l — OpenStax University Physics prints this as Equation 14.13. Adding a magnetic core multiplies the field, and hence the inductance, by the core's relative permeability μᵣ. The result depends only on geometry and material: nothing about the wire gauge, the current, or the frequency enters it. That is both the equation's strength and its limit. It is exact for an infinitely long, closely wound, single-layer coil and progressively optimistic for shorter ones, because a finite coil's field spreads and weakens near the ends so the real flux linkage is less than the ideal calculation assumes. For coils much longer than they are wide the error is small; for a squat coil it is substantial, and a correction factor derived from the coil's proportions is needed.

How to use this calculator.

  1. Count the turns in the winding and enter them as N. Inductance goes as N², so this is the number to get right.
  2. Measure the winding length along the coil's axis — the extent of the turns, not the length of the former or of the wire.
  3. Enter the mean diameter of the winding. The page converts it to area with A = πd²/4.
  4. Set the relative permeability: 1 for air or a plastic former, or the datasheet figure for a magnetic core at your working flux density.
  5. Read the inductance, then check the length-to-diameter ratio beside it. At 10 or above the ideal formula is a fair model; well below that, treat the answer as an upper bound.
  6. Measure the finished coil if the value matters. No geometric formula accounts for wire thickness, winding pitch, multiple layers or self-capacitance.

The formula.

L = μ₀ μᵣ N² A ⁄ l A = π d² ⁄ 4 n = N ⁄ l

The derivation runs through the field. Inside a long solenoid the magnetic field is essentially uniform and axial, with magnitude B = μ₀nI where n = N/l is the turns per metre. The flux through a single turn is Φ = BA, and the total flux linkage is NΦ. Self-inductance is flux linkage per unit current, L = NΦ/I, and substituting gives L = N(μ₀nI)A/I = μ₀N²A/l once n is written as N/l. A magnetic core multiplies B, and therefore L, by its relative permeability.

Working the default: 100 turns, 50 mm long, 20 mm in diameter, air core. Convert to metres first — the equation is only valid in SI base units. The radius is 0.01 m, so A = π × 0.01² = 3.14159265 × 10⁻⁴ m², which is 314.159265359 mm². The winding density is n = 100/0.05 = 2000 turns per metre. Then L = 1.25663706127 × 10⁻⁶ × 1 × 100² × 3.14159265 × 10⁻⁴ ÷ 0.05 = 7.89568352 × 10⁻⁵ H, which is 78.9568351983 µH or 0.0789568352 mH.

That value can be checked by a genuinely different route rather than by rearranging the same expression. Put 1 ampere through the coil: B = μ₀nI = 1.25663706127 × 10⁻⁶ × 2000 × 1 = 2.51327 × 10⁻³ T. The flux per turn is Φ = BA = 2.51327 × 10⁻³ × 3.14159 × 10⁻⁴ = 7.8957 × 10⁻⁷ Wb. Flux linkage is NΦ = 7.8957 × 10⁻⁵ Wb, and dividing by the 1 A gives 78.957 µH — the same answer, arrived at through the field rather than through the compact formula.

The scaling laws follow directly from where each symbol sits. N is squared, so doubling the turns to 200 gives 315.83 µH, four times as much. The area is proportional to d², so doubling the diameter to 40 mm also quadruples the inductance. Length is in the denominator, so doubling it to 100 mm halves the result. And μᵣ is a plain multiplier: a core of μᵣ = 125 turns 78.96 µH into 9869.6 µH, or 9.87 mH.

The honest limitation is the ideal-solenoid assumption. The derivation used B = μ₀nI, which holds strictly only for an infinitely long coil where the field is uniform throughout and zero outside. A finite coil's field weakens and spreads near the ends, so its actual flux linkage — and therefore its inductance — is lower than this calculation gives. The error grows as the coil gets shorter relative to its diameter, which is why the page prints the length-to-diameter ratio and flags anything under 10. It does not apply a numeric correction, and it deliberately quotes no percentage, because the correction factor could not be sourced from a primary reference for this page and a fabricated one would be worse than a clearly labelled upper bound.

Also outside the model: wire diameter and insulation thickness, winding pitch, multiple layers, the difference between mean and inner diameter, inter-winding capacitance, skin and proximity effects, and any frequency dependence at all. Real inductor datasheets quote an A_L value per core precisely because the geometric formula stops being adequate as soon as a core is involved.

A worked example.

Example

A 100-turn air-cored coil wound over 50 mm of a 20 mm diameter former. Working in SI units, the radius is 0.01 m, so the cross-sectional area is A = π × 0.01² = 3.14159265 × 10⁻⁴ m², reported here as 314.159265359 mm². The winding density is 100 turns over 0.05 m, which is 2000 turns per metre. Substituting into L = μ₀μᵣN²A/l with μ₀ = 1.25663706127 × 10⁻⁶ N·A⁻² gives L = 1.25663706127 × 10⁻⁶ × 1 × 10000 × 3.14159265 × 10⁻⁴ ÷ 0.05 = 7.89568352 × 10⁻⁵ H — that is 78.9568351983 µH, or 0.0789568352 mH. As a check by a different route, one ampere through the coil produces B = μ₀nI = 2.513 × 10⁻³ T inside it, a flux of 7.896 × 10⁻⁷ Wb per turn, and a flux linkage of 7.896 × 10⁻⁵ Wb, which divided by the 1 A returns the same 78.96 µH. Now the caveat that belongs beside the number: the length-to-diameter ratio here is 50/20 = 2.5, well under 10. This coil is short and fat, its field spreads noticeably at the ends, and its real inductance will be measurably below 78.96 µH. Take the figure as an upper bound, and measure the coil once it is wound.

coil Length Mm50
relative Permeability1
coil Diameter Mm20
turns100

Frequently asked questions.

How do you calculate the inductance of a solenoid?
Use L = μ₀μᵣN²A/l: the permeability of free space times the core's relative permeability, times the square of the turn count, times the cross-sectional area, divided by the winding length. Everything must be in SI base units — metres and square metres — which is why this page takes millimetres and converts them for you. For 100 turns over 50 mm of a 20 mm former in air, the answer is about 79 µH. OpenStax University Physics gives the air-cored form as Equation 14.13, and Fiore's circuit-analysis text gives the same relation written as L = μAN²/l with μ the absolute permeability.
Why does doubling the turns quadruple the inductance?
Because N enters twice. More turns produce a stronger field for the same current — the field goes as N/l — and more turns also link that field more times when you count the flux linkage. Each effect is linear in N, so together they make the inductance proportional to N². The same doubling logic applies to diameter, since the area goes as d², so a coil twice as wide also has four times the inductance. Length is the exception: it sits in the denominator to the first power, so spreading the same turns over twice the distance halves the inductance.
How accurate is this for a short coil?
It overestimates, and the shorter the coil relative to its diameter the more it overestimates. The formula assumes an infinitely long solenoid whose internal field is uniform and whose external field is zero. A real coil's field spreads and weakens near the ends, so it links less flux than the ideal calculation assumes and its inductance is lower. This page reports the length-to-diameter ratio so you can judge: at 10 or above the ideal model is reasonable, and well below it the answer is an upper bound. No numeric correction factor is applied here, and none is quoted — the standard end-correction table could not be sourced from a primary reference for this page, and quoting an unverified percentage would be worse than saying plainly which way the error runs.
What relative permeability should I use for a ferrite core?
Whatever the datasheet gives for that specific core at your flux density, frequency and temperature — there is no universal number, which is why this page asks for it rather than offering a table. Ferrite permeability varies by orders of magnitude between material grades, falls sharply as the core approaches saturation, and changes with both frequency and temperature. That variability is exactly why inductor manufacturers publish an A_L value in nanohenries per turn squared for a given core rather than a permeability: it folds the geometry and the material together for one real part. If you have an A_L figure, L = A_L × N² is more trustworthy than this geometric calculation.

References& sources.

  1. [1]OpenStax (Rice University), University Physics Volume 2, §14.2 'Self-Inductance and Inductors'. Primary source for the equation implemented here, Equation 14.13: 'L_solenoid = μ₀N²A/l', where μ₀ is the permeability of free space, N the number of turns, A the cross-sectional area and l the length. Also the source of the definition of self-inductance as flux linkage per unit current and of the henry as one volt-second per ampere. Note that this section contains no worked example applying the geometric formula, so the worked example on this page is computed here and cross-checked by the independent flux route. Retrieved 2026-07-29.
  2. [2]NIST, CODATA Internationally Recommended 2022 Values of the Fundamental Physical Constants — vacuum magnetic permeability μ₀. Source of the constant used here: value '1.256 637 061 27 x 10⁻⁶ N A⁻²', standard uncertainty '0.000 000 000 20 x 10⁻⁶ N A⁻²', relative standard uncertainty '1.6 x 10⁻¹⁰'. Since the 2019 revision of the SI, μ₀ is a measured quantity rather than exactly 4π × 10⁻⁷. Retrieved 2026-07-29.
  3. [3]Engineering LibreTexts / James M. Fiore, Introduction to Circuit Analysis, §6.2.2 'Inductance and Inductors'. Independent second authority for the same relation, written as 'L = μ(AN²)/l, where L is inductance in henries, μ is core material permeability, A is cross-sectional area, N is number of coils/turns, and l is coil length' — which makes explicit that the μ in the compact form is the absolute permeability μ₀μᵣ. Retrieved 2026-07-29.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 977 calculators remain free
  • No billing is enabled
Coming soon