Selection guide
Stepper encoder sizing for 0.00001 in position display
Short answer
Decoded counts per revolution equal the screw lead divided by the display increment, and the encoder's pulses per revolution are one quarter of that with four-count quadrature decoding. For a 1 in/rev screw displayed to 0.00001 in that is a 25,000 PPR encoder at the screw end, one per axis. Confirm the datasheet's PPR convention and the true lead before ordering.

On this page
Mount a 25,000 pulse per revolution quadrature encoder on the end of a 1 in/rev ball screw and a four-count decoder resolves it to 100,000 decoded counts per revolution, one count per 0.00001 in of travel. That is the encoder this two-axis stepper positioning job needs for its display: anything finer is wasted, anything coarser cannot show the last digit. The rule behind the number is short: decoded counts per revolution equal the screw lead divided by the display increment, and the encoder's pulses per revolution are one quarter of that. This article works the arithmetic, tabulates encoder size against common screw leads, and separates the three things that get confused on these builds: microstep command resolution, encoder feedback, and what the indicator actually proves.
Size the encoder from lead and display increment #
The encoder requirement follows from two numbers you already have and one convention you must confirm:
- L, the screw lead: inches of table travel per screw revolution.
- R, the display increment: inches per count, the last digit the operator reads.
- The decode convention: how many counts the counter registers per encoder cycle.
The decoded count density is C = L / R counts per screw revolution. A quadrature counter that counts both edges of both A and B phases registers four counts per encoder cycle, so the encoder needs PPR = C / 4. Confirm two things before ordering: whether the datasheet states PPR as cycles per revolution (the line count) or already multiplied by four, and which decode mode the counter is actually set to. A pulse count stated one way and read the other is a factor-of-four error, and the display will be off by exactly four.
Mount the encoder at the screw end of the coupling so it counts screw rotation directly. The same line-count arithmetic for a servo axis is worked in encoder line count for a servo ball screw axis.
Sizing the encoder for a 1 in/rev screw at the target display increment #
Inputs:
- Screw lead L = 1.000 in/rev. This is the assumed lead behind the requested display; verify it against the screw datasheet or by measurement before ordering.
- Display increment R = 0.00001 in/count, from the digital indicator resolution the reader wants the operator display to match.
- Decode factor = 4 counts per encoder cycle, the standard quadrature setting of the counter, to be confirmed in its documentation.
Rule in words: divide the lead by the increment to get decoded counts per screw revolution, then divide by four to get the encoder's pulses per revolution.
Arithmetic:
- C = 1.000 in/rev ÷ R = 100,000 counts/rev
- PPR = 100,000 counts/rev ÷ 4 counts/cycle = 25,000 PPR
Result: one screw revolution yields 100,000 decoded counts, so each decoded count corresponds to the target display increment of table travel.
Decision: specify a 25,000 PPR quadrature encoder, mounted at the screw end, one per axis. If the verified lead is longer than the assumed value the encoder must be finer; if shorter, coarser; take the number from the table below. Do not accept a coarser encoder with software interpolation of the last digit: interpolation displays a number without measuring anything.
Encoder size by screw lead #
Required encoder size for the target display increment (the first two value columns), with 0.00002 in in the last column, four-count quadrature decoding, encoder at the screw end. These are calculated values, not catalog ratings; where no exact PPR exists, choose the next standard size at or above the calculated value and scale in the controller, never below it.
| Screw lead | Decoded counts/rev | Encoder PPR | Encoder PPR at 0.00002 in |
|---|---|---|---|
| 0.200 in/rev | 20,000 | 5,000 | 2,500 |
| 0.250 in/rev | 25,000 | 6,250 | 3,125 |
| 0.500 in/rev | 50,000 | 12,500 | 6,250 |
| 1.000 in/rev | 100,000 | 25,000 | 12,500 |
| 2.000 in/rev | 200,000 | 50,000 | 25,000 |
The last column matters when the display only needs to match the commanded increment rather than the indicator: it cuts the encoder requirement in half.
Commanded position is not measured position #
The stepper command reaches 0.00002 in per microstep through microstepping and the screw lead. That is the commanded resolution. The encoder measures where the screw actually is, after lost steps, coupling windup and backlash, and the display should show the encoder count, not the commanded count; the gap between the two is exactly what stepper encoder feedback: commanded position vs measured is about. If the controller compares the two, set the allowed difference from what the machine needs, not from the display increment. The scaled count is shown at the operator station; where computer and display are one unit at the machine, that station is an industrial panel PC running the position application.
Signal names and decoding convention to confirm #
Before the order, match the encoder's output driver (differential line driver, TTL or open collector) to the counter's inputs, and wire A and B per both documents: which phase leads decides the sign of the count. Matching encoder signal names between motor and servo drive covers the same wiring discipline, and the decode of A and B quadrature signals is what turns the two square waves into counts and direction. Swapped A and B reverses the display's sign but not its count density, so it shows up in commissioning, not in the sizing.
Commission each axis #
- Measure the true lead: jog the axis through a known indicator span, read the encoder counts, and divide; replace the assumed lead in the scaling if it differs.
- Enter the counts-per-inch scaling in the controller from that measurement, not from the catalog lead.
- Jog both directions at low speed, with the guard in place and the axis clear of hard stops, and confirm each display counts up in the positive direction.
- Compare the display against the indicator across the travel in both directions and record the reversal difference; that number is the axis's real two-direction performance, whatever the last digit says.
- Repeat for the second axis with its own encoder and counter channel, and test simultaneous motion only if the controller supports it.
Questions asked
How many pulses per revolution does the encoder need for a 0.00001 in display?
For a 1 in/rev ball screw, a 25,000 PPR encoder with four-count quadrature decoding gives 100,000 decoded counts per revolution, one count per 0.00001 in of travel. Divide your actual lead by the display increment and then by four if the lead is different; the table in the article covers common leads.
Does a 0.00001 in display resolution mean 0.00001 in positioning accuracy?
No. It is the increment the display can show, not what the mechanism repeats. Screw lead error, backlash and coupling windup all sit between the encoder count and the workpiece. Verify with an indicator over the full travel in both directions and record the reversal difference before trusting the last digit.
Can the encoder sit on the motor instead of the screw end?
Yes, but divide by everything between them. With a 2:1 belt from motor to screw, a motor-shaft encoder sees two revolutions per screw revolution, so half the PPR gives the same counts per inch. With the stepper direct-coupled the counts match, but a motor-shaft encoder cannot see a slipping or wind-up coupling.
Can both axes share one encoder?
No. Each axis needs its own encoder and its own counter channel, because each screw has its own lead error and its own lost motion. A two-axis controller counts both independently and displays them separately; one shared feedback device would leave the second axis unmeasured.


