The inductance of an ideal solenoid is calculated using the formula L = (μ × N² × A) / l. In this equation, L is the inductance in Henries (H), μ is the absolute permeability of the core material, N is the total number of wire turns, A is the cross-sectional area in square meters (m²), and l is the coil length in meters (m). This formula assumes a long, tightly wound coil where the length is significantly greater than the diameter.
The Core Formula and Symbol Definitions
Before winding a custom RF choke or power inductor, you need to understand the physical boundaries of the math. The ideal solenoid formula derives from Ampere's Law and Faraday's Law of Induction, assuming a uniform magnetic field entirely contained within the coil. According to Georgia State University HyperPhysics, this uniformity only holds true when the coil's length is at least 5 to 10 times its diameter.
| Symbol | Parameter | Standard SI Unit | Practical Notes |
|---|---|---|---|
| L | Inductance | Henries (H) | Realistic hobbyist magnitudes range from 0.1 μH (RF) to 10 mH (power filtering). |
| μ | Absolute Permeability | Henries per meter (H/m) | Calculated as μ₀ × μᵣ. μ₀ is 4π × 10⁻⁷ H/m. μᵣ is the relative permeability of the core. |
| N | Number of Turns | Dimensionless (count) | Must be a whole integer. Inductance scales with the square of this value. |
| A | Cross-Sectional Area | Square meters (m²) | Calculated as π × r². Use the core's effective area (Ae) if using a manufactured toroid or bobbin. |
| l | Coil Length | Meters (m) | The physical length of the winding window, not the total wire length. |
Assumptions and Realistic Magnitudes
The standard formula applies strictly to ideal solenoids. In real-world bench work, if your coil is short and fat (length is close to diameter), the magnetic field bulges out the ends (fringing flux). To correct this, RF engineers apply the Nagaoka coefficient (K), a multiplier less than 1.0 that scales the result down based on the diameter-to-length ratio. For a coil where length equals diameter, K is roughly 0.69, meaning the ideal formula overestimates your inductance by 30%.
As for magnitudes: a 50-turn air-core coil wound on a standard pencil yields roughly 5 μH to 15 μH. A 500-turn coil wound on a high-permeability ferrite rod (μᵣ = 2000) can easily hit 5 mH to 20 mH. If your math spits out 50 Henries for a handheld coil, you have a unit conversion error.
Rearranged Forms for Coil Design
When designing custom magnetics for a buck converter or an LC oscillator, you rarely solve for L directly. You usually have a target inductance and a specific core, and you need to find the required turns or dimensions. Here are the algebraic rearrangements of the base formula:
- Solving for Turns (N): N = √( (L × l) / (μ × A) )
- Solving for Area (A): A = (L × l) / (μ × N²)
- Solving for Length (l): l = (μ × N² × A) / L
- Solving for Permeability (μ): μ = (L × l) / (N² × A)
Bench Tip: When solving for N, the math will rarely yield a perfect integer. Always round up to the next whole turn, then recalculate your final L to ensure you meet the minimum inductance threshold for your circuit's switching frequency.
Worked Examples with Unit Tracking
Let's run through two distinct scenarios, tracking the SI units at every step to prevent the exponent errors that plague most magnetics design.
Problem 1: Air-Core RF Choke
Scenario: You are winding an air-core solenoid for a 10 MHz FM transmitter filter. You use 50 turns of enameled copper wire. The coil has a diameter of 10 mm and a winding length of 40 mm.
Given:
- N = 50 turns
- Diameter = 10 mm → Radius (r) = 5 mm = 0.005 m
- l = 40 mm = 0.04 m
- μ = μ₀ = 4π × 10⁻⁷ H/m (approx. 1.2566 × 10⁻⁶ H/m)
Step 1: Calculate Cross-Sectional Area (A)
A = π × r²
A = 3.14159 × (0.005 m)²
A = 3.14159 × 0.000025 m² = 7.854 × 10⁻⁵ m²
Step 2: Apply the Inductance Formula
L = (μ × N² × A) / l
L = (1.2566 × 10⁻⁶ H/m × 50² × 7.854 × 10⁻⁵ m²) / 0.04 m
L = (1.2566 × 10⁻⁶ × 2500 × 7.854 × 10⁻⁵) / 0.04
L = (0.0031415 × 7.854 × 10⁻⁵) / 0.04
L = 2.467 × 10⁻⁷ / 0.04
L = 6.168 × 10⁻⁶ H
Final Answer: 6.17 μH. This is a highly realistic magnitude for a VHF-band air-core choke.
Problem 2: Ferrite-Core Power Inductor
Scenario: You are designing a custom inductor for a 100 kHz buck converter using a ferrite rod. The rod has a cross-sectional area of 2 cm² and a usable winding length of 5 cm. You wind 200 turns of 22 AWG magnet wire. The ferrite material has a relative permeability (μᵣ) of 2,000.
Given:
- N = 200 turns
- A = 2 cm² = 2 × 10⁻⁴ m² (Critical: cm² to m² requires a 10⁻⁴ multiplier, not 10⁻²)
- l = 5 cm = 0.05 m
- μᵣ = 2000
Step 1: Calculate Absolute Permeability (μ)
μ = μ₀ × μᵣ
μ = (4π × 10⁻⁷ H/m) × 2000
μ = 8π × 10⁻⁴ H/m ≈ 2.513 × 10⁻³ H/m
Step 2: Apply the Inductance Formula
L = (μ × N² × A) / l
L = (2.513 × 10⁻³ H/m × 200² × 2 × 10⁻⁴ m²) / 0.05 m
L = (2.513 × 10⁻³ × 40,000 × 2 × 10⁻⁴) / 0.05
L = (100.52 × 2 × 10⁻⁴) / 0.05
L = 0.020104 / 0.05
L = 0.402 H
Final Answer: 402 mH. Engineering Caveat: While the math yields 402 mH, pushing high DC current through this ferrite rod will drive the core into magnetic saturation. As detailed in Coilcraft's magnetics design guides, once the core saturates, the effective μᵣ plummets toward 1, and your inductance crashes. For high-current power supplies, use gapped ferrite or powdered iron cores with distributed air gaps to maintain stable inductance under load.
Common Unit Mistakes That Break the Math
When troubleshooting forum posts about custom coil builds, 90% of the "my math doesn't match my LCR meter" complaints stem from three specific unit failures:
- The Centimeter-Squared Trap: Converting cm to m requires dividing by 100. But converting cm² to m² requires dividing by 10,000 (multiplying by 10⁻⁴). If you use 10⁻² for area, your calculated inductance will be exactly 100 times too large.
- Diameter vs. Radius: The formula requires Area (A = π × r²). If you plug the diameter directly into the radius slot without halving it first, your area calculation will be 4 times too large, quadrupling your theoretical inductance.
- Forgetting μ₀ on Magnetic Cores: Relative permeability (μᵣ) is just a multiplier. If a datasheet says a ferrite has a permeability of 1,500, that is μᵣ. You must still multiply it by 4π × 10⁻⁷ to get the absolute permeability (μ) required for the formula. Forgetting μ₀ results in an answer that is off by a factor of roughly 800,000.
Frequently Asked Questions
How does the inductance of a solenoid change if I double the number of turns?
Because the turn count (N) is squared in the formula, doubling the number of turns quadruples the inductance (2² = 4). However, in physical reality, doubling the turns either requires using thinner wire (increasing DCR and reducing current capacity) or doubling the coil length. If you double the turns and double the length to accommodate them, the N² factor (4x) is divided by the length factor (2x), resulting in exactly double the inductance. Always track your physical constraints alongside the pure math.
Why does my measured inductance differ from the calculated formula?
The ideal formula assumes a perfectly uniform magnetic field and zero flux leakage. In reality, three factors cause discrepancies. First, fringing flux at the ends of the coil reduces effective inductance in short coils. Second, parasitic capacitance between adjacent wire turns creates a self-resonant frequency; if your LCR meter tests at 100 kHz and your coil resonates at 150 kHz, the meter will read an artificially high inductance. Third, pitch spacing matters; if the turns are spaced far apart rather than tightly packed, the mutual inductance between turns drops. All About Circuits provides excellent primers on how these non-ideal parasitics alter real-world measurements.
Can I use this inductance of solenoid formula for a flat spiral coil?
No. The solenoid formula assumes a cylindrical geometry where the magnetic field lines run parallel to the central axis. A flat spiral coil (like a PCB trace inductor or a pancake coil) has a completely different magnetic flux path. To calculate the inductance of a flat spiral coil, you must use Wheeler's empirical formula or the modified Nagaoka equations specifically derived for planar geometries, which factor in the inner radius, outer radius, and trace spacing rather than a simple cylinder length and cross-section.






