Winding Analysis

How to calculate the winding factor of a given winding distribution

There is only one calculation. Draw every conductor of a phase as a vector in the electrical-angle plane, add the vectors, and divide by how many there are. Everything else — distribution factor, pitch factor, harmonic winding factors — falls out of that one sum. This article works the method end to end on two very different machines: a 12-slot / 8-pole tooth-coil winding and a 48-slot / 8-pole single-layer winding.

What a winding distribution actually is

A winding distribution is the complete answer to three questions, asked for every slot in the stator:

  1. Which phase does the conductor in this slot belong to — A, B or C?
  2. Which direction does its current flow — into the page (a go side, written A+) or out of it (a return side, A−)?
  3. How many conductor sides does the slot hold — one (single-layer) or two (two-layer)?

Coils are then formed by pairing a go side with a return side. The number of slots between the two sides is the coil span y. But note the ordering: the distribution — the phase and polarity of every conductor — is the primary object. Coil span is downstream of it. This ordering matters a great deal for the single-layer example later.

Layers, coils and conductor sides

Single-layer: one coil side per slot ⇒ Q/2 coils in the machine, Q/(2m) coils per phase.

Two-layer: two coil sides per slot (top and bottom) ⇒ Q coils in the machine, Q/m coils per phase.

In both cases the total number of coil sides belonging to one phase is Q/m. That count is the arithmetic sum in the denominator of every winding-factor calculation below.

Mechanical angle, electrical angle, and the slot angle

Slots are cut at equal mechanical intervals around the bore. With Q slots, the mechanical pitch between adjacent slots is:

θmech = 360° / Q

But the rotor's flux wave does not care about geometry — it cares about poles. A rotor with P poles (p = P/2 pole pairs) completes p full magnetic cycles in one mechanical revolution. So one mechanical degree is worth p electrical degrees, and the slot angle — the electrical phase shift between the EMFs of two adjacent slots — is:

α = p × θmech = (P / 2) × (360° / Q) P = poles  •  Q = slots  •  α in electrical degrees per slot

Slot n therefore sits at electrical angle θn = (n − 1) × α, taken modulo 360°. Two slots that are physically far apart can share the same electrical angle; two slots that are neighbours can be almost in antiphase. The electrical angle is the only thing the winding factor sees.

Two derived quantities follow immediately and are used throughout:

q = Q / (P · m)      yfp = Q / P q = slots per pole per phase  •  yfp = full-pitch coil span in slots (always 180° electrical)

The vector rule

As the rotor turns, the fundamental flux wave sweeps past the stator and induces in the conductor of slot n an EMF of the form Ê·sin(ωt − θn). Every conductor produces the same amplitude; only the phase differs. That is exactly a phasor, and phasors add as vectors.

Assign to each conductor i of the phase a unit vector:

vi = ci · ( cosθi , sinθi ) θi = electrical angle of the conductor's slot  •  ci = +1 for a go side, −1 for a return side

The sign ci = −1 is a physical current reversal, and for the fundamental it is equivalent to rotating the vector by 180°. It is convenient to fold the sign into the angle and speak of an effective angle θieff = θi + 180° for return sides. All the tables below list that effective angle.

Now sum, and normalise by the number of conductors:

kw = | Σi vi | / Σi |vi| = | Σi ci e jθi | / N N = number of conductor sides in the phase = Q/m

The denominator is the EMF you would get if every conductor of the phase were somehow at the same electrical angle — the theoretical maximum. The numerator is what the winding actually delivers. Their ratio is the winding factor, and it is bounded by 0 ≤ kw ≤ 1 by construction. No memorised formula is required, and the rule works for integer-slot, fractional-slot, single-layer, two-layer, chorded, concentric and unbalanced windings alike.

Where kd and kp come from

The familiar distribution factor and pitch factor are not independent physics. They are what you get when you evaluate the same sum in two stages instead of one.

Stage 1 — add within each coil. Group the conductors into coils. A coil is one go side and one return side, so its vector is the sum of two unit vectors. If the coil spans β electrical degrees, elementary trigonometry gives its magnitude as 2·sin(β/2). Divide by 2, the arithmetic sum of the two sides, and you have the pitch factor:

kp = |coil vector| / 2 = sin(β / 2)     where β = y × α

