1. Home
  2. Principles
  3. Position, velocity, and acceleration
On this page
  1. Try these 3 things
  2. Equations
  3. What this page does not show
  4. How the values are obtained

Linkage position, velocity, and acceleration: compare slider-crank graphs and equations

Even when the crank rotates at a constant speed, the slider's velocity and acceleration are not constant. Velocity is the rate of change of position, and acceleration is the rate of change of velocity, so they can be found by differentiating the position equation.

Angle of maximum velocityabout 77°before 90°, not at 90°
Acceleration (0° · far end)-25.00mm/rad²
Acceleration (180° · near end)15.00mm/rad² · smaller than at the far end
Deviation from the approximation0.16maximum acceleration · 0.8% of r

The initial values are crank 20 mm and connecting rod 80 mm. In the experiment below, compare three accurately calculated graphs with the approximation commonly used in textbooks to see where and by how much they differ.

Slider position, velocity, and acceleration (exact values and approximation)

Slider position, velocity, and acceleration (exact values and approximation)Slider-crank mechanism (no slide line offset).OAB

Graphs with initial values (r 20, l 80 mm). Enable JavaScript to change the lengths and see the mechanism move.

Lengths (mm)
Current valuesx 92.88 mm, velocity -16.68 mm/rad, acceleration -14.22 mm/rad²
Crank angle at maximum velocityAbout 77° (20.62 mm/rad)
Acceleration at the ends of the strokeFar end (0°) -25.00, near end (180°) 15.00 mm/rad²
Maximum deviation from approximationPosition 0.04 mm, velocity 0.05 mm/rad, acceleration 0.16 mm/rad²

mm/rad is the distance moved while the crank turns one radian (57.3°), not a speed in time. Multiply by the crank speed in rad/s to get mm/s (rad/s = rpm × 2π / 60).

  • Exact values (calculated)
  • Approximation (sum of two waves)

Position x (mm)

Position x (mm)60708090100060120180240300360Crank angle (deg)Position x (mm)

Velocity dx/dθ (mm/rad)

Velocity dx/dθ (mm/rad)-30-20-100102030060120180240300360Crank angle (deg)Velocity dx/dθ (mm/rad)

Acceleration d²x/dθ² (mm/rad²)

Acceleration d²x/dθ² (mm/rad²)-30-20-1001020060120180240300360Crank angle (deg)Acceleration d²x/dθ² (mm/rad²)

Try these 3 things

  1. View the acceleration graph with the initial values The acceleration magnitudes differ at crank angles 0° (slider at the far end) and 180° (near end). The maximum deviation from the approximation is 0.16 mm/rad² for acceleration.
  2. Set connecting rod l to 40 r / l increases, and the acceleration at the two ends differs more. The angle of maximum velocity decreases, and the deviation from the approximation also increases.
  3. Set connecting rod l to 400 The acceleration at the two ends becomes nearly equal, and the angle of maximum velocity approaches 90°. The slider's motion becomes nearly sinusoidal (simple harmonic motion).
Connecting rod l (mm)Acceleration at 0° (mm/rad²)Acceleration at 180° (mm/rad²)Angle of maximum velocityDeviation from the approximation (acceleration)
40-30.0010.00about 68°1.55
80 (initial value)-25.0015.00about 77°0.16
400-21.0019.00about 87°0.00

Equations

Exact equations

Let θ be the crank angle, r the crank length, and l the connecting rod length. For a slider-crank with the slide line passing through the crank center, the slider position x is given by:

x = r cos θ + √(l² − r² sin² θ) Initial values: r 20 mm · l 80 mm

Differentiating this once and twice with respect to θ gives velocity and acceleration per 1 rad of crank rotation. The solid lines in the experiment's graphs show values calculated exactly by the computation engine, not by taking differences.

Approximation

Expanding the square root and dropping terms of order (r / l) squared and higher gives the sum of two sine waves.

x ≈ l + r cos θ − (r² / 4l)(1 − cos 2θ) Approximate position equation
dx/dθ ≈ −r (sin θ + (r / 2l) sin 2θ), d²x/dθ² ≈ −r (cos θ + (r / l) cos 2θ) Approximate velocity and acceleration equations (per 1 rad of crank rotation)

The second term (the wave with twice the angle) shifts the maximum velocity to before 90° and creates a difference between the acceleration at the two ends. The larger r / l is, the more the dropped terms matter, so the approximation becomes less accurate.

−r(1 + r/l) and r(1 − r/l) Acceleration values at the two ends (0° and 180°). The exact equations and the approximation give the same values.

Converting to values per unit time

When the crank rotates at a constant angular velocity ω (rad/s), velocity and acceleration per unit time are as follows. Doubling the rotational speed doubles velocity and quadruples acceleration.

Velocity = ω × dx/dθ, acceleration = ω² × d²x/dθ² ω is the crank's angular velocity (rad/s)

An experiment where you enter the rotational speed and check the results in actual units is available at Input speed and output motion.

What this page does not show

  • This is a kinematics calculation. It does not calculate forces obtained by multiplying acceleration by mass (inertial forces) or the resulting vibrations.
  • The crank's rotational speed is assumed to be constant. In a real mechanism, the crank's speed itself can vary with the load.
  • The equations above change for a slider-crank with an offset slide line. See the slider-crank page.

How the values are obtained

Position, velocity, and acceleration are calculated at 360 crank angles using the closed-form equations for a slider-crank and their exact derivatives. The approximation is calculated from its equations at the same angles, and the maximum difference is displayed.

The angle of maximum velocity is given in 1° increments. The values and claims in the text are recalculated and checked when the page is built. The computation engine version is 0.1.0.

References: R. L. Norton, “Design of Machinery” (slider-crank analysis and approximation equations); J. J. Uicker, G. R. Pennock, and J. E. Shigley, “Theory of Machines and Mechanisms.”

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