All calculators

Encoder Resolution Calculator

Convert encoder pulses and quadrature decoding into counts, travel resolution and frequency at the counter input.

Enter your values

Try an example

Your result

Travel per count0.05 mm
Decoded counts / revolution
4000
Target counts (before rounding)
1000
Channel pulse frequency (Hz)
1000
Decoded count frequency (Hz)
4000

Calculated

One shaft revolution becomes pulses, counts and travel
Encoder Resolution CalculatorCHANNEL ACHANNEL B4000 / rev · 0.05 mm

How this answer is calculated

These steps use your current values. Change an input to follow a different calculation.

  1. 1

    Apply the selected edge-decoding factor

    1000 × 4 = 4000
  2. 2

    Divide travel by counts per revolution

    200 mm ÷ (1000 × 4) = 0.05 mm
  3. 3

    Convert the requested distance to counts

    50 ÷ 0.05 = 1000

How to use this on a job

The encoder label and the counter setting must describe the same events. One pulse cycle on channel A can become one, two or four counts depending on decoding. Establish that before scaling position.

  1. 01

    Enter cycles per revolution on one encoder channel, then choose the counter’s x1, x2 or x4 decoding. Do not multiply a manufacturer’s already-decoded counts-per-revolution value again.

  2. 02

    Enter mechanical travel for one encoder revolution. For a directly coupled measuring wheel use its working circumference; for a screw use its lead; for a geared encoder include the ratio first.

  3. 03

    Enter speed and target travel. Compare channel pulse frequency with the input hardware’s rating, and decoded count frequency with the counter’s supported mode. Fractional target counts require a deliberate rounding decision in the application.

Work through one example

distance [mm] = counts × travel/rev ÷ counts/rev

A 1,000-cycle encoder with x4 decoding produces 4,000 counts per revolution. At 200 mm travel per revolution, each count represents 0.05 mm. Moving 50 mm requires 1,000 counts. At 60 rpm, the A-channel frequency is 1 kHz while the decoded count rate is 4 kHz.

Before you trust the answer

PPR and CPR are not used consistently across manufacturers. This calculator’s PPR means complete cycles on one channel. Resolution is not accuracy: wheel slip, eccentricity, backlash and missed edges can dominate the error even when the arithmetic is exact.

1,000 channel cycles and 200 mm travel per revolution

DecodingCounts per revolutionDistance per count
x11,0000.2 mm
x22,0000.1 mm
x44,0000.05 mm

Questions that come up on the job

Do I multiply CPR by four?

Check the definition in the encoder and counter manuals. If CPR already means decoded counts per revolution, multiplying by four again creates a fourfold error. This calculator takes complete cycles on one channel, then applies the selected x1, x2 or x4 decoding.

What if the target distance needs half a count?

The counter measures whole edges. Choose a rounding policy that matches the application, then calculate the resulting distance error. More displayed decimal places cannot create a physical edge between two encoder transitions.

TRYPLC FIELD REFERENCE / 01

Encoder Resolution Calculator

Convert encoder pulses and quadrature decoding into counts, travel resolution and frequency at the counter input.

  • counts/rev = channel cycles/rev × decode factor
  • distance/count = travel/rev ÷ counts/rev
  • pulse Hz = cycles/rev × rpm ÷ 60
  • count Hz = pulse Hz × decode factor
Encoder Resolution CalculatorCHANNEL ACHANNEL B4000 / rev · 0.05 mm

How to use this on a job

The encoder label and the counter setting must describe the same events. One pulse cycle on channel A can become one, two or four counts depending on decoding. Establish that before scaling position.

  1. 01

    Enter cycles per revolution on one encoder channel, then choose the counter’s x1, x2 or x4 decoding. Do not multiply a manufacturer’s already-decoded counts-per-revolution value again.

  2. 02

    Enter mechanical travel for one encoder revolution. For a directly coupled measuring wheel use its working circumference; for a screw use its lead; for a geared encoder include the ratio first.

  3. 03

    Enter speed and target travel. Compare channel pulse frequency with the input hardware’s rating, and decoded count frequency with the counter’s supported mode. Fractional target counts require a deliberate rounding decision in the application.

Work through one example

distance [mm] = counts × travel/rev ÷ counts/rev

A 1,000-cycle encoder with x4 decoding produces 4,000 counts per revolution. At 200 mm travel per revolution, each count represents 0.05 mm. Moving 50 mm requires 1,000 counts. At 60 rpm, the A-channel frequency is 1 kHz while the decoded count rate is 4 kHz.

Before you trust the answer

PPR and CPR are not used consistently across manufacturers. This calculator’s PPR means complete cycles on one channel. Resolution is not accuracy: wheel slip, eccentricity, backlash and missed edges can dominate the error even when the arithmetic is exact.

https://tryplc.com/tools/encoder-resolution