Stage 2 — add the coil vectors. The coils of one phase are generally not all at the same angle. Their vector sum divided by their arithmetic sum is the distribution factor:

kd = | Σ coil vectors | / Σ |coil vectors|

Multiply the two stages back together and you recover the original conductor sum exactly:

kw = kd × kp

This is a factorisation, not a decomposition into separate effects. As the 48-slot example will show, the same physical winding can be grouped into coils in two different ways that give completely different kd and kp values — and identical kw. The vector sum is the invariant; the split is bookkeeping.

Harmonics come free

For the νth harmonic of the air-gap field, the flux wave has ν times as many cycles per revolution, so every slot's phase shift scales by ν. The conductor polarity ci is a wiring direction and does not scale. Hence:

kwν = | Σi ci e jνθi | / N Replace θ by νθ and keep the signs. That is the entire harmonic calculation.

Example 1 — 12 slots, 8 poles, two-layer (q = 0.5)

This is the archetypal fractional-slot concentrated winding (FSCW): every tooth carries its own coil, coil span y = 1 slot, two coil sides per slot. It is the winding of choice for hub motors, drone motors and many servo motors, because the end-turns are short and the coils can be machine-wound onto segmented teeth.

Machine constants

Q = 12, P = 8 (p = 4), m = 3, layers = 2, coil span y = 1

α = (8/2) × (360°/12) = 4 × 30° = 120° per slot

q = 12 / (8 × 3) = 0.5  •  yfp = 12/8 = 1.5 slots (non-integer — full pitch is not physically realisable)

Conductor sides per phase: N = Q/m = 8 (4 coils × 2 sides)

Slot electrical angles

With α = 120°, the twelve slots collapse onto just three distinct electrical directions:

Slot123456789101112
θ (elec)0°120°240°0°120°240°0°120°240°0°120°240°

Three directions, 120° apart, is precisely a three-phase set. That is what makes 12s/8p work: the slot star has exactly three spokes, and each phase takes one spoke. Since GCD(12, 8) = 4, the machine is four identical repetitions of a 3-slot / 2-pole base unit.

Phase allocation

Assign coils cyclically — coil n is wound around tooth n with its go side in slot n and its return side in slot n+1:

Slot123456789101112
Top layerA+B+C+A+B+C+A+B+C+A+B+C+
Bottom layerC−A−B−C−A−B−C−A−B−C−A−B−

Phase A therefore owns four coils: 1→2, 4→5, 7→8 and 10→11 — eight conductor sides in total.

The vector table

ConductorSlotcθθeffx = cosθeffy = sinθeff
Coil 1 go1+10°0°+1.00000.0000
Coil 1 return2−1120°300°+0.5000−0.8660
Coil 4 go4+10°0°+1.00000.0000
Coil 4 return5−1120°300°+0.5000−0.8660
Coil 7 go7+10°0°+1.00000.0000
Coil 7 return8−1120°300°+0.5000−0.8660
Coil 10 go10+10°0°+1.00000.0000
Coil 10 return11−1120°300°+0.5000−0.8660
Resultant Σv+6.0000−3.4641
Result — 12s / 8p, two-layer

|Σv| = √(6.0000² + 3.4641²) = √48 = 6.9282

Arithmetic sum = N = 8

kw1 = 6.9282 / 8 = 0.8660  (exactly √3/2)

Resultant angle = atan2(−3.4641, 6.0000) = −30° — the phase-A axis.

Cross-check against the classical factors

Group the eight conductors into their four coils. Each coil spans β = y·α = 1 × 120° = 120°, so each coil vector has magnitude 2·sin(60°) = 1.7321 and lies at −30°. All four coil vectors are identical:

CoilGo slotReturn slotβ|coil vector|Coil angle
11 (0°)2 (120°)120°1.7321−30°
44 (0°)5 (120°)120°1.7321−30°
77 (0°)8 (120°)120°1.7321−30°
1010 (0°)11 (120°)120°1.7321−30°
kp = sin(β/2) = sin(60°) = 0.8660coil span penalty — unavoidable, yfp = 1.5 is not an integer
kd = |4 × 1.7321| / (4 × 1.7321) = 1.0000all coil vectors collinear — no distribution penalty
kw1 = 0.8660 × 1.0000 = 0.8660matches the direct vector sum

