When you're dealing with lead screws and rotary encoders, you need to translate rotary pulses into actual linear movement. If you get that conversion wrong, your system positioning will be off—sometimes by a lot. This Encoder Resolution Calculator spits out the linear distance per encoder count (and counts per mm) for a specific combination of encoder PPR, lead screw pitch, and quadrature setting. CNC machines, lab gear, and factory automation all need this nailed down, especially when you need to keep errors well under a millimetre. On this page you'll find the formulas, an example, what "quadrature" really changes, and answers to practical questions.
What is encoder resolution (PPR to linear)?
This is how far your axis moves for each electrical pulse (or "count") from your encoder. Smaller values mean finer control—each "tick" from your encoder translates to less linear distance. The PPR-to-linear calculation lets you work out that step size for your specific setup.
Simple Explanation
Your encoder works like a high-precision digital odometer on a shaft. Every tick means the screw pushes the carriage a certain amount forward. More pulses per revolution—or a finer screw pitch—make each movement step smaller and smoother. If you use quadrature, you get four counts for every encoder line by reading both channels in both directions, which increases your resolution by four times.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
System Diagram
Encoder Resolution Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
📹 Video Walkthrough — How to Use This Calculator
How to Use This Calculator
- Fill in your encoder's Pulses Per Revolution (PPR). You'll find that on the spec sheet.
- Enter your Lead Screw Pitch, in mm. That's how far the nut moves per full turn.
- Select Quadrature Encoding if your system uses it (most precision applications do).
- Click Calculate to get the results.
Encoder Resolution Calculator — PPR to Linear
You can adjust PPR, lead screw pitch, and quadrature here to see how these affect linear resolution. The numbers update in real time—good for getting a feel for how changes impact your system's positioning steps.
RESOLUTION PER COUNT
0.0005 mm
COUNTS PER MM
2000
FIRGELLI Automations — Interactive Engineering Calculators
Mathematical Formulas
The key formula for resolution is below (plug in your numbers):
Basic Resolution Formula
Resolution = Lead Screw Pitch ÷ (PPR × Quadrature Factor)
Where:
- Resolution = Linear distance per encoder count (mm/count)
- Lead Screw Pitch = Linear distance per revolution (mm)
- PPR = Pulses per revolution of encoder
- Quadrature Factor = 4 (for quadrature) or 1 (for single-channel)
Alternative Formula:
Counts per mm = (PPR × Quadrature Factor) ÷ Pitch
Simple Example
Inputs: PPR = 500, Lead Screw Pitch = 4 mm, Quadrature = enabled (4×)
Total counts per revolution = 500 × 4 = 2000
Resolution per count = 4 ÷ 2000 = 0.002 mm
Counts per mm = 2000 ÷ 4 = 500 counts/mm
Understanding Encoder Resolution in Linear Motion Systems
If you're designing or troubleshooting motion systems that convert rotation to linear movement, knowing the actual linear step size per encoder count is basic. This is how you get from the rotary pulses you can measure to the actual movement your machine makes.
How Rotary Encoders Work in Linear Systems
A rotary encoder gives you digital pulses as the shaft turns. Bolt that on the end of a lead screw, and now each time the encoder pulses, your load is moving a known amount. The actual linear movement per pulse depends on the screw pitch and the encoder’s PPR.
To put it simply: the pitch is how far the screw’s nut moves for every full turn. If your screw pitch is 2mm, one spin gives you 2mm of travel. Count up the encoder pulses for that turn and you know the linear position as long as nothing slips or loses counts.
Quadrature Encoding and 4x Multiplication
Quadrature encoders use two signal channels, offset by 90 degrees. By counting both the high and low transitions on both lines, you get four counts for each encoder line—so if your encoder datasheet says "1000 PPR," you'll actually get 4000 counts per revolution using full quadrature decoding. This not only boosts resolution but lets you tell which direction things are moving. Detecting errors is also easier since illegal transitions point to missed or extra counts.
- 4x Resolution: Counting every edge gives four times as many counts per revolution compared to a single channel
- Direction Detection: The phase relation shows if motion is forward or reverse
- Error Detection: Illegal transitions signal possible issues
So quadrature doesn’t just improve step size—it lets you keep track of direction and catch some mistakes.
Practical Applications
You’ll find this calculation in just about every field where precision matters:
CNC Machining: You have to know exactly how far the tool moves for each encoder count. For example, 2500 PPR on a 5mm ball screw gives you 0.0005mm step size per count—just plug the numbers in.
3D Printing: For reliable layer height and dimension, your encoder resolution must be tight enough for the print step you’re targeting. Modern printers sometimes want 0.01mm layers, so double-check your counts per mm can handle it.
Laboratory Automation: Automated pipetting or sample movement might need position repeatability to 0.001mm, which requires suitable encoder resolution and a good mechanical build.
Industrial Automation: Pick-and-place rigs, packaging lines, and actuators for feedback loops all depend on knowing the step size per encoder count. FIRGELLI linear actuators often run closed-loop systems using this basic math.
Worked Example
Let's put numbers to a typical automation case:
- Encoder: 1024 PPR, quadrature mode
- Lead screw: 2mm pitch
- Application: Automated dispenser
Calculation:
Total counts per revolution = 1024 × 4 = 4096 counts
Resolution = 2mm ÷ 4096 = 0.000488mm per count
Counts per mm = 4096 ÷ 2 = 2048 counts/mm
That works out to a theoretical minimum increment of 0.5 micron. In reality, don't expect results that tight—mechanical play, backlash, and thermal expansion will always make your practical accuracy worse than your calculated resolution.
Design Considerations
Resolution vs. Accuracy: Just having high encoder resolution won’t guarantee real-world accuracy. Backlash, bends, or mounting slop will show up long before you see single-count errors in most industrial setups.
Signal Integrity: Switching at high speeds with high resolution creates a lot of encoder pulses per second. Make sure your controller won’t start missing them. Max frequency is (Max RPM ÷ 60) × PPR × 4 if using quadrature.
Environmental Factors: Screw pitch can actually change as parts heat up or cool down. Steel screws move about 12 µm per metre for every °C. For very tight tolerances, you'll need to address this.
Noise and Filtering: Electrical noise causes skipped or phantom counts. Shielded cable and differential signalling reduce these issues.
Advanced Considerations
Lead vs. Pitch: Some screws have more than one thread start. In those cases, the true travel per revolution (lead) isn’t the same as the pitch. For multi-start screws, lead = pitch × number of starts. Use the lead.
Interpolation: Some digital encoder interfaces support interpolating between pulses, boosting resolution past the simple quadrature limit. If your device provides "10x interpolation," a 1000 PPR turns into 40,000 counts per revolution. Be aware this can bring extra noise sensitivity.
Absolute vs. Incremental: This approach only applies to incremental encoders. Absolute encoders use another coding method, so you’ll need a different way to figure resolution.
System Integration Tips
Some issues to check in your design:
- Coupling Selection: Use a flexible shaft coupling to handle minor misalignment but keep backlash low
- Mounting Rigidity: Rigidly mount the encoder so vibration and deflection don't change its readings
- Index Pulse: Index ("Z") pulses help re-establish known positions or zero reference points
- Backup Power: For systems that can't lose zero during a power cut, battery backup on the controller is sometimes needed
The PPR-to-linear resolution calculation is the foundation of many motion control designs. Work through these relationships up front, and the rest of your system design will go much easier.
Frequently Asked Questions
📐 Browse all 1000+ Interactive Calculators →
About the Author
Robbie Dickson
Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
