If you are winding a coil for an RF filter, a custom relay, or a buck converter, you need to know exactly how many turns of wire to lay down. The inductance of a solenoid equation gives you that answer. For an ideal, long solenoid, the inductance L in Henries is calculated as L = (μ₀ × μᵣ × N² × A) / l.
This formula is the workhorse of passive component design, but it is unforgiving of unit errors. A single missed decimal place when converting square centimeters to square meters will throw your result off by a factor of 10,000. Below, we break down the formula, track the units through two real-world bench problems, and provide a decision path to help you choose between winding your own coil or buying an off-the-shelf part.
The Inductance of a Solenoid Equation: Core Formula & Symbols
The foundational equation for the inductance of a tightly wound, cylindrical solenoid is:
L = (μ₀ × μᵣ × N² × A) / l
Every variable in this equation must be expressed in standard SI units before you start crunching numbers. Here is the exact spec sheet for each symbol:
| Symbol | Parameter | Standard SI Unit | Typical Bench Value |
|---|---|---|---|
| L | Inductance | Henries (H) | 10 μH to 50 mH |
| μ₀ | Permeability of free space | H/m | 4π × 10⁻⁷ (≈ 1.2566 × 10⁻⁶) |
| μᵣ | Relative permeability of core | Dimensionless | 1 (air), 2000 (ferrite) |
| N | Number of turns | Dimensionless (count) | 10 to 500 turns |
| A | Cross-sectional area of coil | Square meters (m²) | 1 × 10⁻⁵ to 5 × 10⁻⁴ m² |
| l | Length of the wound coil | Meters (m) | 0.01 m to 0.15 m |
Rearranged Forms & Unit Trap Avoidance
On the bench, you rarely solve for L directly. Usually, you have a target inductance and a specific core, and you need to find the required number of turns or coil length. Here are the algebraically rearranged forms of the inductance of a solenoid equation:
- Solve for Turns (N): N = √[ (L × l) / (μ₀ × μᵣ × A) ]
- Solve for Area (A): A = (L × l) / (μ₀ × μᵣ × N²)
- Solve for Length (l): l = (μ₀ × μᵣ × N² × A) / L
- Solve for Core Permeability (μᵣ): μᵣ = (L × l) / (μ₀ × N² × A)
The Unit Mistakes That Break Your Math
1. The Area Trap: Cross-sectional area is almost always measured in square centimeters (cm²) or square millimeters (mm²) on a datasheet. Do not just divide by 100. Because area is a squared dimension, 1 cm² = 1 × 10⁻⁴ m², and 1 mm² = 1 × 10⁻⁶ m². Forgetting this squared conversion is the #1 reason hobbyists calculate an inductance that is off by exactly 10,000x.
2. The μ₀ Trap: The permeability of free space (μ₀) is exactly 4π × 10⁻⁷ H/m. If your calculator doesn't have a dedicated μ₀ button, type 4 * π * 10^-7. Dropping the negative exponent will yield an inductance 10 million times too large.
Worked Examples: From Air Cores to Ferrite Rods
Let's run through two practical scenarios with strict unit tracking to prove the math.
Problem 1: Winding an Air-Core RF Choke
Scenario: You are winding an air-core solenoid on a 10 mm diameter nylon spacer for a 5 MHz antenna matching network. You wrap 50 turns of wire tightly across a 5 cm length.
Given:
- N = 50 turns
- l = 5 cm = 0.05 m
- Diameter = 10 mm → Radius (r) = 5 mm = 0.005 m
- μᵣ = 1 (air/nylon core)
Step 1: Calculate Area (A) in m²
A = π × r² = 3.14159 × (0.005 m)² = 3.14159 × 0.000025 = 7.854 × 10⁻⁵ m²
Step 2: Plug into the formula
L = (1.2566 × 10⁻⁶ H/m × 1 × 50² × 7.854 × 10⁻⁵ m²) / 0.05 m
L = (1.2566 × 10⁻⁶ × 2500 × 7.854 × 10⁻⁵) / 0.05
L = (2.467 × 10⁻⁷) / 0.05
L = 4.93 × 10⁻⁶ H (or 4.93 μH)
Problem 2: Finding Turns for a Ferrite Rod Inductor
Scenario: You need a 5 mH inductor for a low-frequency audio crossover. You have a manganese-zinc ferrite rod with a 1 cm² cross-section and a 5 cm winding length.
Given:
- Target L = 5 mH = 5 × 10⁻³ H
- μᵣ = 2000 (standard MnZn ferrite)
- A = 1 cm² = 1 × 10⁻⁴ m²
- l = 5 cm = 0.05 m
Step 1: Use the rearranged formula for N
N = √[ (L × l) / (μ₀ × μᵣ × A) ]
Step 2: Calculate the numerator and denominator
Numerator: (5 × 10⁻³ H) × (0.05 m) = 2.5 × 10⁻⁴
Denominator: (1.2566 × 10⁻⁶ H/m) × 2000 × (1 × 10⁻⁴ m²) = 2.5132 × 10⁻⁷
Step 3: Divide and take the square root
N² = (2.5 × 10⁻⁴) / (2.5132 × 10⁻⁷) = 994.74
N = √994.74 = 31.54 turns
Bench Verdict: Wind 32 turns of 26 AWG enameled copper wire. Verify with an LCR meter; ferrite permeability tolerances are typically ±20%, so your actual measured value might sit between 4.2 mH and 5.8 mH.
When the Formula Applies (and When It Fails)
The standard inductance of a solenoid equation assumes an ideal, infinitely long solenoid. In reality, magnetic field lines bow outward at the ends of the coil (edge effects), reducing the actual inductance. According to Georgia State University's HyperPhysics, the formula is highly accurate only when the coil length is significantly greater than its radius.
The 10:1 Rule and Nagaoka's Correction
If your coil length (l) is at least 10 times the radius (r), the standard equation is accurate within about 5%. If you are winding a short, fat coil (where l is close to r), the standard formula will overestimate your inductance. To fix this, RF engineers multiply the result by Nagaoka's correction factor (K), which is derived from elliptic integrals based on the coil's length-to-diameter ratio. For hobbyist audio and power filtering, the standard formula is usually sufficient, but for precision VHF/UHF tank circuits, you must apply Nagaoka's coefficient or use a dedicated field solver.
Realistic Answer Magnitudes
Knowing what a realistic answer looks like saves you from chasing ghost errors. As detailed in All About Circuits' textbook chapter on inductors, physical size limits inductance:
- Air-core coils: Almost always in the microhenry (μH) range. If you calculate 2 Henries for an air core, you missed a decimal.
- Ferrite-core coils: Typically in the millihenry (mH) range.
- Laminated iron cores: Can reach the Henry (H) range, but these are heavy power transformers, not bench solenoids.
Decision Path: Designing or Buying Your Solenoid
Winding your own inductor is a great learning exercise, but it introduces parasitic capacitance, winding resistance (DCR), and core saturation risks. Use this decision tree to determine whether to wind it yourself or buy a manufactured part.
| Application Requirement | Core Material | Action / Concrete Pick |
|---|---|---|
| High Frequency (>10 MHz), Low Inductance (<1 μH) | Air / Nylon | DIY Wind: Use 22 AWG bare or enameled copper wire wound on a 1/4" nylon spacer. Space the turns to minimize parasitic capacitance. |
| RF Choke (1 MHz - 10 MHz), 10 μH - 100 μH | Powdered Iron Toroid (e.g., Micrometals -2 mix) | DIY Wind: Toroids confine the flux better than straight solenoids. Use a T50-2 core and wind 30-40 turns of 24 AWG magnet wire. |
| Audio / Low Freq Filter (<100 kHz), 1 mH - 10 mH | Ferrite Rod (μᵣ ~2000) | DIY Wind: Use the worked example above. Wind 26 AWG wire tightly on a 5mm x 50mm ferrite rod. Secure with Kapton tape. |
| Power Supply Filtering (DC-DC), >10 mH, High Current | Shielded Ferrite Drum | BUY OFF-THE-SHELF: Hand-winding high-current, high-inductance coils requires thick wire and complex gap calculations to prevent saturation. Concrete Pick: Buy the Bourns 78F103K-RC. It is a 10 mH radial leaded RF choke, rated for 165 mA DC, with a self-resonant frequency well-documented on the datasheet. It costs roughly $0.80 per unit in single quantities and eliminates winding guesswork entirely. |
The Final Verdict: If your target inductance is under 100 μH and you are operating above 1 MHz, wind an air-core or powdered-iron solenoid yourself using the formula above. If you need >10 mH for power filtering or audio crossovers, stop doing math and buy a shielded, factory-tested inductor like the Bourns 78F series. The $0.80 component cost is vastly cheaper than the hours spent debugging core saturation and parasitic winding capacitance on a DIY build.






