Calculator + technical guide

2-Phase 4-Wire Micro Stepper MotorResolution Calculator

Estimate command pulses per revolution or millimeter, then check wiring, current limits, and positioning caveats.

Use the calculator
Micro Stepper Command Resolution Calculator
Example defaults: 18°, 1/16, 1 mm/rev. Replace with your setup; results update automatically.

Example default: 18°. Replace it with the exact full-step angle in your motor datasheet.

Select a mode supported by your driver and configured in your controller.

For a lead screw, enter its lead (travel per revolution), not thread pitch unless they are equal. Include any gear ratio so this is travel per motor revolution.

Command pulses / rev

320

360° ÷ angle × microstep mode

Command pulses / mm

320

0.003125 mm per pulse

Command spacing is theoretical, not positioning accuracy. Load, friction, backlash, motor tolerances, and driver current affect actual motion.

What the calculator tells you

Use the result to configure a controller’s pulse scaling. Use the motor datasheet and a test of the assembled mechanism to decide whether it will meet the application’s load and positioning needs.

Four wires describe a connection

A standard four-lead bipolar motor exposes the two ends of each phase coil. Wire count does not tell you the motor’s step angle, rated phase current, or torque; confirm those values for the exact model.

The calculator estimates command spacing

It converts full-step angle, driver microstep mode, and travel per revolution into controller pulses. Friction, backlash, load, motor tolerances, and driver current control determine how closely motion follows those commands.

Use model-specific current limits

Micro motors do not share one safe current or resistance range. Set the driver from the motor and driver documentation, then check temperature under the real duty cycle.

Example: one documented 15 mm motor

MOONS’ 15PM020S0-01002 is the source for the calculator’s 18° example angle. Its published specifications illustrate one model; they should not be generalized to every micro stepper.

Published parameterMOONS’ 15PM020S0-01002How to use it
Configuration2 phases; bipolar coil typeConfirms this example is a two-phase bipolar model.
Full-step angle18° (20 full steps/revolution)Sets full steps per revolution: 360° ÷ 18° = 20.
Nominal voltage5 V DCFollow the motor and driver current-control instructions before choosing a supply.
Phase resistance10.5 Ω ±10% at 20°CUse the specified test temperature and tolerance; do not apply another motor’s resistance range.
Holding torque3.6 mN·mA holding value is not a torque-versus-speed curve or a load guarantee.

Source checked 2026-10-06. Product data can change; confirm the current datasheet for the exact model before purchase or wiring.

For a separate mounting and model-fit comparison, see the 15 mm 4-wire motor fit guide.

Read the motor label before choosing a driver

Wire count helps identify connection topology. It cannot replace the model-specific values that determine motion and electrical compatibility.

Label or valueWhat it tells youWhat to verify
Four-lead connectionA standard two-phase bipolar motor exposes two ends for each phase coil.The exact pinout and wire colors in the motor documentation.
Full-step angleThe motor’s full-step command count per revolution: 360° divided by the angle.The exact part’s datasheet; wire count does not specify step angle.
Current and torqueNothing quantitative from wire count alone; these depend on motor design and operating point.Rated phase current, torque curves, thermal limits, and driver capability.

Microstepping changes pulse count, not guaranteed accuracy

For the 18° example above, assume 1.0 mm of travel per motor revolution. The listed increment is the theoretical command distance per pulse, not a measured movement specification.

Driver modeCommand pulses / revTheoretical distance / pulse
Full step (1×)2050 µm
1/4 step8012.5 µm
1/16 step3203.125 µm
1/32 step6401.563 µm

Positioning limit

TI’s analysis gives about 9.8% of full-step holding torque as the theoretical incremental torque at 1/16 microstepping. If that increment cannot overcome the actual load, friction, and detent torque, several commands may be needed before the shaft moves. Use measured travel and the motor manufacturer’s guidance when accuracy matters. See the TI application report for the assumptions and analysis.

Identify and connect the two coil pairs

