The direct answer: the inductance of a solenoid formula is L = (μ₀ · μᵣ · N² · A) / l. This equation defines how much magnetic flux a coil stores per ampere of current. For a typical hobbyist air-core coil, expect magnitudes in the microhenry (μH) range, while iron-core relays and chokes push into the millihenry (mH) or henry (H) territory. Below is the complete breakdown, real-world data, and step-by-step derivations you need to design or analyze inductors on the bench.
The Core Formula and Symbol Definitions
Before winding magnet wire on a former, you need to know exactly what each variable represents and, more importantly, what SI units the formula demands. The standard formula assumes a long, tightly wound cylindrical coil.
L = (μ₀ · μᵣ · N² · A) / l
| Symbol | Parameter | Strict SI Unit | Common Trap Units |
|---|---|---|---|
| L | Inductance | Henries (H) | mH, μH (must convert to H for calc) |
| μ₀ | Permeability of free space | 4π × 10⁻⁷ H/m (≈ 1.2566 × 10⁻⁶) | None (constant) |
| μᵣ | Relative permeability of core | Dimensionless (ratio) | Often confused with absolute μ |
| N | Number of turns | Dimensionless (count) | Turns per meter (n) - different formula |
| A | Cross-sectional area | Square meters (m²) | cm² or mm² (requires 10⁻⁴ or 10⁻⁶) |
| l | Length of the coil | Meters (m) | cm or mm (requires 10⁻² or 10⁻³) |
Real-World Solenoid Parameters and Magnitudes
Abstract formulas are useless if you don't know what a 'normal' answer looks like. A realistic inductance for a small DIY air-core RF choke is 0.1 μH to 5 μH. A 12V automotive relay coil sits around 10 mH to 100 mH. Below is a data-dense look at real-world solenoid configurations to calibrate your expectations.
| Application | Core Material (μᵣ) | Turns (N) | Area (m²) | Length (m) | Calculated L |
|---|---|---|---|---|---|
| 12V Automotive Relay | Laminated Iron (~1000 eff.) | 500 | 1.0 × 10⁻⁴ | 0.020 | 1.57 mH |
| DIY Buck Converter Choke | Powdered Iron (120) | 30 | 1.5 × 10⁻⁴ | 0.015 | 1.35 μH |
| Induction Heater Work Coil | Air / Copper Tube (1) | 5 | 0.010 | 0.050 | 6.28 μH |
| MRI Z-Gradient Coil | Air (1) | 200 | 0.500 | 2.000 | 12.56 mH |
Notice how the powdered iron core in the buck converter allows for a tiny physical footprint while maintaining usable inductance at high switching frequencies, whereas the massive MRI coil relies purely on sheer physical scale and turn count to achieve its millihenry range without a ferromagnetic core. For deeper reading on magnetic field behaviors in these geometries, Georgia State University's HyperPhysics provides excellent interactive models.
Rearranged Forms for Coil Design
On the workbench, you rarely solve for L directly. Usually, you have a target inductance, a specific core material, and a bobbin size, and you need to find out how many turns to wind. Here are the algebraic rearrangements of the inductance of a solenoid formula:
- Solve for Turns (N): N = √[ (L · l) / (μ₀ · μᵣ · A) ]
- Solve for Area (A): A = (μ₀ · μᵣ · N² · l) / L
- Solve for Length (l): l = (μ₀ · μᵣ · N² · A) / L
- Solve for Core Permeability (μᵣ): μᵣ = (L · l) / (μ₀ · N² · A)
When designing custom magnetics, solving for N is the most common operation. Keep in mind that N must be an integer, so you will always need to round up and verify the final inductance with an LCR meter.
Worked Examples with Strict Unit Tracking
The most common reason DIY inductor builds fail to meet their target specs is unit conversion errors. The formula strictly demands meters and square meters. Here are two bench-realistic problems with every intermediate step tracked.
Problem 1: Calculating Inductance of an Air-Core RF Coil
Given: You wind 250 turns of 24 AWG magnet wire on a plastic PVC pipe former. The coil has an outer diameter of 2 cm, a length of 10 cm, and an air core (μᵣ = 1). Find L.
- Convert dimensions to SI:
Radius (r) = 1 cm = 0.01 m
Length (l) = 10 cm = 0.1 m - Calculate Cross-Sectional Area (A):
A = π · r² = 3.14159 · (0.01)² = 3.14159 × 10⁻⁴ m² - Plug into the formula:
L = (1.2566 × 10⁻⁶ · 1 · 250² · 3.14159 × 10⁻⁴) / 0.1 - Calculate numerator:
1.2566 × 10⁻⁶ · 62,500 · 3.14159 × 10⁻⁴ = 2.467 × 10⁻⁵ - Divide by length:
L = 2.467 × 10⁻⁵ / 0.1 = 2.467 × 10⁻⁴ H - Convert to readable units:
L = 0.247 mH, or 247 μH.
Problem 2: Designing a Ferrite Choke for a Target Inductance
Given: You need a 5 mH inductor for an audio crossover. You have a ferrite rod with μᵣ = 500, a cross-sectional area of 2 cm², and a winding length of 5 cm. How many turns (N) do you need?
- Convert target and dimensions to SI:
L = 5 mH = 5 × 10⁻³ H
A = 2 cm² = 2 × 10⁻⁴ m² (Critical step: cm² to m² is × 10⁻⁴, not 10⁻²)
l = 5 cm = 0.05 m - Use the rearranged formula for N:
N = √[ (L · l) / (μ₀ · μᵣ · A) ] - Calculate numerator:
L · l = (5 × 10⁻³) · 0.05 = 2.5 × 10⁻⁴ - Calculate denominator:
μ₀ · μᵣ · A = (1.2566 × 10⁻⁶) · 500 · (2 × 10⁻⁴) = 1.2566 × 10⁻⁷ - Divide and take the square root:
N = √[ 2.5 × 10⁻⁴ / 1.2566 × 10⁻⁷ ] = √[ 1989.4 ] ≈ 44.6 - Final Answer: Wind 45 turns to hit slightly above 5 mH, then trim if necessary.
For more practical inductor design theory and core saturation limits, All About Circuits offers a robust breakdown of physical core limitations that pure math ignores.
Assumptions, Unit Traps, and Edge Cases
The inductance of a solenoid formula is an idealization. If you are building precision filters or high-frequency RF tanks, you must understand where the math breaks down.
When the Formula Applies (and When It Doesn't)
This formula assumes an ideal, infinitely long solenoid. In practice, it is highly accurate when the length of the coil is at least 10 times its diameter (l ≫ √A). Under this condition, the magnetic field inside is uniform, and fringing flux at the ends is negligible.
If you are winding a short, fat coil (like a single-layer air core for an AM radio antenna), the formula will overestimate the inuctance by 10% to 30%. For short coils, you must multiply the result by the Nagaoka coefficient (K), a dimensionless correction factor based on the coil's length-to-diameter ratio.
The Three Unit Mistakes That Break Your Build
- The Area Trap: Converting cm² to m². A 1 cm × 1 cm square is 0.01 m × 0.01 m, which is 0.0001 m² (10⁻⁴). Forgetting the square on the conversion factor will make your calculated inductance 10,000 times larger than reality.
- The Permeability Double-Dip: μ₀ already includes the base magnetic constant. μᵣ is just a multiplier (e.g., 2000 for silicon steel). Do not multiply by μ₀ twice, and do not treat μᵣ as having units.
- The Length vs. Turn Density Confusion: This formula uses total length (l) and total turns (N). If your datasheet gives turn density (n = turns per meter), the formula changes to L = μ₀ · μᵣ · n² · A · l. Mixing up N and n is a classic textbook error.
High-Frequency Edge Cases
At frequencies above 100 kHz, the physical wire starts to fight the math. Skin effect pushes current to the outer edge of the magnet wire, increasing AC resistance. More critically, the tiny gaps between adjacent windings act as tiny capacitors. This parasitic capacitance creates a self-resonant frequency (SRF). Above the SRF, your solenoid stops acting like an inductor and starts acting like a capacitor. Always check your coil's SRF with an impedance analyzer if operating in the VHF range or higher.