The fractional-slot form of the distribution factor agrees. Writing q = z/n in lowest terms (here q = 1/2, so z = 1, n = 2), the standard result kd1 = sin(30°) / (z · sin(30°/z)) gives sin(30°)/sin(30°) = 1.000.

Where the 13.4% goes

A tooth coil physically cannot reach full pitch here: yfp = 1.5 slots. The coil must span 1 slot, which is 120° instead of 180°, and the two coil sides therefore fail to add in perfect antiphase. That geometric shortfall — and nothing else — is the entire winding-factor penalty of a 12s/8p machine.

Harmonic content

Re-running the sum with θ → νθ exposes the well-known weakness of q = 0.5 windings:

νResultant (x, y)|Σv|kwν
1(+6.0000, −3.4641)6.92820.8660
5(+6.0000, +3.4641)6.92820.8660
7(+6.0000, −3.4641)6.92820.8660
11(+6.0000, +3.4641)6.92820.8660
13(+6.0000, −3.4641)6.92820.8660

Every odd non-triplen harmonic has the same winding factor as the fundamental. With only three distinct slot directions there is simply nothing left to cancel with. This is why FSCW machines carry large 5th and 7th MMF harmonics and why rotor magnet eddy-current loss is a first-order design concern in this topology — a cost the designer accepts in exchange for very short end-turns and simple manufacture.

Example 2 — 48 slots, 8 poles, single-layer (q = 2)

Now the opposite end of the design space: a classical distributed winding of the kind found in industrial induction motors and traction PMSMs.

Machine constants

Q = 48, P = 8 (p = 4), m = 3, layers = 1

α = (8/2) × (360°/48) = 4 × 7.5° = 30° per slot

q = 48 / (8 × 3) = 2  •  yfp = 48/8 = 6 slots = 180° electrical

Conductor sides per phase: N = Q/m = 16 (8 coils × 2 sides)

Electrical period: 12 slots = 360°, so the whole pattern repeats four times around the bore.

Why there is only one single-layer winding here

In a two-layer winding you have a free parameter: the bottom layer can be shifted relative to the top by any number of slots, which is exactly what chording is. A single-layer winding has no second layer. Each slot holds one coil side, and that side's phase and polarity are fixed the moment you lay down the standard 60° phase belts. There is no shift to make.

What remains free is only how you pair the fixed go sides with the fixed return sides into coils. That choice changes the shape of the end-windings — and nothing else. The set of vectors being summed is identical either way, so kw is identical either way. For Q = 48, P = 8 the two standard realisations are:

Both are the same winding. Presenting "48s/8p single-layer with 5/6 chording" as an option would be wrong — there is nothing to chord.

Phase allocation

With q = 2, each 60° phase belt occupies 2 consecutive slots, and the belt sequence over one electrical period (12 slots) is A+, C−, B+, A−, C+, B−:

Slot123456789101112
θ (elec)0°30°60°90°120°150°180°210°240°270°300°330°
PhaseA+A+C−C−B+B+A−A−C+C+B−B−

This 12-slot block repeats four times, so phase A occupies:

A+ : slots 1, 2, 13, 14, 25, 26, 37, 388 go sides
A− : slots 7, 8, 19, 20, 31, 32, 43, 448 return sides

The vector table

Because the pattern repeats every 12 slots (= 360° electrical), slots 1, 13, 25 and 37 all sit at 0°; slots 2, 14, 26 and 38 all sit at 30°. The return sides land on the same two directions once their sign is folded in: slot 7 is at 180°, and 180° + 180° = 0°.

Conductor groupSlotscθθeffCountΣxΣy
A+ belt, 1st slot1, 13, 25, 37+10°0°4+4.00000.0000
A+ belt, 2nd slot2, 14, 26, 38+130°30°4+3.4641+2.0000
A− belt, 1st slot7, 19, 31, 43−1180°0°4+4.00000.0000
A− belt, 2nd slot8, 20, 32, 44−1210°30°4+3.4641+2.0000
Resultant Σv16+14.9282+4.0000

All sixteen conductors reduce to eight vectors at 0° and eight at 30° — the two-slot phase belt is the only source of angular spread in the whole winding.

Result — 48s / 8p, single-layer

|Σv| = √(14.9282² + 4.0000²) = √238.85 = 15.4548

Arithmetic sum = N = 16

kw1 = 15.4548 / 16 = 0.9659

Resultant angle = atan2(4.0000, 14.9282) = 15° — midway between the two belt slots, as expected.

