# Microstepping Resolution: The Step Angle Calculation

> How to calculate stepper resolution from step angle and microstep setting, with a worked 1.8 degree example and the effect on torque.

Canonical: https://roboticsengineering.in/microstepping-resolution-calculation/ | Published: 2026-11-25 | Updated: 2026-11-25 | Author: Jignesh S Panchal

**The microstepping resolution calculation is simple: divide the motor’s full step angle by the microstep setting. A 1.8 degree motor at 1/16 microstepping moves 1.8 / 16 = 0.1125 degrees per microstep, which is 3200 microsteps per revolution.**

## Key takeaways

- Steps per revolution equals 360 divided by the full step angle, so a 1.8 degree motor has 200 full steps.
- Microsteps per revolution equals full steps multiplied by the microstep divisor.
- Finer microsteps give smoother motion and a smaller commanded angle, but each microstep produces less incremental torque, so accuracy does not improve in proportion.
- Under load the rotor lags the commanded position, so check position error rather than trusting the step count.

## Full Steps per Revolution

A full step is one move of the motor’s rotor from one detent position to the next with the coils driven at full current. The step angle is printed on the motor datasheet, and the most common value for hobby motors is 1.8 degrees, although some are 0.9 degrees and a few are 7.5 degrees. Full steps per revolution is `360 / step angle`, so 360 / 1.8 = 200 and 360 / 0.9 = 400. Geared steppers such as the 28BYJ-48 also include a gearbox, which multiplies the steps per output revolution; read its datasheet for the real ratio before calculating. The [stepper motor Arduino guide](https://roboticsengineering.in/stepper-motor-arduino-guide/) shows how the basic wiring and control work.

## Microstep Multiplier

The microstep multiplier is the number of small steps a driver divides each full step into by shaping the coil currents into a stepped sine wave. Common settings are 1 (full step), 2, 4, 8, 16 and sometimes 32 or more. The A4988 is commonly listed up to 1/16, and the DRV8825 up to 1/32. Check your driver’s datasheet and the pin table for the MS1, MS2 and MS3 settings, because the pin combinations differ between chips. The [A4988 stepper driver](https://roboticsengineering.in/components/a4988-stepper-driver/) and [DRV8825 stepper driver](https://roboticsengineering.in/components/drv8825-stepper-driver/) pages cover their limits, and [TMC2209 versus A4988](https://roboticsengineering.in/tmc2209-vs-a4988-stepper-driver/) compares a newer family that interpolates to fine microsteps internally.

## Resolution in Degrees

Resolution is the smallest commanded angle: `resolution = step angle / microstep divisor`. For a 1.8 degree motor:

| Setting | Divisor | Microsteps per rev | Degrees per microstep |
| --- | --- | --- | --- |
| Full | 1 | 200 | 1.8 |
| Half | 2 | 400 | 0.9 |
| Quarter | 4 | 800 | 0.45 |
| Eighth | 8 | 1600 | 0.225 |
| Sixteenth | 16 | 3200 | 0.1125 |
| Thirty-second | 32 | 6400 | 0.05625 |

## Worked Example for a 1.8 Degree Motor

This example turns the numbers into linear distance for a belt-driven camera slider or similar mechanism. Assumptions: a 1.8 degree motor, 1/16 microstepping, and a belt pulley with 20 teeth on a 2 mm pitch belt.

1. Steps per revolution: 360 / 1.8 = 200 full steps. At 1/16, 200 x 16 = 3200 microsteps per revolution.
2. Belt travel per revolution: 20 teeth x 2 mm = 40 mm.
3. Distance per microstep: 40 / 3200 = 0.0125 mm.
4. To move 100 mm: 100 / 0.0125 = 8000 microsteps, which is 2.5 revolutions (8000 / 3200).
5. Pulse rate for 50 mm per second: 50 / 0.0125 = 4000 microsteps per second.

The last number matters because Arduino code and driver inputs have a maximum pulse rate. The [stepper motor step frequency calculator](https://roboticsengineering.in/stepper-motor-step-frequency-calculator/) does the same arithmetic. A build that uses this is the [motorised camera slider with NEMA 17 and A4988](https://roboticsengineering.in/projects/motorised-camera-slider-nema17-a4988-arduino/), and a geared one is the [stepper turntable with the 28BYJ-48](https://roboticsengineering.in/projects/stepper-turntable-28byj-48-arduino/).

## Effect on Torque

Microstepping smooths motion but does not give you the holding torque at every microstep. In the ideal model, one full step is 90 electrical degrees, and the incremental torque from a single microstep is about `T_hold x sin(90 degrees / N)`, where N is the divisor.

| Divisor N | Angle 90 / N | sin of angle | Incremental torque (share of holding) |
| --- | --- | --- | --- |
| 2 | 45 degrees | 0.707 | 71 percent |
| 4 | 22.5 degrees | 0.383 | 38 percent |
| 8 | 11.25 degrees | 0.195 | 20 percent |
| 16 | 5.625 degrees | 0.098 | 10 percent |
| 32 | 2.8125 degrees | 0.049 | 5 percent |

This is an idealised model. Real motors differ, and the datasheet torque curve matters more. Read [NEMA 17 versus NEMA 23](https://roboticsengineering.in/nema-17-vs-nema-23-stepper/) when you need to choose a motor with torque to spare.

## Checking Position Error

Position error is the difference between where you commanded the rotor and where it actually sits. Under load, the rotor lags by an angle set by the load torque. In the ideal model, the electrical lag is `asin(T_load / T_hold)`, and one electrical degree is 1.8 / 90 = 0.02 mechanical degrees for a 1.8 degree motor. If the load torque is 30 percent of the holding torque, asin(0.3) = 17.46 electrical degrees, so the rotor lags by 17.46 x 0.02 = 0.349 mechanical degrees. That is about 0.349 / 0.1125 = 3.1 microsteps at 1/16.

Motors also have their own step accuracy, commonly listed in the datasheet as a percentage of a full step (check yours). So a 1/32 setting can be smoother without being more accurate. Count steps in code, and verify against a physical mark or a dial gauge.

## How to check this yourself

1. Read the step angle on your motor’s label or datasheet and calculate full steps per revolution.
2. Set the driver’s MS pins as the datasheet table says and confirm the divisor.
3. Mark the shaft with tape, command exactly one revolution in steps (for example 3200 at 1/16) and see whether the mark returns to the same spot.
4. Repeat 20 revolutions and look for drift. Drift suggests missed steps, so check current, speed and acceleration.
5. Add a load and repeat to see how much the position shifts.

## Common mistakes

- Assuming 1/32 microstepping makes the stepper 32 times more accurate.
- Forgetting the gearbox ratio on a geared stepper such as a 28BYJ-48 when calculating steps per output revolution.
- Setting the divisor in code but leaving the driver’s MS pins at a different setting.
- Raising the divisor without checking the controller can still generate the higher pulse rate.

## Frequently asked questions

### How many steps per revolution is a 1.8 degree stepper?

A 1.8 degree stepper has 360 / 1.8 = 200 full steps per revolution. With 1/16 microstepping that becomes 200 x 16 = 3200 microsteps per revolution. Always check the motor’s datasheet, because a 0.9 degree motor has 400 full steps.

### Does more microstepping give more torque?

No. Microstepping does not increase holding torque, and each individual microstep adds less incremental torque than a full step. It mainly makes motion smoother and quieter. For more torque, choose a larger motor or raise the current within the motor and driver ratings.

### Which microstep setting should I use for A4988?

Many makers use 1/8 or 1/16 as a balance between smoothness and pulse rate, but the right choice depends on your speed and controller. Calculate the pulse rate you need, check the controller can generate it, and test the motion for resonance.

## Related reading

- [Learn hub](https://roboticsengineering.in/learn/): more stepper and motion explainers.
- [Compressed Air Consumption for Cylinders: Calculation](https://roboticsengineering.in/compressed-air-consumption-cylinder-calculation/)
- [Camera Field of View and Pixel Size: The Calculation](https://roboticsengineering.in/camera-field-of-view-pixel-calculation/)
- [Takt Time: How to Calculate It for a Production Line](https://roboticsengineering.in/takt-time-calculation-production-line/)

## About the author and how this is kept accurate

Written, checked and maintained by [Jignesh Panchal](https://www.linkedin.com/in/jignesh-s-panchal/) of [Jaadu Digital](https://jaadudigital.com/). Figures in worked examples come from the stated assumptions, not from a bench test of our own. Read the [editorial standard](https://roboticsengineering.in/editorial-standard/), follow the author on [LinkedIn](https://www.linkedin.com/in/jignesh-s-panchal/), or [send a correction](https://roboticsengineering.in/contact/). Last reviewed: November 2026.
