Winding layout calculator
Three-phase winding scheme, linear and circular diagrams, winding factors and allowed parallel coil connections for tooth-coil and distributed windings.
This calculator lays out a three-phase stator winding from the number of slots and poles. It handles tooth-coil (fractional-slot concentrated) windings and distributed windings, in one or two layers, with optional coil shortening.
What you get
- The winding scheme in the classic notation, e.g.
AabBCcaABbcCfor 12 slots / 10 poles. Upper case is a forward coil side, lower case a reversed one, and – an unwound tooth. A distributed winding lists the coil sides of each slot, closed by|. - A linear (unrolled) winding diagram and a circular view of the stator. Press ▶ on ωt to turn the working field.
- The winding factor of the working harmonic and the full spectrum. Slot-opening and skew factors are optional.
- Cogging steps per revolution, LCM(Q, 2p).
- The symmetry groups and the series, parallel, series/parallel or series/antiparallel coil connections they allow, with a branch table and a connection diagram in Y or Δ.
- The air-gap MMF and its working harmonic.
How to use it
Enter the slots and poles, choose one or two layers and, for distributed windings, the coil shortening. Then pick a coil connection: the result Allowed coil connections lists what the winding symmetry permits. A connection that is not allowed falls back to series, with a warning.
Limits
Three-phase windings only. The conductors are taken as point conductors at the slot centres, and all coils have equal turns. Distributed windings with a fractional q show the scheme and factors but no coil model. The method follows the open-source PESC Winding Layout Calculator (GPL-3.0); see the method notes for the rules and the reference cases.
How it is calculated
Winding scheme
The scheme comes from the star of slot EMFs with 60° phase belts, as in the original calculator. The electrical angle between neighbouring slots is . Walking along the teeth (tooth-coil windings, ) or the slots (), the accumulated angle picks the belt: A (−30…30°), b (30…90°), C (90…150°), a (150…210°), B (210…270°) and c (270…330°). Upper case is a forward coil side, lower case a reversed one. A single-layer tooth-coil winding leaves every other tooth unwound (–).
The scheme is then normalised like the original: trailing A/a coils move to the front, it starts with A, phase B comes before C, and a distributed winding does not split a phase belt at its ends. In a distributed double layer the return layer is the slot pattern shifted by the shortening . Each coil runs from slot to slot , with . A single layer with even uses concentric coils.
Winding factors
The balanced phase currents are , and . From them follow the slot currents ; a slot with two coil sides carries their mean. The winding factor of order (pole pairs) is
evaluated at . The winding counts as balanced when the spectrum is the same at (the original compares two instants) and every phase has the same numbers of forward and reversed coil sides.
The optional corrections are the ones of the original:
- slot opening:
- skew of slot pitches:
Cogging steps per revolution: .
Coil connections
These are the rules of the original. The number of symmetry groups is for two layers, or for one layer. Each group holds coils per phase. The allowed connections follow from that:
- one group: series only
- one coil per group: any connection
- otherwise odd : series/antiparallel; even : series/parallel
The branch count must divide , and a branch holds whole consecutive groups. A parallel arrangement is offered only when the groups hold equivalent coils (positions, spans, consistent polarity, non-zero EMF) and the oriented branch EMFs are equal. Groups of opposite polarity are traversed E → S. Coil labels carry their sign: lower case means connected reversed.
MMF and field
The MMF is the staircase of cumulative slot currents with its mean removed. Its harmonic of order is , where and . Its crest lies at .
The speed of a harmonic relative to the working field is the drift of its crest as advances, . It equals , where the sign gives the direction, and 0 when the harmonic is not excited.
Animated views (ωt)
- Star of slot EMFs: one phasor per tooth coil (at its tooth) or per slot (layer 2 of a distributed winding), at the electrical angle of its position. The dash-dot lines are the magnetic axes of the phases: the crest of the working wave when only that phase carries current.
The coloured arrows lie along these axes, with a length equal to the instantaneous phase current. Their vector sum, the black arrow, is the field vector. It has constant length and turns with ωt, and its direction is the crest of the working wave.
- Circular view: the arrows mark the crests of the working wave. The rotor with 2p magnets turns with them, its north poles 90° (el.) behind the crests.
- MMF chart: the staircase, the working harmonic and a harmonic of your choice. With ν = 0 that is the one with the largest amplitude apart from the working one.
Assumptions
- Three-phase windings only, as in the original.
- Winding factors treat the conductors as concentrated at the slot centre. The slot opening and the skew enter only through the sin x/x factors above.
- All coils have the same number of turns. The original's turns-per-coil editor for its factor animation is left out; the chart over one current period replaces the animation for equal turns.
- The original's manual scheme entry is left out, because this builder has no text inputs. Schemes come from the slot and pole numbers only.
- Coil models of distributed windings need an integer pole pitch. Distributed windings with a fractional q (for example 36 slots / 8 poles) give the scheme and the winding factors only, as in the original.
- The rotor in the circular view is a sketch, not a field calculation. Its poles are placed 90° (el.) behind the stator field, which is the position for a current in the q axis (maximum torque per ampere).
- These are additions of this port: the MMF chart and its harmonics, the star of slot EMFs with the current vectors, the field arrows, the rotor, the outer-stator circular view and the connection schematic. The original instead draws the wiring of every coil end and offers inner/outer stator views and image export.
- The algorithms were transferred from the original JavaScript and are not derived here. The reference cases check the transfer against the original calculator, its README and classical distribution and pitch factors.
Where it applies
- The number of slots must be divisible by 3, the pole number must be even, and the two must differ.
- One layer is offered only for an even slot number. Coil shortening applies only to distributed double-layer windings and must stay below the pole pitch.
- For combinations without a balanced three-phase winding, the scheme and factors are still shown, with a warning.
References
- PESC Winding Layout Calculator, https://github.com/pierrepesc/PESC.tool.WindingLayoutCalculator (GPL-3.0); based on Bewicklungsrechner XL by F. Niessen (2010) and the winding algorithm of powercroco.de by oc2k1 and DrM.
- J. Cros, P. Viarouge: Synthesis of high performance PM motors with concentrated windings. IEEE Transactions on Energy Conversion 17(2), 2002 (tabulated winding factors of tooth-coil windings).
- J. Pyrhönen, T. Jokinen, V. Hrabovcová: Design of Rotating Electrical Machines. Wiley (distribution and pitch factors).
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Number of slots Stator slots (equal to the number of teeth). Must be divisible by 3. | Q | 12 | |
| Number of poles 2p Total number of rotor poles (even). | poles | 10 | |
| Layers Two layers: a coil on every tooth (tooth-coil windings) or two coil sides per slot (distributed windings). One layer: every other tooth wound, or one coil side per slot. Offered only for an even slot number. | layers | 2 layers | |
| Coil shortening Distributed double-layer windings only: the coil span is the pole pitch minus this number of slots. | s_short | slots | 0 |
| Phase termination | termination | Δ (delta) | |
| Coil connection How the coils of a phase are grouped. Only the connections the winding symmetry allows are used; the result 'Allowed connections' lists them. | conn | Series | |
| Parallel branches per phase Must divide the number of symmetry groups. Parallel single coils always use one branch per symmetry group. | n_br | 2 | |
| Slot opening 0 leaves out the slot-opening factor. | b_0 | mm | 0 |
| Stator bore diameter | D_s | mm | 50 |
| Skew Skew of the slots (or magnets) in slot pitches; 0 leaves out the skew factor. | skew | slots | 0 |
| Current angle ωt Electrical angle of the balanced phase currents (phase A at its maximum at 0°). Press ▶ to turn the field in the circular view and the MMF chart. | wt | deg | 0 |
| MMF harmonic shown ν Order (pole pairs) of the MMF harmonic drawn beside the working one in the MMF chart; 0 picks the strongest other harmonic. Press ▶ on ωt to see it travel, forwards or backwards, at its own speed. | nu_sel | 0 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Winding scheme | AabBCcaABbcC |
| Winding factor k_w1 | 0.933 |
| k_w1 with slot opening and skew | 0.933 |
| Slots per pole and phase q | 0.4 |
| Cogging steps per revolution | 60 |
| Symmetry groups | 2 |
| Allowed coil connections | series; series/antiparallel with 2 branches |
| Coil connection used | 1 branch × 4 coils in series per phase |
| MMF harmonic shown ν | 7 |
| Its speed relative to the working field | -0.714 |
Checked against sources
Each case below was calculated by this calc and agrees with the value from its source (within the tolerance where one is shown).
12 slots, 10 poles, two layers
Source: Original PESC Winding Layout Calculator (winding_visualizer.html, GitHub pierrepesc/PESC.tool.WindingLayoutCalculator, run 2026-10-24): scheme AabBCcaABbcC, k_w1 = 0.93301, k_w(ν = 1) = 0.06699, cogging steps LCM(12, 10) = 60, symmetry 2 with 2 coils per group. k_w1 = 0.933 is also the tabulated value for 12 slots / 10 poles (e.g. Cros & Viarouge 2002).
Inputs: the default inputs above.
| Result | Source | This calc |
|---|---|---|
| Winding factor k_w1 | 0.933 | 0.933 |
| Winding factor spectrum, currents at ωt = 0 [1] | 0.067 ± 5 × 10⁻⁴ | 0.06699 |
| Cogging steps per revolution | 60 | 60 |
| Symmetry groups | 2 | 2 |
| Coils per phase in one symmetry group | 2 | 2 |
12/10: two series/antiparallel branches
Source: README of the original calculator: “12 slots / 10 poles / two layers offers two series/antiparallel branches”.
Inputs: Coil connection = Series/antiparallel groups; the others as above.
| Result | Source | This calc |
|---|---|---|
| Parallel branches per phase | 2 | 2 |
| Coils in series per branch | 2 | 2 |
12/10: series/parallel not allowed (odd p)
Source: README of the original calculator: odd p/2 requires series/antiparallel; the original disables series/parallel for 12/10.
Inputs: Coil connection = Series/parallel groups; the others as above.
| Result | Source | This calc |
|---|---|---|
| Parallel branches per phase | 1 | 1 |
18/16: two series/parallel branches
Source: README of the original calculator: “18 / 16 offers two series/parallel branches”; k_w1 = 0.94521 from the original calculator.
Inputs: Number of slots = 18; Number of poles 2p = 16; Coil connection = Series/parallel groups; the others as above.
| Result | Source | This calc |
|---|---|---|
| Parallel branches per phase | 2 | 2 |
| Coils in series per branch | 3 | 3 |
| Winding factor k_w1 | 0.9452 | 0.9452 |
12/8: four single coils in parallel
Source: README of the original calculator: “12 / 8 offers four individual coils in parallel”; k_w1 = 0.86603 from the original calculator (q = 1/2 tooth-coil winding, k_w1 = sin 60°).
Inputs: Number of poles 2p = 8; Coil connection = Parallel (single coils); the others as above.
| Result | Source | This calc |
|---|---|---|
| Parallel branches per phase | 4 | 4 |
| Coils in series per branch | 1 | 1 |
| Winding factor k_w1 | 0.866 | 0.866 |
12/8: two branches of two coils
Source: README of the original calculator: 12 / 8 offers “two branches with two coils each”.
Inputs: Number of poles 2p = 8; Coil connection = Series/parallel groups; the others as above.
| Result | Source | This calc |
|---|---|---|
| Parallel branches per phase | 2 | 2 |
| Coils in series per branch | 2 | 2 |
9/8: one symmetry group, series only
Source: Original calculator (run 2026-10-24): scheme AaABbBCcC, k_w1 = 0.94521, “One symmetry group: all coils must be in series.” k_w1 = 0.945 is the tabulated value for 9 slots / 8 poles (e.g. Cros & Viarouge 2002).
Inputs: Number of slots = 9; Number of poles 2p = 8; Coil connection = Series/antiparallel groups; the others as above.
| Result | Source | This calc |
|---|---|---|
| Winding factor k_w1 | 0.9452 | 0.9452 |
| Symmetry groups | 1 | 1 |
| Parallel branches per phase | 1 | 1 |
12/10 single layer
Source: Original calculator (run 2026-10-24): scheme A-b-C-a-B-c-, k_w1 = 0.96593.
Inputs: Layers = 1 layer; the others as above.
| Result | Source | This calc |
|---|---|---|
| Winding factor k_w1 | 0.9659 | 0.9659 |
24/4 double layer, shortened by 1 slot
Source: Classical distribution and pitch factors: q = 2, α = 30°: k_d = sin 30° / (2 sin 15°) = 0.9659; y/τ = 5/6: k_p = sin 75° = 0.9659; k_w1 = 0.9330 (original calculator: 0.93301).
Inputs: Number of slots = 24; Number of poles 2p = 4; Coil shortening = 1 slots; the others as above.
| Result | Source | This calc |
|---|---|---|
| Winding factor k_w1 | 0.933 | 0.933 |
| Coil span | 5 slots | 5 slots |
36/4 double layer, shortened by 2 slots
Source: Classical distribution and pitch factors: q = 3, α = 20°: k_d = sin 30° / (3 sin 10°) = 0.9598; y/τ = 7/9: k_p = sin 70° = 0.9397; k_w1 = 0.9019 (original calculator: 0.90191).
Inputs: Number of slots = 36; Number of poles 2p = 4; Coil shortening = 2 slots; the others as above.
| Result | Source | This calc |
|---|---|---|
| Winding factor k_w1 | 0.9019 | 0.9019 |
36/4 single layer, series/parallel
Source: Classical distribution factor for q = 3 (full-pitch single layer): k_w1 = 0.9598; the original calculator offers series/parallel with 2 branches for 36/4, one layer.
Inputs: Number of slots = 36; Number of poles 2p = 4; Layers = 1 layer; Coil connection = Series/parallel groups; the others as above.
| Result | Source | This calc |
|---|---|---|
| Winding factor k_w1 | 0.9598 | 0.9598 |
| Parallel branches per phase | 2 | 2 |
24/4: 13th electrical harmonic travels forwards
Source: Classical rule for symmetrical three-phase integral-slot windings: space harmonics of electrical order 6k + 1 travel forwards, 6k − 1 backwards, at 1/order of the field speed. ν = 26 pole pairs with p = 2 is electrical order 13 = 6·2 + 1: +1/13 = 0.07692.
Inputs: Number of slots = 24; Number of poles 2p = 4; Coil shortening = 1 slots; MMF harmonic shown ν = 26; the others as above.
| Result | Source | This calc |
|---|---|---|
| Its speed relative to the working field | 0.07692 ± 1 × 10⁻⁴ | 0.07692 |
24/4: 11th electrical harmonic travels backwards
Source: Classical rule for symmetrical three-phase integral-slot windings: electrical order 6k − 1 travels backwards at 1/order of the field speed. ν = 22 pole pairs with p = 2 is electrical order 11: −1/11 = −0.09091.
Inputs: Number of slots = 24; Number of poles 2p = 4; Coil shortening = 1 slots; MMF harmonic shown ν = 22; the others as above.
| Result | Source | This calc |
|---|---|---|
| Its speed relative to the working field | -0.09091 ± 1 × 10⁻⁴ | -0.09091 |
Related Resources
Related courses
Induction motor simulation using RMXPRT tool of ANSYS MAXWELL
1
Original price was: 50 €.12 €Current price is: 12 €.
IEC Electrical Schematics and Industrial Control Panels
5
Original price was: 42 €.21 €Current price is: 21 €.
Basic Electrical Controls & Diagram Reading
7
Original price was: 32 €.18 €Current price is: 18 €.







Responses