The same kw, two different kd / kp splits

Here is the point that a memorised-formula approach obscures. Group the identical set of sixteen conductors into coils the two legitimate ways, and the classical factors come out completely differently — while their product does not move:

RealisationCoil pairings (first group)SpansβCoil vectorskpkdkw1
Full-pitch lap 1→7, 2→8 6, 6 180°, 180° 2.0000 ∠0°
2.0000 ∠30°
1.0000 0.9659 0.9659
Concentric 1→8, 2→7 7, 5 210°, 150° 1.9319 ∠15°
1.9319 ∠15°
0.9659 1.0000 0.9659

In the full-pitch grouping each coil is perfectly pitched (kp = 1) but the two coils of a group sit 30° apart, so the whole penalty appears as distribution. In the concentric grouping the two coils are individually mis-pitched — one long by 30°, one short by 30°, and sin(105°) = sin(75°) = 0.9659 — but they end up perfectly aligned at 15°, so the whole penalty appears as pitch. The physics never changed. Only the accounting did.

A useful consequence

A concentric single-layer winding is sometimes described as having "unequal coils" or "mixed pitch", and designers occasionally worry that the long and short coils are somehow unbalanced. They are not: sin(β/2) is symmetric about 180°, so a coil that is n slots over-pitched has exactly the same pitch factor as one n slots under-pitched, and their vectors are exactly co-phasal.

Cross-check against the classical formula

kd1 = sin(qα/2) / (q · sin(α/2))standard integer-slot distribution factor
   = sin(2×15°) / (2 · sin(15°)) = 0.5000 / 0.51764 = 0.96593
kp1 = sin(β/2) = sin(90°) = 1.00000full-pitch realisation, β = 6 × 30° = 180°
kw1 = 0.96593 × 1.00000 = 0.96593matches the direct vector sum to 5 decimal places

Harmonic content

νResultant (x, y)|Σv|kwν
1(+14.9282, +4.0000)15.45480.9659
5(+1.0718, +4.0000)4.14110.2588
7(+1.0718, −4.0000)4.14110.2588
11(+14.9282, −4.0000)15.45480.9659
13(+14.9282, +4.0000)15.45480.9659

The 5th and 7th are attenuated by a factor of 3.7 relative to the fundamental — the payoff of distributing the phase over two slots. The 11th and 13th, however, are slot harmonics: at ν = 11 and 13 the harmonic slot angle να is congruent to ±α modulo 360°, so the vectors re-align and kwν returns to 0.9659. Slot harmonics cannot be suppressed by distribution at all; skewing or a two-layer chorded design is the usual remedy.

Verification

Every number in this article was produced by direct vector summation in Python and then checked three ways: against the closed-form kd = sin(qα/2)/(q·sin(α/2)) and kp = sin(β/2) formulas, against the fractional-slot form of kd for q = 1/2, and against the star-of-slots engine behind the Winding Analysis tool. All three routes return the same values:

Machineαqykd1kp1kw1
12s / 8p, two-layer, tooth coil120°0.511.00000.86600.8660
48s / 8p, single-layer, full-pitch lap30°260.96591.00000.9659
48s / 8p, single-layer, concentric30°27 & 51.00000.96590.9659

No discrepancies were found. The vector sums are exact: √48/8 = √3/2 = 0.866025 for the 12-slot machine, and cos(15°) = 0.965926 for the 48-slot machine.

The method in five lines

  1. Compute α = (P/2) × (360°/Q) and give slot n the angle (n−1)α mod 360°.
  2. Write down the phase and polarity of every conductor side — this is the winding distribution.
  3. Turn each conductor into a unit vector at angle θn, negated if it is a return side.
  4. Add the vectors for one phase; divide the resultant magnitude by the conductor count.
  5. For harmonic ν, repeat step 3 with νθn and keep the signs unchanged.

The distribution and pitch factors are worth knowing because they are how the literature talks, and because they tell you where a penalty comes from. But they are consequences of the vector sum, not inputs to it. When a winding is unusual — fractional q, concentric coils, unequal turns per coil, an unbalanced repair winding — the formulas run out of road and the vector sum does not.

Compute winding factors for any slot/pole combination

Star-of-slots phasors, slot allocation tables, and the full kw harmonic spectrum.
Open Winding Tool →
← Back to all articles