Chain Drive & Sprockets

Sprocket pitch diameter is PD = p / sin(180°/N). Chain length must come out as an even number of pitches (an odd count needs a weak offset link), so the buildable centre distance is always a little larger than your target.

Driver pitch dia
Driven pitch dia
Chain length (links)
Actual centre distance
Ratio / output speed
Chain speed
Working tension
Wrap on small sprocket
Speed variation

Keep at least 120° of wrap and 17+ teeth on the small sprocket — fewer teeth means more chordal action (pulsing speed) and faster wear. Chain rating also depends on lubrication method.

A helper, not a substitute for engineering judgment. Verify against the governing standard.