Works on this device
Inductor & Coil Calculator
An inductor is a coil of wire that stores energy in a magnetic field. This tool finds the inductance of a coil from its shape and its number of turns, or the turns for an inductance you want. It also adds inductors, works out their energy and Q, sizes the inductor of a DC to DC converter and reads the codes printed on inductors.
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 the button below them.
Your result
How it was worked out
How to use this calculator
- Choose what you want to calculate. For a coil with no core choose Single-layer air coil. For a ring core choose Toroid. For a core with a data sheet choose Core with an AL value.
- Under Find, choose the inductance or the number of turns.
- Enter the sizes of the coil and pick the unit of each: mm, cm, inches or metres.
- Fields for core data start empty, because every core is different. Type the values from the data sheet, or choose Try an example to see how the tool works.
- Choose Calculate. The result shows the inductance, the working and notes on how exact the formula is.
The formulas
- Single-layer air coil (Wheeler): L in µH = r² × N² ÷ (9 × r + 10 × l), with the radius r and the length l in inches. Correct to about 1% when the coil is longer than 0.4 of its diameter.
- Multi-layer air coil (Wheeler): L in µH = 0.8 × a² × N² ÷ (6 × a + 9 × b + 10 × c), in inches: mean radius a, length b, depth c.
- Flat spiral of wire (Wheeler): L in µH = a² × N² ÷ (8 × a + 11 × c), in inches: mean radius a, width of the winding c.
- Toroid with a rectangular section: L = μ0 × μr × N² × h × ln(OD ÷ ID) ÷ (2π).
- Core with an AL value: L = AL × N². So N = √(L ÷ AL).
- Core with an air gap: L = μ0 × N² × Ae ÷ (le ÷ μr + gap).
- In series: total = L1 + L2 + … In parallel: 1 ÷ total = 1 ÷ L1 + 1 ÷ L2 + …
- Energy: E = ½ × L × I². Voltage: V = L × ΔI ÷ Δt. Q factor: Q = 2π × f × L ÷ R.
- Buck converter: L = (Vin − Vout) × D ÷ (f × ΔI) with D = Vout ÷ Vin. Boost converter: L = Vin × D ÷ (f × ΔI) with D = 1 − Vin ÷ Vout.
- N is the number of turns, μ0 is the magnetic constant (1.2566 × 10⁻⁶ H/m) and μr is the relative permeability of the core.
Worked examples
Air coil. 25 turns on a diameter of 20 mm, wound 30 mm long. In inches r = 0.3937 and l = 1.1811, so L = 0.3937² × 25² ÷ (9 × 0.3937 + 10 × 1.1811) = 6.31 µH. The current sheet formula with Nagaoka's coefficient gives 6.33 µH, a difference of 0.36%. The coil uses 1,571 mm of wire.
Toroid. 50 turns on a ring with an outer diameter of 23 mm, an inner diameter of 14 mm, a height of 7 mm and a permeability of 125: one turn gives 86.88 nH, and 50 turns give 86.88 × 50² = 217.2 µH.
AL value. A core with AL = 250 nH/N² and 20 turns: L = 250 × 20² = 100,000 nH = 100 µH.
Buck converter. 12 V to 5 V at 2 A, switching at 500 kHz, with a ripple of 30%: D = 5 ÷ 12 = 0.4167, the ripple is 0.6 A, and L = 7 × 0.4167 ÷ (500,000 × 0.6) = 9.72 µH. The peak current is 2.3 A.
Colour bands. Red, violet, black, silver: the digits are 2 and 7, the multiplier is × 1 and the tolerance is ±10%. The inductor is 27 µH, between 24.3 µH and 29.7 µH.
The colour code of inductors
Axial inductors often carry colour bands, as resistors do. The value is in microhenries. The first two bands are digits, the third is the multiplier and the fourth is the tolerance. Military parts have a wide silver band in front, and they use a gold band as the decimal point for values below 10 µH.
| Colour | Digit | Multiplier | Tolerance |
|---|---|---|---|
| Black | 0 | × 1 | ±20% |
| Brown | 1 | × 10 | ±1% |
| Red | 2 | × 100 | ±2% |
| Orange | 3 | × 1,000 | ±3% |
| Yellow | 4 | × 10,000 | ±4% |
| Green | 5 | ||
| Blue | 6 | ||
| Violet | 7 | ||
| Grey | 8 | ||
| White | 9 | ||
| Gold | × 0.1 | ±5% | |
| Silver | × 0.01 | ±10% |
Limits you should know
- The coil formulas are approximations with a stated range. The result notes say how close each one is. Wind the coil, measure it and trim it.
- No core data is built in. Permeability, AL value, core size and switching frequency come from data sheets, and the example values are only for trying the tool.
- A core saturates at a high current, and its inductance then falls. The tool shows the flux density for a core of known size; the limit is in the data sheet.
- The tool does not work out core loss, the self-capacitance of a coil, a ferrite rod antenna or the inductor of a power factor correction stage.
- The converter option is for ideal parts in continuous conduction. It gives a starting value, not a finished design.
- For the reactance of an inductor at a frequency use the Impedance & Reactance Calculator. For the rise of the current in a coil with resistance use the RC & RL Time Constant Calculator.
- This is arithmetic for learning and for low-voltage electronics. It is not professional advice. A coil that is switched off suddenly can make a high voltage.