Slider-Crank Calculator (Piston Position, Velocity and Acceleration)
Piston travel, velocity and acceleration at any crank angle of an engine, compressor or pump, with mean piston speed and the peak acceleration at top dead centre.
Results
The dashed line marks the value you entered.
What this tool does
A piston does not move like a simple sine wave: the connecting rod leans over, so the piston covers more than half its stroke in the first 90° of crank rotation: it moves faster near the top than a sine would give and lingers longer near the bottom — the chart sets the exact velocity beside the sinusoid. The shorter the rod relative to the crank, the bigger the difference, and the larger the acceleration at top dead centre, ω²r(1 + r/l), which sets the inertia load on the rod and bearings. Mean piston speed 2·stroke·rpm/60 is the number engine builders keep under control for wear.
Formula
x = r cos θ + √(l² − r² sin² θ) · v = ω r (sin θ + r sin θ cos θ ÷ √(l² − r² sin² θ)) · a at TDC = ω² r (1 + r ÷ l)
Variables
| Symbol | Meaning | Unit |
|---|---|---|
r | Crank radius | mm |
l | Connecting rod length (centre to centre) | mm |
n | Crank speed | rpm |
th | Crank angle after top dead centre | ° |
SP | Piston travel from top dead centre | mm |
VV | Piston velocity (towards the crank is positive) | m/s |
AC | Piston acceleration (towards the crank is positive) | m/s² |
ST | Stroke | mm |
MP | Mean piston speed | m/s |
RR | Rod ratio (rod ÷ crank radius) | — |
AT | Peak acceleration at top dead centre | m/s² |
Worked example
- Crank radius40 mm
- Connecting rod length (centre to centre)130 mm
- Crank speed3000 rpm
- Crank angle after top dead centre90 °
- Piston travel from top dead centre46.307 mm
- Piston velocity (towards the crank is positive)12.566 m/s
- Piston acceleration (towards the crank is positive)-1277 m/s²
- Stroke80.0 mm
- Mean piston speed8.00 m/s
- Rod ratio (rod ÷ crank radius)3.25
- Peak acceleration at top dead centre5163 m/s²
Limitations
- The formula assumes ideal conditions: no friction losses, no air resistance and no efficiency losses unless you enter them.
- Mixing units is the most common source of error. Convert every input to the units shown next to each field before calculating.