Shapes & spaces

Four bar linkage position calculator with assembly branches

Solve the planar position of a four-bar linkage for a specified crank angle and four link lengths.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Solve the planar position of a four-bar linkage for a specified crank angle and four link lengths. Circle intersections give the feasible coupler-rocker joint positions, which can correspond to two assembly branches or a single toggle position. The result includes joint coordinates, link angles and a transmission angle. It solves one pose and does not track a continuous branch through a motion cycle.

THE FORMULACrank tip P=(a cos θ,a sin θ); moving joint Q lies on |Q−P|=b and |Q−(g,0)|=c.

A worked example

With ground four, crank one, coupler four, rocker two and crank angle zero, P=(1,0). The two joint positions are Q=(4.5,±√3.75), giving two assembly branches. At a circle tangency the two branches merge into a toggle position.

Good to know

Positive rigid planar link lengths and one entered crank angle. Position branches, joint angles and closure residuals only; coincident equal circles are underdetermined. No branch tracking through a motion cycle, collision, force, velocity or engineering safety guarantee.

Fixing the linkage geometry

The ground pivots are placed at the origin and at the ground length on the positive horizontal axis. The crank angle is measured from that axis in radians, locating the crank tip.

The remaining joint must be one coupler length from the crank tip and one rocker length from the far ground pivot. All lengths must be positive and use the same unit. This coordinate choice removes arbitrary translation and rotation without changing the linkage’s relative geometry.

Circle intersections give two four-bar assembly positionsTwo Q positions(4.5, ±√3.75)Single-pose solution
With ground four, crank one, coupler four, rocker two and crank angle zero, P=(1,0). The two joint positions are Q=(4.5,±√3.75), giving two assembly branches. At a circle tangency the two branches merge into a toggle position. Static schematic; numerical labels define the example.

Couples two moving circle constraints with an anchored four-link closure and branch tracking, beyond solving a single triangle. The Dubins shortest path calculator between oriented points offers a complementary calculation under its own stated assumptions.

Circle intersections create assembly branches

The two distance constraints define circles. When they intersect at two points, both are valid instantaneous assemblies under the ideal planar model.

They are often described as open and crossed branches, but naming depends on the pose and convention. The calculator returns the actual coordinates rather than assuming one is always the physically selected mechanism. Collisions, joint stops and assembly history can exclude a mathematically feasible branch in a real linkage.

Worked example and mathematical rule

With ground four, crank one, coupler four, rocker two and crank angle zero, P=(1,0). The two joint positions are Q=(4.5,±√3.75), giving two assembly branches. At a circle tangency the two branches merge into a toggle position.

Crank tip P=(a cos θ,a sin θ); moving joint Q lies on |Q−P|=b and |Q−(g,0)|=c.

Toggle and infeasible positions

Externally or internally tangent circles produce one joint location, a toggle configuration. Separated circles or one strictly contained without contact produce no feasible pose.

Coincident circles of equal radius have infinitely many joint positions and are rejected as underdetermined. These cases follow from the distance between circle centers compared with the sum and difference of radii. A near-toggle configuration can be numerically sensitive even when its position residual is small.

Angles and transmission interpretation

Coupler and rocker angles are derived from their oriented coordinate vectors, while the transmission angle describes the angle between the two links at their shared joint. Different mechanical references may report its acute supplement instead, so compare the stated convention.

A transmission angle alone is not a full force or efficiency analysis. Link mass, torque, friction and dynamic loading do not enter this position solver.

One pose is not branch tracking

Changing the crank angle and recalculating does not guarantee that the first listed branch follows the same physical assembly continuously. Near toggles, branch identities can meet or swap under a simple coordinate ordering.

Continuous motion analysis requires tracking a chosen solution through neighboring poses with collision and joint constraints. The tool also does not classify every possible full-rotation behavior from Grashof conditions; it answers feasibility at the entered angle.

Checking lengths and physical limits

Measure the returned distances between connected joints and compare them with all four link lengths. The residual reports this numerical closure check.

Mirror-symmetric examples help verify the two circle-intersection branches. A feasible geometric pose can still involve link overlap or exceed a real joint’s angular range, so it is not a certified mechanical design. Report the ground placement, crank angle, branch coordinates and angle convention when sharing a worked example.

A few questions, answered

Why are two positions returned?

Two circles can intersect at two points, representing different assembly branches.

Does the tool track a branch through rotation?

No. It solves the single entered pose.

What is a toggle here?

A tangent-circle position where the two assembly solutions coincide.

Are collisions or forces checked?

No. This is an ideal planar position calculation.

Find your calculator

Start typing to explore the library.