Optical Encoder Speed Calculator

n = (count / PPR) × 60 / t

Quick answer: This calculator solves n_RPM = (count / PPR) × (60 / t) for Speed (RPM). With Pulse Count 1.1, Pulses Per Rev 2.35, Measurement Time 1 s, the result is 28.09.

Calculator

Loading calculator…

Formula

n_RPM = (count / PPR) × (60 / t)

Description

An optical (or magnetic) encoder generates a fixed number of pulses per revolution (PPR). By counting pulses over a known time period, the rotational speed can be calculated. The count divided by PPR gives the number of revolutions in the measurement period, and multiplying by 60/t converts to RPM. This frequency-measurement method works best at moderate to high speeds. At very low speeds, the period-measurement method (measuring time between individual pulses) provides better resolution.

Variables

SymbolMeaning
nRotational speed (RPM)
countNumber of encoder pulses counted in the measurement period
PPREncoder pulses per revolution
tMeasurement time window (s)

Practical Notes

Common encoder resolutions: 100-1000 PPR for general industrial, 2000-10000 PPR for precision servo. Quadrature encoders (A/B channels) multiply the effective resolution by 4× when counting all edges. At low speeds, quantization error is significant: for a 1000 PPR encoder at 1 RPM measured over 100 ms, only about 1.67 pulses are counted. Use longer measurement windows or the period-measurement method for low-speed applications.

Symbols and units

SymbolDefault unitAccepted units
Speed (RPM)
Pulse Count
Pulses Per Rev
Measurement Timesps, ns, µs, ms, s, min, h

Worked examples

GivenResult
Minimum rangePulse Count 0.055, Pulses Per Rev 0.118, Measurement Time 100 µsSpeed (RPM) = 279700
Low rangePulse Count 0.55, Pulses Per Rev 1.18, Measurement Time 1 msSpeed (RPM) = 27970
TypicalPulse Count 1.1, Pulses Per Rev 2.35, Measurement Time 1 sSpeed (RPM) = 28.09
High rangePulse Count 1.76, Pulses Per Rev 3.76, Measurement Time 1 minSpeed (RPM) = 0.4681
Maximum rangePulse Count 17.6, Pulses Per Rev 37.6, Measurement Time 10 minSpeed (RPM) = 0.04681

How Speed (RPM) changes with Pulse Count

Pulse Count (input)Speed (RPM) (result)
0.112.809
0.2757.021
0.5514.04
0.82521.06
1.128.09
1.6542.13
2.256.17
4.4112.3
7.7196.6
11280.9

Embed this calculator

Paste this into any page. It keeps working when this page updates, and credits the source.

Frequently asked questions

How do you calculate Optical Encoder Speed?

Use n_RPM = (count / PPR) × (60 / t). With Pulse Count 1.1, Pulses Per Rev 2.35, Measurement Time 1 s, Speed (RPM) works out to 28.09.

How do you calculate encoder ppr to speed?

Rearrange for Speed (RPM): with Pulse Count 0.55, Pulses Per Rev 1.18, Measurement Time 1 ms, Speed (RPM) is 27970.

What is the formula for Optical Encoder Speed?

The formula is n_RPM = (count / PPR) × (60 / t). An optical (or magnetic) encoder generates a fixed number of pulses per revolution (PPR).

What does n mean in the Optical Encoder Speed formula?

n is Rotational speed (RPM).

What should I watch out for when using Optical Encoder Speed?

Common encoder resolutions: 100-1000 PPR for general industrial, 2000-10000 PPR for precision servo. Quadrature encoders (A/B channels) multiply the effective resolution by 4× when counting all edges. At low speeds, quantization error is significant: for a 1000 PPR encoder at 1 RPM measured over 100 ms, only about 1.67 pulses are counted. Use longer measurement windows or the period-measurement method for low-speed applications.