How Does a Stepper Motor Work?
How Does a Stepper Motor Work? Step-by-Step Explanation
Key Takeaways
-
A stepper motor moves in small, equal steps. The driver turns coils on and off in a set order, and the rotor follows.
-
A 1.8° motor takes 200 full steps per turn. A 0.9° motor takes 400.
-
Holding torque is the force that holds the shaft with power on. Detent torque is the small pull with power off.
-
Steppers usually run open loop, so they do not know if they miss a step. Leave a torque margin.
-
Microstepping makes motion smoother, but it does not add accuracy.
The Basic Working Principle
A stepper motor turns in fixed steps instead of spinning freely. The stator, the fixed outer part, holds coils of wire. The rotor, the spinning part, is a toothed magnetic core on the shaft.
When current flows in a coil, it makes a magnetic field. The rotor teeth line up with that field. Switch to the next coil, and the rotor turns a small angle to line up again.
The driver does this switching. It counts pulses from your controller. One pulse equals one step, so the controller can place the shaft without a sensor. This is called open loop control.
Here is the sequence for a two-coil (bipolar) motor. We call the coils A and B.
-
Energize coil A
Current flows in coil A in the positive direction. The rotor lines up with coil A.
-
Switch to coil B
Coil A turns off and coil B turns on. The rotor turns one step to line up with B.
-
Reverse coil A
Coil A turns on again with the current reversed. The rotor turns one more step.
-
Reverse coil B
Coil B turns on with the current reversed. The rotor turns another step. Then the cycle repeats from step one.
Run the sequence in reverse order, and the motor turns the other way. Run it faster, and the motor spins faster. A hybrid motor repeats this cycle many times per turn because of its many rotor teeth.
For the basics of the motor itself, see our guide to what a stepper motor is.
Engineer's tip
Think of the driver as a counter. It does not know where the shaft really is. It only knows how many steps it sent. That is why a jam or an overload can leave the controller and the shaft out of sync.
Full Step and Half Step
In full step mode, the rotor moves one full step per pulse. In half step mode, the driver switches between one coil on and two coils on. The rotor then stops between the full positions, so each pulse moves half as far.
| Mode | Coils on | Steps per turn (1.8° motor) | Notes |
|---|---|---|---|
| Full step | Both coils at once | 200 | Highest torque per step |
| Half step | One, then two coils | 400 | Smoother; torque can vary by step |
Half step gives finer positions and a little less vibration. The torque can change from one step to the next, because one coil alone is weaker than two coils together. Check the driver datasheet for how it handles this.
Many drivers go further and use microstepping, which splits each step into even smaller parts.
Step Angle: 1.8° vs. 0.9°
The step angle is how far the shaft turns for one full step. The two common values are 1.8° and 0.9°.
| Step angle | Full steps per turn | Calculation |
|---|---|---|
| 1.8° | 200 | 360° ÷ 1.8° |
| 0.9° | 400 | 360° ÷ 0.9° |
The 1.8° motor is the most common. The 0.9° motor gives finer steps without microstepping.
A 1.8° motor in half step also gives 400 steps per turn, but the two are built differently.
The trade-offs in torque and top speed depend on the maker and the model. Compare datasheets for the exact motors you are considering.
The step angle is also not the same as accuracy. A typical accuracy spec is about ±5% of one full step. That is 0.09° for a 1.8° motor. Higher-grade motors do better. These errors do not add up over many turns.
Holding Torque and Detent Torque
Two torque values describe a stepper at rest. Datasheets list both, and they mean different things.
Holding Torque
Holding torque is the most torque the motor can resist at standstill. The coils must be powered at rated current. If you push harder than this, the shaft moves.
Datasheets show holding torque in N·m, oz·in or kg·cm. Here is how to convert: 1 N·m = 141.6 oz·in = 10.2 kg·cm. For example, 0.5 N·m is about 70.8 oz·in or 5.1 kg·cm.
Watch out: holding torque is not running torque
Holding torque applies only when the shaft is not moving. Torque falls as speed rises, so the motor delivers less when it spins. Always use the torque-speed curve for your speed and supply voltage. Our torque guide shows how.
Detent Torque
Detent torque is the small holding effect you feel with the power off. The rotor magnet is drawn to the stator teeth, so the shaft feels slightly "notchy" when you turn it by hand.
It is much smaller than holding torque, and it uses the same units. Hybrid and PM motors have it. Variable reluctance motors have none, because they have no magnet.
Do not count on detent torque to hold a load. Use a brake if the load must stay put with power off.
Why Steppers Lose Steps
A stepper loses a step when the rotor fails to follow the driver. The driver still counts the pulse, but the shaft did not move. In open loop, nothing tells the controller. Common causes are:
-
Load torque higher than the motor can deliver at that speed.
-
Acceleration that is too fast.
-
Supply voltage that is too low for the speed.
-
Driver current set too low.
-
Resonance at some speeds, which makes the rotor shake.
-
Mechanical binding, such as a tight bearing or a jam.
Watch out: missed steps do not raise an alarm
In open loop, a lost step leaves the controller out of sync with the shaft. The error stays until you re-home the axis. Size the motor with a safety margin, and read our sizing guide. If you cannot accept silent errors, look at a closed-loop stepper, which reports and corrects missed steps.
In our experience, most lost steps come from too little torque margin or too fast acceleration. Both are cheap to fix on paper and costly to fix after the machine is built.
Related: Microstepping
Microstepping divides each full step into smaller parts, such as 1/16 or 1/256 of a step. It makes the motor run smoother and quieter. It does not add torque or accuracy.
To learn how it works and how to set it, read our guide to microstepping.
How Apexwell Can Help
Apexwell builds hybrid stepper motors from NEMA 8 to NEMA 34, plus drivers and closed-loop steppers. Browse our stepper motors and match one to your torque and speed needs.
Pick the driver with care, because it sets the current and the step mode. See our stepper drivers.
Not sure how much torque margin you need? Talk to an engineer. We can check a motor and driver pair before you order.
Frequently Asked Questions
How does a stepper motor work in simple terms?
A driver turns the motor coils on and off in a set order. Each change pulls the rotor to the next position. One pulse makes one step.
Does a stepper motor need feedback?
Not always. Most steppers run open loop, with no sensor. The driver counts steps. This works well if the load stays within the motor limits. Add an encoder, or choose a closed-loop stepper, when a missed step is not acceptable.
How many steps per turn does a stepper motor have?
A 1.8° motor has 200 full steps per turn. A 0.9° motor has 400. Microstepping splits these into smaller parts.
Can a stepper motor hold a load with power off?
Only a little. Detent torque is small. For a vertical axis or a load that must not move, add a brake or use a self-locking drive.
Sources and Further Reading
-
Stepper motor (encyclopedia article); en.wikipedia.org/wiki/Stepper_motor
-
Stepper Motor Drive Circuit Basics, Texas Instruments; ti.com
-
Stepper Motor Basics, Pololu



