Four Bar Linkage Calculator






Four Bar Linkage Calculator | Kinematic Analysis Tool


Four Bar Linkage Calculator

A professional engineering tool for the kinematic analysis and simulation of planar four-bar mechanisms.

Mechanism Inputs



Select the unit for all link lengths.


Length of the fixed link between the two ground pivots.


Length of the input link that rotates.


Length of the link connecting the crank and follower.


Length of the output link.


Angle of the crank link in degrees. Current: 60°

Analysis Results

Transmission Angle (γ): °
Coupler Angle (θ3)
–°
Follower Angle (θ4)
–°
Grashof Condition
Assembly Mode


Mechanism Visualization

Visual representation of the four-bar linkage.

What is a Four Bar Linkage?

A four-bar linkage is the simplest movable closed-chain linkage, consisting of four rigid bodies (called bars or links) connected in a loop by four joints. Generally, these joints are revolute (or pin) joints. One link is fixed and is called the ground link. The link connected to the input actuator or motion source is the crank. The link that connects the crank and the output link is the coupler, and the output link is the follower or rocker. The four-bar mechanism is one of the most fundamental and versatile mechanisms in mechanical engineering, used to convert, guide, or control motion.

The behavior of the linkage is determined by the lengths of its four links. Depending on these lengths, the linkage can convert a continuous rotation into an oscillating motion (a crank-rocker), or translate two continuous rotations (a double-crank or drag-link). This relationship is defined by the Grashof condition. The four-bar linkage calculator above helps you analyze these properties instantly.

Four Bar Linkage Formula and Explanation

The position analysis of a four-bar linkage is typically solved using Freudenstein’s equation, which is derived from the vector loop equation of the mechanism: r2 + r3 = r1 + r4. By representing these vectors in complex form and separating real and imaginary parts, we can solve for the unknown angles.

A common way to solve this is to use the law of cosines. The diagonal line (d) connecting the crank-coupler joint to the ground-follower joint divides the quadrilateral into two triangles. The core formulas are:

K1cos(θ4) – K2cos(θ2) + K3 = cos(θ2 – θ4)

Where:

  • K1 = r1 / r2
  • K2 = r1 / r4
  • K3 = (r22 – r32 + r42 + r12) / (2 * r2 * r4)

This equation can be solved for the output follower angle (θ4) given the input crank angle (θ2). The coupler angle (θ3) can then be found subsequently. The transmission angle (γ) is the angle between the coupler link and the follower link, and is a critical measure of the quality of force transmission.

Variables used in the four bar linkage calculator.
Variable Meaning Unit Typical Range
r1 Ground Link Length Length (mm, cm, etc.) > 0
r2 Crank (Input) Link Length Length (mm, cm, etc.) > 0
r3 Coupler Link Length Length (mm, cm, etc.) > 0
r4 Follower (Output) Link Length Length (mm, cm, etc.) > 0
θ2 Input Crank Angle Degrees 0 – 360
θ3 Coupler Angle Degrees Calculated
θ4 Follower Angle Degrees Calculated
γ Transmission Angle Degrees 0 – 180

Practical Examples

Example 1: Crank-Rocker Mechanism

A crank-rocker mechanism is used to convert continuous rotation into an oscillating motion, common in devices like windshield wipers. Let’s design one with our four bar linkage calculator.

  • Inputs:
    • Ground (r1): 100 mm
    • Crank (r2): 40 mm (shortest link)
    • Coupler (r3): 110 mm
    • Follower (r4): 80 mm
    • Unit: mm
  • Condition Check: The sum of the shortest (40) and longest (110) links is 150. The sum of the other two is 100 + 80 = 180. Since 150 < 180, it satisfies Grashof's condition. Because the shortest link (crank) is adjacent to the ground link, it will be a crank-rocker.
  • Results: As you move the input crank angle slider, you will see the follower link (r4) rock back and forth without completing a full rotation, while the crank (r2) can rotate 360 degrees.

You can further explore mechanism design with our Gear Ratio Calculator.

Example 2: Double-Crank (Drag-Link) Mechanism

A double-crank mechanism has both the input and output links making full rotations. This occurs when the shortest link is the ground link.

  • Inputs:
    • Ground (r1): 40 mm (shortest link)
    • Crank (r2): 80 mm
    • Coupler (r3): 90 mm
    • Follower (r4): 70 mm
    • Unit: mm
  • Condition Check: Shortest (40) + Longest (90) = 130. Other two (80 + 70) = 150. Since 130 < 150, it is a Grashof mechanism. Since the shortest link is the ground link, it is a double-crank.
  • Results: Using these values in the calculator, you’ll observe that both the input (r2) and follower (r4) links can perform full 360-degree rotations. This is useful for applications requiring synchronized rotations. Understanding this is key to kinematic synthesis.

