1. Home
  2. Mechanisms
  3. Crank-rocker
On this page
  1. Try these three things
  2. How to find the swing angle and quick return
  3. Applications
  4. What this page does not cover
  5. How the values are calculated

Crank-rocker mechanism: How it converts rotation to oscillation, and how swing angle and quick return are determined

This four-bar linkage converts the motion of a rotating crank into the back-and-forth oscillation of an output link (rocker). The swing angle and the difference in time between the forward and return strokes (quick return) are determined by the four link lengths.

Swing angle73.8°Output link oscillation
Crank angle for forward and return strokes207.2° / 152.8°Total: 360°
Time ratio1.36One stroke takes 1.36 times as long
α27.2°At 0, the forward and return strokes take the same time

These values are for the “baseline” (lengths 40, 120, 80, and 100 mm). This mechanism results when the shortest link is used as the crank and an adjacent link is fixed (Grashof's condition).

Move the crank-rocker to check its swing angle and quick return

Move the crank-rocker to check its swing angle and quick returnFour-bar linkage. Orange is input link a; purple is output link c.O2O4ABP

Pose with the first example's lengths. Enable JavaScript to switch examples or change lengths.

Lengths (mm)
Mechanism typecrank-rocker
Range of motion of input link aOne full revolution
Motion of output link c73.8° back and forth
Crank angles for the output's forward and return strokes207.2° and 152.8° (ratio 1.36)
Speed ratio (output ÷ input) range-0.96–0.54
Transmission angle range26.4°–86.4°

Output link angle (degrees)

Output link angle (degrees)406080100120140060120180240300360Crank angle (deg)Output link angle (degrees)

Speed ratio (output ÷ input)

Speed ratio (output ÷ input)-1-0.75-0.5-0.2500.250.50.75060120180240300360Crank angle (deg)Speed ratio (output ÷ input)

Try these three things

  1. Play with the “baseline” settingsIf the crank rotates at a constant speed, one stroke takes 1.36 times as long as the other. The two points where the velocity-ratio graph crosses 0 are the ends of the rocker swing.
  2. Click “nearly equal forward and return strokes”Shortening the coupler to 70 mm makes the ratio between the forward and return strokes nearly equal to 1.03. The minimum transmission angle also increases to 46.6°.
  3. Click “shorter crank”Setting the crank to 20 mm reduces the swing angle and increases the minimum transmission angle. In this example, a smaller swing angle gives a better transmission angle (transmission angle).
ExampleSwing angleForward/return ratioMinimum transmission angle
Baseline73.8°1.3626.4°
Nearly equal forward and return strokes (coupler 70 mm)60.0°1.0346.6°
Shorter crank (crank 20 mm)35.1°1.1641.4°

How to find the swing angle and quick return

The output link reaches the end of its swing when the crank and coupler are aligned. In this position, the distance from O2 to joint B has two possible values.

Extended position

The distance from O2 to B is b + a.

Overlapped position

The distance from O2 to B is b − a.

Applying the law of cosines to triangle O2-O4-B gives the output link angle and the crank angle for each position.

ψ = arccos((c² + d² − (b − a)²) / 2cd) − arccos((c² + d² − (b + a)²) / 2cd) Swing angle ψ. a crank, b coupler, c output link, d ground link

If the difference between the crank angles in the two positions is 180° + α, the crank angles for the forward and return strokes are 180° + α and 180° − α.

Time ratio = (180° + α) / (180° − α) For the “baseline,” α = 27.2°. Choosing the link lengths so that α is 0 makes the forward and return strokes take the same time

Applications

This mechanism is used where oscillating motion is needed from a rotating motor.

  • Reciprocating wipersConvert the motor's rotation into wiper oscillation.
  • Oscillating feed mechanisms and agitatorsConvert rotation into back-and-forth oscillation.
  • Using quick returnThe working stroke can be slow, while the return stroke is fast.

If you need straight-line reciprocating motion, compare it with the slider-crank mechanism.

What this page does not cover

  • This calculation covers planar rigid-body kinematics. It does not compute forces, inertia, friction, or strength.
  • When driven from the output link, the ends of the swing are dead points (toggle positions) (singular poses and dead points).
  • If changing the lengths means the mechanism is no longer a crank-rocker, its type is shown in the type field.

How the values are calculated

The poses are calculated from the closed-form equations for a four-bar linkage at crank angles from 0 to 360. The crank angles at the ends of the swing are found by interpolating the points where the velocity-ratio sign changes. The swing angle and α are also checked against the values calculated using the equations above.

The values and claims in the text are recalculated and verified when the page is built. The calculation engine version is 0.1.0.

References: R. L. Norton, “Design of Machinery” (crank-rocker design, time ratio); J. J. Uicker, G. R. Pennock, and J. E. Shigley, “Theory of Machines and Mechanisms.”

Published November 21, 2026, updated November 23, 2026. By JIT株式会社; every number is computed by the site's kinematics engine.