Belt length calculator
Enter pulley diameters and where the pulleys sit. You get the belt length round the outside of all of them, how much of each pulley the belt wraps, and a drawing to scale.
The formula
For two pulleys of radius r₁ and r₂ with centres d apart, an open belt is L = 2√(d² − (r₁ − r₂)²) + r₁(π + 2β) + r₂(π − 2β), where sin β = (r₁ − r₂) ÷ d. The bigger pulley is wrapped by π + 2β radians and the smaller by π − 2β. With three or more pulleys the belt runs straight between each pair and wraps each pulley by its turning angle; the angles add up to one full turn.
This assumes every pulley is on the outside of the loop. A tensioner or idler pressing on the back of the belt changes the length. The calculator uses pitch diameters: for a toothed or V belt, use the pulley's pitch diameter, not its outside diameter. Checked in tests against the two-pulley formula and against equal-pulley loops, whose length is the perimeter of the centres plus one pulley's circumference.
Tested: two equal pulleys give two straight runs plus one circle, unequal pulleys match the open-belt formula, three pulleys’ wraps add up to a full turn with every run tangent at both ends, and a pulley inside the belt is rejected (packages/mechanics/test/drive.test.ts).
Related: Pulley RPM calculator · Chain length calculator · Gear ratio