How to Use This Four Bar Linkage Calculator

  1. Select Units: Start by choosing a consistent unit of length (e.g., mm, cm, in) for your mechanism. All link lengths must use this same unit.
  2. Enter Link Lengths: Input the lengths for the four bars: Ground (r1), Crank (r2), Coupler (r3), and Follower (r4).
  3. Set Input Angle: Use the slider to adjust the Input Crank Angle (θ2). The corresponding value in degrees will be displayed.
  4. Interpret Results: The calculator automatically updates the results in real-time.
    • Primary Result: The Transmission Angle (γ) is shown prominently. A value close to 90° indicates efficient force transmission, while values below 40° or above 140° are generally considered poor.
    • Intermediate Values: The Coupler Angle (θ3) and Follower Angle (θ4) are displayed. The calculator also tells you if the mechanism satisfies the Grashof condition and what the resulting motion type is (e.g., Crank-Rocker).
  5. Visualize Motion: The canvas diagram provides a scaled, real-time animation of the linkage, helping you visualize its movement and check for physical interferences.

Key Factors That Affect Four Bar Linkage Motion

The motion of a four-bar linkage is highly sensitive to its geometry. For effective advanced mechanism design, consider these factors:

Grashof’s Condition
This is the most critical factor. It states that if the sum of the shortest and longest link lengths is less than or equal to the sum of the other two links (S + L ≤ P + Q), at least one link can make a full 360-degree rotation. If not, it is a non-Grashof linkage where no link can fully rotate (a triple-rocker).
Kinematic Inversion
The type of motion depends on which link is chosen as the fixed (ground) link. Fixing different links of the same linkage creates different mechanisms (e.g., a crank-rocker can be inverted to become a double-crank). A crank-rocker calculator can help explore this.
Transmission Angle (γ)
This angle between the coupler and the follower determines how effectively force is transmitted from the coupler to the output. A transmission angle of 90° is optimal. When it becomes too small (or large), the mechanism can bind or have very high internal forces. This is crucial for transmission angle optimization.
Link Length Ratios
The ratios r1/r2, r3/r4, etc., dictate the specific path of the coupler point and the range of motion of the follower. Small changes can dramatically alter the mechanism’s behavior.
Toggle Positions
These are positions where the crank and coupler are collinear. They define the limits of motion for a rocker link and are also points where the transmission angle is at its minimum or maximum (0° or 180°), causing the mechanism to lock or “toggle.”
Coupler Point Path
A point on the coupler link traces a specific curve (a coupler curve). These curves can be very complex and are often used in machinery to generate a desired path of motion, a key part of kinematic synthesis.

Frequently Asked Questions (FAQ)

1. What happens if my linkage doesn’t meet the Grashof condition?

If S + L > P + Q, the linkage is a “triple-rocker.” No link can complete a full 360-degree rotation relative to any other link. All three moving links will only oscillate between two limits.

2. What do the ‘Open’ and ‘Crossed’ assembly modes mean?

For a given input crank angle, there are mathematically two possible solutions for the positions of the coupler and follower links. The “Open” configuration is typically the one shown, where the links form a convex quadrilateral. The “Crossed” configuration would have the coupler and follower links crossed over each other. Most mechanisms are designed to operate in only one of these modes.

3. Why is the transmission angle important?

It indicates the quality of motion and force transfer. A transmission angle near 0° or 180° means the input crank will have a very hard time moving the output follower, leading to high joint forces and potential jamming. A healthy range is generally considered to be between 40° and 140°.

4. Can this calculator handle a slider-crank mechanism?

A slider-crank can be considered a special case of a four-bar linkage where the follower link’s pivot is at an infinite distance, and its motion is purely linear. This specific calculator is designed for four revolute joints, but the principles are related. For that specific case, you might use our Piston Motion Calculator.

5. How do I choose the correct units?

The calculations are based on the ratios of the lengths, so the specific unit (mm, cm, in) does not change the resulting angles. The key is to be consistent. Use the same unit for all four link lengths. The unit selector is for labeling and conceptual clarity.

6. What is a “change point” or “toggle” position?

This occurs when the crank and coupler links become collinear (lined up). At this point, the transmission angle is 0 or 180 degrees, and the direction of the follower’s rotation can become indeterminate without inertia to carry it through. Our calculator will show this at the motion limits.

7. What are some real-world applications of four-bar linkages?

They are everywhere! Examples include vehicle suspension systems (double wishbone), windshield wipers, construction equipment (excavator arms), pumpjacks, engine mechanisms, and even biological systems like animal leg joints.

8. What does a Grashof’s Law calculator do?

A Grashof’s Law calculator specifically focuses on the inequality S+L <= P+Q. It takes the four link lengths as input and tells you whether the condition is met and what type of mechanism will result (crank-rocker, double-crank, etc.) based on which link is fixed.

© 2026 Your Website. All rights reserved. This calculator is for educational and illustrative purposes.


Leave a Reply

Your email address will not be published. Required fields are marked *