Works on this device
Inductance Solenoid Calculator
A solenoid is a coil of wire wound as a cylinder. Enter the number of turns, the diameter and the length to get its inductance, or enter an inductance to get the turns. The tool also works out the pull force of a solenoid on an iron plunger, and the current and power of its coil.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Inductance of a solenoid.
- Under Find, choose the inductance or the number of turns.
- Enter the turns, the diameter of the coil and its length. Pick the unit of each length: mm, cm, inches or metres.
- Leave the permeability empty for a coil with air inside.
- Choose Calculate. The result shows the inductance by the long-solenoid formula and the value with the end correction. For a real coil, use the corrected value.
- For the force of a pull solenoid choose Pull force of a solenoid on a plunger. For the coil current choose Current and power of a solenoid coil.
The solenoid equations
- Inductance of a long solenoid: L = μ0 × μr × N² × A ÷ l. A is the cross-section, π × d² ÷ 4.
- With the end correction: L = K × μ0 × μr × N² × A ÷ l. K is Nagaoka's coefficient, which depends on the length and the diameter.
- Magnetic field inside a long solenoid: B = μ0 × μr × N × I ÷ l.
- Energy stored: E = ½ × L × I².
- Pull force across an air gap: F = μ0 × (N × I)² × A ÷ (2 × g²). A is the area of the plunger face and g is the gap.
- Coil current and power: I = V ÷ R and P = V × I.
- N is the number of turns, l the length, I the current, μ0 the magnetic constant (1.2566 × 10⁻⁶ H/m) and μr the relative permeability of the core (1 for air). Lengths are in metres, and the answer is in henries, teslas or newtons.
Worked examples
Inductance. 100 turns on a diameter of 20 mm, wound 100 mm long, with air inside. A = π × 0.02² ÷ 4 = 0.000314 m². The long-solenoid formula gives L = 1.2566 × 10⁻⁶ × 100² × 0.000314 ÷ 0.1 = 39.48 µH. The coil is 5 times as long as it is wide, and Nagaoka's coefficient is 0.9201, so the corrected value is 36.32 µH.
Pull force. 500 turns carry 1 A and pull a plunger of 10 mm diameter across a gap of 2 mm. The face of the plunger is 78.54 mm². F = 1.2566 × 10⁻⁶ × (500 × 1)² × 0.00007854 ÷ (2 × 0.002²) = 3.08 N. The flux density in the gap is 0.314 T. With half the gap the formula gives four times the force, 12.3 N.
Coil. A 12 V solenoid with a coil of 24 Ω takes 12 ÷ 24 = 0.5 A and turns 6 W into heat.
Nagaoka's coefficient for short coils
The long-solenoid formula takes the field as even along the whole coil. In a real coil the field is weaker near the ends, so the inductance is lower. The table shows how much. The tool works the coefficient out for the exact shape of your coil.
| Length ÷ diameter | K | Long-solenoid formula is too high by |
|---|---|---|
| 10 | 0.959 | 4.3% |
| 5 | 0.920 | 8.7% |
| 2 | 0.818 | 22% |
| 1 | 0.688 | 45% |
| 0.5 | 0.526 | 90% |
Limits you should know
- The winding is taken as one thin, even layer. Thick wire, spaced turns and several layers change the result by a few per cent or more. For multi-layer coils, toroids and cores with an AL value use the Inductor & Coil Calculator.
- With a core, the tool multiplies the air value by the permeability you type. This is right only for a core that closes its magnetic path. No core data is built in.
- The force formula is for an ideal pull across a small air gap, with perfect iron. Near a closed gap the iron saturates and the real force is far lower. Friction and the return spring are not counted.
- The coil option is for DC. On AC the inductance also limits the current.
- This is arithmetic for learning and for low-voltage work. It is not professional advice. A bought solenoid has a measured force curve in its data sheet; use that for a design.