Calculate piston position from crank radius, rod length and crank angle, or find crank angle, piston speed and acceleration from RPM.

Half the engine’s stroke (e.g. a 3.48 in stroke has a 1.74 in crank radius).

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Position from angleFinds how far the piston has moved from top dead center at a crank angleRequires the crank radius, the connecting rod length and the crank angle from top dead center
Angles from positionFinds the two crank angles at which the piston sits at a given displacementRequires the crank radius, the connecting rod length and the piston displacement from top dead center
Velocity and accelerationFinds the piston velocity and acceleration at a crank angle and a constant engine speedRequires the crank radius, the connecting rod length, the crank angle and the crank speed in rev/min

The crank radius is half of the stroke, and the connecting rod length is measured center to center and must be longer than the crank radius. Lengths can be entered in inches, centimeters, millimeters or meters and the angle in degrees or radians. An angle of 0° is top dead center (TDC), and displacement, velocity and acceleration are positive in the direction away from TDC.

Piston Position Formula

s = r × (1 − cos θ) + l −
√(l² − r² × sin² θ) [1]
sPiston displacement from top dead center
rCrank radius, half of the stroke
lConnecting rod length, center to center
θCrank angle from top dead center

The distance from the crank axis to the piston pin is r × cos θ + √(l² − r² × sin² θ) [1]. At top dead center that distance is r + l, and the displacement s is how far the pin has dropped below that point. The stroke is 2r [1], which is the displacement at bottom dead center (180°).

Position from angle

With a 3 in crank radius, a 7 in rod and a crank angle of 40°, s = 3 × (1 − cos 40°) + 7 − √(49 − 9 × sin² 40°) = 0.9727 in. The result also lists the stroke, 6 in, and the rod ratio l ÷ r, 2.3333. Angles outside 0° to 360° are wrapped into one revolution first.

Angles from position

The position formula is solved for θ numerically between 0° and 180°, where displacement only increases. The piston passes every displacement twice in a revolution, once moving away from TDC and once returning, so the second angle is 360° − θ. For the same crank and rod, a displacement of 0.9727 in gives 40° and 320°. A displacement larger than the stroke is rejected.

Velocity and acceleration

v = ω × r × sin θ ×
(1 + q × cos θ ÷ w) [1]

ω is the crank speed in radians per second, 2π × RPM ÷ 60, q is r ÷ l and w is √(1 − q² × sin² θ). This is the position formula differentiated with respect to time at constant crank speed [1]. Differentiating once more gives the acceleration:

a = ω² × r × (cos θ +
q × cos 2θ ÷ w +
q³ × sin² θ × cos² θ ÷ w³)

For the 3 in crank and 7 in rod at 40° and 3,000 rev/min, v = 20.64 m/s and a = 6,505 m/s². The result also gives the mean piston speed, 2 × stroke × RPM ÷ 60 [1], which is 15.24 m/s here, and the long-rod peak approximation r × ω, which is π ÷ 2 times the mean speed.

Limits of This Estimate

  • The model is an ideal in-line slider crank: rigid parts, no piston pin or crankshaft offset and no bearing clearance.
  • Velocity and acceleration assume a constant crank speed. Changes in engine speed, flexing of parts, friction and combustion forces are left out.
  • The long-rod peak approximation ignores the connecting rod angle, so it is lower than the true peak piston speed of a real rod length.
  • No stress, load or safe engine speed is assessed.

Sources

  1. Rose-Hulman Institute of Technology, ME 410 Internal Combustion Engines, Day 2 notes: piston position from crank angle, stroke, mean piston speed and instantaneous piston speed