Solenoid Inductance Calculator – L = μ₀N²A/l for an Air-Cored Coil
Use this free Solenoid Inductance Calculator to find the self-inductance of an air-cored solenoid, L = μ0N²A ÷ l — and see why the turns count, squared, is the designer's most powerful lever.
Wind wire into a long coil and you have built an inductor: a component whose whole personality is to resist changes in its own current. Its measure is the self-inductance L, the flux linkage the coil produces per amp of its own current — and for the classic air-cored solenoid that inductance is fixed entirely by geometry: L = μ0N²A/l. This calculator evaluates it from the turns count, the cross-sectional area and the winding's length.
The formula's headline is the N². Double the turns and the inductance does not double — it quadruples, because each added turn does double duty: it carries current that makes more field, and it is one more loop for that field to link. Turns are therefore the cheapest inductance there is, bought with wire rather than iron. Set against it, the area helps linearly and the length hurts linearly: the same turns spread over twice the length give half the inductance, because the field each amp can sustain is diluted over twice the distance.
Honesty about the approximation matters. The formula assumes a long, thin, tightly wound coil whose interior field is uniform and whose ends leak nothing — the "ideal solenoid" of textbooks. Real coils, especially short fat ones, leak flux at their ends and fall short of the prediction, sometimes by tens of percent. Engineers patch the gap with the Nagaoka coefficient, a correction factor below 1 that depends on the coil's proportions. For long coils — length several times the diameter — the ideal formula is good to a few percent and is the right first design step; this page's examples keep to that regime or say when they leave it.
Formula
L = μ0 × N² × A ÷ l • L in henries (H), A in m², l in metres, μ0 = 4π × 10⁻⁷. The formula assumes a long, tightly wound, air-cored solenoid. The N² appears because each turn both carries current and links the flux made by all the others — double the turns, quadruple the inductance.
The derivation is three lines and worth knowing, because it shows where every factor is born. The interior field is B = μ0 × (N/l) × I — turns per metre times current. The flux through each turn is Φ = B × A. The linkage is N turns of it: NΦ = μ0N²AI/l. Inductance is defined as linkage per amp, so dividing by I leaves L = μ0N²A/l — the current cancels, which is why L is a property of the coil alone. With a core, multiply by its relative permeability: L = μr × μ0 × N² × A ÷ l. The calculator takes the area in cm² and converts it for you.
| Symbol | Meaning | Units |
|---|---|---|
| L | self-inductance of the solenoid | henries (H) |
| N | number of turns | — (a count) |
| A | cross-sectional area of the coil | m² (calculator accepts cm²) |
| l | length of the winding | metres (m) |
| μ0 | permeability of free space, 4π × 10⁻⁷ | H/m |
| μr | relative permeability of a core (1 for air) | — (a ratio) |
Why N² rules: inductance as a conversation between turns
Think of inductance as the coil talking to itself. One turn carrying current makes a field; that field threads its neighbours and induces in them a voltage opposing the change — the coil's "inertia" against current change. With N turns the conversation has N speakers and N listeners: the field is N times stronger than one turn's alone (that is the first N, through B = μ0NI/l), and it is heard by N turns whose voltages add (that is the second N, through the linkage). Any design change that touches the turns count therefore lands twice. This is also why the practical limit on inductance is rarely the formula but the wire: N turns of real wire have resistance, and doubling N with the same wire gauge doubles the resistance while quadrupling L — a trade every inductor designer makes consciously.
The other two levers behave more politely. Area enters once — flux per turn is B × A — so doubling the coil's diameter quadruples A and L together (a rare bargain). Length enters inversely: stretch the same winding over twice the length and the turns density halves, the field per amp halves, and L halves. A long thin coil and a short fat coil with identical turns and area are genuinely different components, and the formula prices the difference exactly.
How to use
- Enter the number of turns and the coil's cross-sectional area in cm² (converted to m² for you) — for a round coil, A = π × (diameter/2)².
- Enter the length of the winding in metres, measured along the coil's axis from first turn to last.
- Click "Calculate" to get the inductance in henries, millihenries and microhenries.
- Treat the answer as the long-coil ideal: if your coil's length is less than about twice its diameter, expect the true value to come in somewhat lower (see the Nagaoka note below).
Worked examples
Example 1 — the reference coil. A solenoid has N = 500 turns, cross-section A = 10 cm² (= 0.001 m²) and length l = 0.2 m.
L = μ0N²A ÷ l = (4π × 10⁻⁷) × 500² × 0.001 ÷ 0.2 = (4π × 10⁻⁷) × 250,000 × 0.001 ÷ 0.2 = 1.571 × 10⁻³ H = 1.571 mH.
Winding the same wire into 1,000 turns instead would give about 6.28 mH — four times the inductance from twice the turns, exactly as the N² promises.
Example 2 — doubling the turns. The Example 1 coil rewound with N = 1,000: L = (4π × 10⁻⁷) × 1,000² × 0.001 ÷ 0.2 = 6.283 × 10⁻³ H = 6.283 mH. Note it is not "about" four times — it is exactly four times, because nothing else changed; the square law is exact within the ideal model.
Example 3 — a small choke. N = 200, A = 5 cm², l = 0.1 m: L = (4π × 10⁻⁷) × 200² × 0.0005 ÷ 0.1 = 2.513 × 10⁻⁴ H = 0.251 mH. Coils of this size serve as radio-frequency chokes, passing DC while blocking high-frequency signals.
Example 4 — a heftier winding. N = 2,000, A = 20 cm², l = 0.5 m: L = (4π × 10⁻⁷) × 2,000² × 0.002 ÷ 0.5 = 2.011 × 10⁻² H = 20.1 mH — the scale of a power-supply filter inductor, where tens of millihenries smooth the ripple from a rectifier.
Example 5 — a tiny RF coil. N = 50, A = 1 cm², l = 0.02 m: L = (4π × 10⁻⁷) × 50² × 0.0001 ÷ 0.02 = 1.571 × 10⁻⁵ H = 15.7 µH. Microhenries are the currency of radio tuning circuits, where this coil with a few hundred picofarads of capacitance would resonate in the medium-wave band.
Example 6 — adding an iron core. Slip a core of μr = 800 into the Example 1 coil and the inductance multiplies by 800: L = 800 × 1.571 mH = 1.257 H. Nothing about the winding changed — the core's magnetisation does the work of hundreds of extra turns. The catch, as ever, is saturation: drive the core past about 1.5 T and μr collapses, taking the henries with it.
Solenoid inductance in real life
Power-supply filters. The choke in a DC supply is a solenoid (usually cored) whose inductance resists the ripple current; the millihenries of Example 4 are chosen with this formula and its cored extension.
Radio tuning. A receiver's local oscillator and front-end coils are air-cored solenoids of microhenries; their L, set at winding time by N, A and l, fixes the tuning range against the variable capacitor.
Solenoid valves and actuators. The same coil that opens a valve is an inductor; its L sets how fast its current — and hence its pull — can build when switched, which the drive electronics must respect.
Ignition coils. A car's ignition coil primary is a low-inductance solenoid; the energy ½LI² it stores at a few amps is what becomes the spark, so L is chosen as carefully as the turns ratio.
Metal detectors. The search head is an air-cored coil whose inductance is monitored continuously; a nearby metal object changes the flux linkage — and hence the measured L — betraying its presence.
Maglev and MRI gradient coils. Precision solenoids shape fields in MRI scanners and magnetic bearings; their inductance determines how quickly the field can be slewed, a genuine clinical limit on scan speed.
Short coils and the Nagaoka coefficient
The ideal formula assumes the field inside is the infinite-solenoid field. A real coil's field bulges out at the ends, so some flux escapes linkage and the true inductance falls below μ0N²A/l. The correction is the Nagaoka coefficient K, a number between 0 and 1 set by the ratio of diameter to length: for a coil as long as it is wide (l = d), K ≈ 0.69; at l = 2d, K ≈ 0.82; at l = 5d, K ≈ 0.92; and for l = 10d, K ≈ 0.96. Multiply the ideal answer by K for a realistic estimate. The Example 1 coil (l = 0.2 m, A = 10 cm², so d ≈ 3.6 cm and l/d ≈ 5.6) sits comfortably in the few-percent regime — but a single-layer pancake of the same turns would need K near 0.7, and pretending otherwise is the classic beginner's discrepancy between the calculated and measured inductance.
Winding practice: what the ideal formula leaves out
Between the formula and a coil that works lie the winding details. A single-layer solenoid — turns side by side like the diagram — comes closest to the ideal and has the lowest self-capacitance, which is why RF coils are wound that way; a multilayer "pile" winding packs far more turns into the length (raising L handsomely) but the capacitance between layers lowers the coil's self-resonant frequency, above which it stops behaving as an inductor at all. Wire choice matters too: at radio frequencies the current crowds into the wire's surface (the skin effect), so RF coils use thick or stranded litz wire to keep resistance down even though the inductance formula is indifferent to the wire entirely. A quick design check ties it together: a coil of N = 300, A = 8 cm², l = 0.15 m gives L = μ0N²A/l = 0.603 mH by this calculator — wind it single-layer with the turns touching, measure it at a frequency well below self-resonance, and expect agreement within a few percent; wind it as a short fat pile and the Nagaoka correction, not the meter, explains the shortfall.
Combining inductors
Finished coils combine by rules borrowed from resistors, with one magnetic complication. Two solenoids in series, far enough apart that their fields do not link, simply add: two of the Example 5 coils (15.7 µH each) give 31.4 µH. In parallel they halve like equal resistors: 7.85 µH. The complication arrives when the coils are close enough to couple — then the series total becomes L1 + L2 ± 2M, the sign set by whether the connection makes their fluxes aid or oppose, which is exactly the measurement trick the mutual-inductance page uses to find M. Designers exploit all three behaviours: series pairs for a quick doubling without a rewind, parallel pairs to share current while keeping inductance, and deliberate coupling when the "inductor" is really one half of a transformer in disguise.
Quick reference: inductance versus turns (A = 10 cm², l = 0.2 m)
| Turns N | Inductance L | Step from previous |
|---|---|---|
| 100 | 62.8 µH | — |
| 250 | 0.393 mH | × 6.25 (2.5²) |
| 500 | 1.571 mH | × 4 (2²) |
| 750 | 3.534 mH | × 2.25 (1.5²) |
| 1,000 | 6.283 mH | × 1.78 (1.33²) |
Every row obeys the square law exactly: multiply the turns by any factor and L multiplies by its square. When a design needs "a bit more inductance", a modest turns increase is almost always the cheapest route — wire is cheaper than core.
Common mistakes
- Entering the area in m² where the calculator expects cm². This calculator takes cm² and converts. Typing 0.001 (the m² value) into a cm² box shrinks L ten-thousandfold. Check the label before the number.
- Measuring the length as the wire's length. l is the axial length of the winding — first turn to last — not the metres of wire in the coil, which are hundreds of times greater.
- Trusting the ideal formula for a pancake coil. Short, fat coils leak flux at the ends; without the Nagaoka correction the prediction can overshoot by 30% or more.
- Ignoring the core's saturation. The μr multiplier is real only below saturation. A cored inductor measured at high current can show a fraction of its small-signal inductance.
- Forgetting resistance grows with turns. More turns with thinner wire raise L as N² but resistance roughly as N² too in a fixed winding volume — the quality factor may not improve even as L soars.
FAQ
What changes if I add an iron core?
The core's relative permeability μr multiplies the inductance: L = μrμ0N²A/l. With μr of several hundred for iron, the same coil can jump from millihenries to several henries — until the core saturates.
Does the formula work for short, fat coils?
Only approximately. It assumes the field inside is uniform, which holds when the length is much greater than the diameter. Short coils leak more flux at the ends, so their true inductance is somewhat lower.
Why doesn't the current appear in the formula?
For an air core, inductance is purely a property of the coil's geometry — the flux linkage per amp is the same at any current. (Iron cores break this rule once they begin to saturate.)
How much energy does the Example 1 coil store?
U = ½LI²: at 2 A, ½ × 1.571 × 10⁻³ × 4 = 3.14 × 10⁻³ J. Small in joules, but released in microseconds at switch-off it is quite enough to strike a visible spark — energy is modest, power is not.
What field does the Example 1 coil make at 2 A?
B = μ0NI/l = 4π × 10⁻⁷ × 500 × 2 ÷ 0.2 = 6.28 mT inside the winding — about 125 times the Earth's field, from a coil you could hold in one hand.
Does the wire's thickness matter?
Not to the ideal formula — only the turns count, area and length appear. In practice thick wire limits how many turns fit in a given length, and thin wire adds resistance; the formula prices the geometry you actually achieve.
Why do measured inductances differ from the calculation?
Usually the Nagaoka effect (end leakage), plus the winding's own capacitance at the measurement frequency, plus — for cored coils — the core's μr varying with frequency and level. A few percent is normal; a factor of ten means a units slip.
Can inductance be negative or zero?
No — L is built from squares and positive geometry, so it is always positive for a passive coil. (Circuits can simulate negative inductance with active components, but no winding does it.)
What is the difference between this and a toroid?
A toroid is a solenoid bent into a closed ring: its flux stays in the core and the formula becomes L = μ0N²A/(2πR) with R the ring's mean radius — the same N² and A, with the circumference playing the role of l.
How do I get more inductance without more turns?
Enlarge the area (L follows A, and A follows diameter²), shorten the winding, or add a core for the μr multiplier. Of these, the core is the biggest lever and the only one that can saturate.