Wire colors are not a reliable substitute for a motor pinout. Use the datasheet when available; otherwise identify the pairs with resistance measurements before connecting a driver. SparkFun's coil-pair identification guide covers this check. Basic pair-to-output wiring is shown in the Pololu four-lead bipolar guide. For a dedicated phase-pair check, use the two-phase four-wire wiring tool.

  1. 1

    Power down and disconnect

    Turn off the motor supply and disconnect the motor from the driver before using a multimeter in resistance mode.

  2. 2

    Measure all lead combinations

    The two ends of one winding show a finite resistance. Leads from different windings remain open. Record the two pairs; the exact resistance depends on the motor.

  3. 3

    Connect one pair to each phase

    Connect one coil pair to A1/A2 and the other to B1/B2, or use the equivalent labels in the driver manual. Do not cross wires from different coils.

  4. 4

    Set current, then test slowly

    Set phase current from the motor rating and driver instructions before enabling power. If direction is backward, power down and swap the two wires of one phase.

Two winding pairs connect to two bipolar driver phasesMotor lead pair A connects to driver outputs A1 and A2. Motor lead pair B connects to outputs B1 and B2. The drawing does not indicate wire colors or polarity.MOTOR COILSPhase A pairPhase B pairBIPOLAR DRIVERA1 / A2 outputsB1 / B2 outputsIdentify pairs; wire colors and polarity are model-specific

Pairing diagram only. Confirm terminal names in the driver manual.

Selection limits and risk controls

Check these items against the exact motor, driver board, and mechanism before a powered test.

Current set above the motor rating

Risk: Excess winding current can overheat a small motor or reduce its service life.

Check: Start from the motor’s rated phase current and the driver’s current-setting procedure. Check motor and driver temperature after reaching steady operation.

Microstep setting treated as measured accuracy

Risk: Commanded increments can be smaller than the motion the motor can produce under load.

Check: Use the calculator for controller pulse scaling. Measure the assembled mechanism under its working load when position accuracy matters.

Motor leads moved while powered

Risk: Changing motor connections with a driver energized can damage the driver or interrupt motion unexpectedly.

Check: Disable motor power before changing any phase connection. Verify the coil pairs and current limit before the first powered test.

Do not connect or disconnect motor leads while a driver is powered; see the SparkFun driver warning.

Evidence and calculation method

The calculator uses published motor angle and configured driver division; it does not estimate torque, electrical current, or measured axis accuracy.

1. Full steps per revolution

360° ÷ motor full-step angle

2. Command pulses per revolution

full steps × driver microsteps per full step

3. Linear pulse scaling

pulses per revolution ÷ travel per revolution

MOONS’ 15PM020S0-01002 product specification

Manufacturer listing for one 15 mm, two-phase bipolar sample: 18° step angle, 5 V nominal voltage, 10.5 Ω ±10% resistance at 20°C, and 3.6 mN·m holding torque. This is a model example, not a universal micro-motor range.

MOONS’ Industries · Checked 2026-10-06

How to Improve Motion Smoothness and Accuracy of Stepper Motors

TI explains that incremental torque decreases as microsteps divide a full step; actual movement depends on whether incremental torque exceeds load, bearing friction, and detent torque.

Texas Instruments, application report SLOA293A · Checked 2026-10-06

Four-lead bipolar stepper motor connections

Shows one coil pair connected to each bipolar driver output pair and explains that swapping one coil pair reverses direction, while mixing leads from different coils causes erratic motion.

Pololu, Application Note 0J88 · Checked 2026-10-06

Choosing a stepper motor and controller

Explains how motor rated current, driver current capability, supply voltage, and current limiting constrain a compatible setup.

Pololu Tic User’s Guide · Checked 2026-10-06

Frequently asked questions

Have the motor part number, rated current, load, and travel requirement ready for a useful selection review.
Recalculate your pulse scaling

Inquiry email

[email protected]

Open email app
Start inquiryOpens your default email client.

Published 2026-09-26 · Updated 2026-10-06