Four-Bar Linkage Calculator: Position, Angular Velocity, Angular Acceleration and Jerk, Grashof Condition, Transmission Angle, Coupler Curves and Instant Centers
Solve any four-bar from any input link. Every length and angle takes an expression, every result shows the equations behind it, and the linkage exports to CAD as blocks.
Name a value once and use it in any box below: r = 40, then 3*r. Boxes take expressions: + − * / ^, sqrt(), pi. sin, cos, tan and their inverses work in degrees.
P rides on the coupler: δ is measured counterclockwise from line AB at A. Set p = 0 to leave it out.
Angles are measured counterclockwise from +x. Positive ω and α are counterclockwise. A four-bar has two assemblies for one input angle: open (links 3 and 4 do not cross) and crossed.
Worked solution: equations, matrices and numbers
The block DXF holds one block per link, drawn on its own centre line from its first pivot. AutoCAD and SolidWorks (Insert ▸ DXF/DWG) bring each link in as a block placed at this position, ready for a layout sketch. Units are written into the file.
Vector Loop and Position
Walk around the linkage from O2 and back. The link vectors add to zero:
Split into x and y, that is two equations in the two unknown angles. Knowing any one of θ2, θ3, θ4 fixes the other two (twice: open and crossed).
With θ1 = 0, eliminating θ3 gives the input–output equation:
Velocity, Acceleration and Jerk
Each time derivative of the loop is linear in the newest unknowns. With the input's rate known, that is a small linear system:
The second derivative adds the centripetal terms r ω²; the third adds the jerk terms. The same coefficient matrix appears every time, with a new right-hand side:
Grashof Condition and Transmission Angle
Let S and L be the shortest and longest links and P, Q the other two. If S + L < P + Q (Grashof), the shortest link can turn fully relative to its neighbours:
| Shortest link is | Linkage |
|---|---|
| Crank (input) | Crank-rocker |
| Ground | Double-crank (drag link) |
| Coupler | Double-rocker |
| Rocker (output) | Rocker-crank |
If S + L > P + Q, it is a triple-rocker: no link turns fully. S + L = P + Q is a change-point linkage that can fold flat.
μ is the angle between the coupler and the rocker. Near 90° the coupler pushes the rocker well; near 0° or 180° it only pulls on the pivot.
Instant Centres and Mechanical Advantage
Any three links share three instant centres on one straight line. I12 = O2, I14 = O4, I23 = A and I34 = B are the pins. I13 lies where lines O2A and O4B cross; I24 where line AB crosses the ground line O2O4.
Mechanical advantage is the inverse of the speed ratio times the ratio of the output to input lever arms. It grows without limit at a toggle, where ω4 passes through zero.
Sources
J. Angeles and S. Bai, Kinematics of Mechanical Systems, MECH 541 lecture notes, McGill University: Freudenstein's equation (eqs. 3.8–3.10), the half-angle solution (3.73–3.77), mobility and transmission angle (3.83–3.87, 3.145).
F. Freudenstein, “Approximate synthesis of four-bar linkages,” Trans. ASME 77 (1955) 853–861.
R. L. Norton, Design of Machinery, McGraw-Hill: four-bar velocity (eq. 6.18) and acceleration (eq. 7.12) closed forms, used as a check.
Every rate is also checked by the site's tests against finite differences of the position solution, for every input link, both assemblies and many linkages.