Four-Bar Linkage Calculator

Enter the four link lengths and the crank angle, and read which type of four-bar you have, where the coupler joint sits on both assembly modes, how well the coupler pushes the output link, and how far the rocker swings.

the fixed frame between the two pivots
the crank that turns about the first pivot
the floating link between crank and rocker
the rocker that turns about the second pivot
degrees from the ground line, counter-clockwise
Enter the four link lengths and the input angle to see the geometry.

A planar four-bar linkage is four links closed in a loop: the ground link between the two fixed pivots, an input link turning about the first pivot, a coupler between the moving joints, and an output link turning about the second. All four lengths may be given in any one unit, because only their ratios matter. The Grashof condition compares the shortest and the longest link against the other two: when the shortest plus the longest is no greater than the sum of the other two, the shortest link can turn through a full circle, and which link it is decides the type — double crank when it is the ground link, crank-rocker when it is one of the grounded links, double rocker when it is the coupler. Equality is a change point, where the linkage folds flat through a dead position. For a given input angle the coupler joint sits at the intersection of two circles, one of radius equal to the coupler around the end of the input link and one of radius equal to the output link around its pivot: the two intersections are the two assembly modes, and no intersection means the linkage cannot close at that angle. The transmission angle is the acute angle between the coupler and the output link, 90° transmits the most torque, and a value under 40° is the usual practical limit because the coupler then pushes the output link mostly along its own length. When the input link is a crank, the rocker turns between the two positions where the crank and coupler lie in line, and that range and its swing are reported. Lengths above 0 and up to 100 000 and input angles from 0 to 360 degrees are accepted; text, exponent notation, a blank field, a decimal comma and a value outside those ranges are handled as labelled. This is the position geometry of an ideal planar linkage: it ignores joint clearance, link deflection, out-of-plane offsets, friction and inertia, so check the mechanism against the loads and speeds it will really see. Everything runs in your browser with no storage, uploads or network access.