Worked example
Example: Illustrative: U-core, 800 turns at 1.5 A, two 20 x 20 mm poles, 0.5 mm gaps. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Number of turns | 800.00 - |
| Coil current | 1.5000 A |
| Air gap at each pole | 0.50000 mm |
| Pole face area (each) | 4.0000 cm² |
| Number of gaps in the flux path (1 or 2) | 2.0000 - |
| Iron path length (core and armature) | 200.00 mm |
| Relative permeability of the iron | 2,000.0 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Flux density in the gap | 1.3709 T |
| Magnetic pressure on the pole face | 747.75 kPa |
| Total pull force | 598.20 N |
| Coil inductance at this gap | 292.45 mH |
Open this example in the calculator and change any input.
Formula
\(B_g = \frac{\mu_0 NI}{n_p g + l_c/\mu_r}, \quad F = n_p\frac{B_g^2A}{2\mu_0}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(N\) | Number of turns | - |
| \(I\) | Coil current | A |
| \(g\) | Air gap at each pole | m |
| \(A\) | Pole face area (each) | m² |
| \(n_p\) | Number of gaps in the flux path (1 or 2) | - |
| \(l_c\) | Iron path length (core and armature) | m |
| \(\mu_r\) | Relative permeability of the iron | - |
| \(B_g\) | Flux density in the gap | T |
| \(B^2/2\mu_0\) | Magnetic pressure on the pole face | Pa |
| \(F\) | Total pull force | N |
| \(L\) | Coil inductance at this gap | H |
Method and standards
Magnetic pull from field energy (Maxwell stress).
Where it is used
- Lifting magnets, holding magnets and door locks.
- Relays, contactors and solenoid actuators.
Common mistakes
- Using the gap at the closed position for the pick-up force.
- Ignoring saturation at small gaps.
Assumptions and limits
- Uniform gap field, no fringing or leakage, linear iron.
References
- Maxwell's pull formula with a series magnetic circuit
Questions and answers
Why does the force rise so fast as the gap closes?
The flux density is inversely proportional to the gap, and the force goes as B²: halving the gap roughly quadruples the pull until the iron saturates.
What is the maximum pull per area?
About 0.9–1 MPa (90–100 N/cm²) at 1.5 T, the practical limit set by saturation of soft iron.
What do the defaults represent?
An illustrative U-core electromagnet of 800 turns at 1.5 A with two 20 × 20 mm poles and 0.5 mm gaps.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Hayt and Buck, Engineering Electromagnetics, 8th ed. (McGraw-Hill, 2012), sec. 8.9