Slider crank calculator
Piston position, velocity and acceleration of a slider-crank (piston, connecting rod and crank), with or without a wrist-pin offset: exact formulas, top and bottom dead centre, the stroke, how long the down and up strokes take, where the piston is fastest, and the rod force, side thrust and crank torque. Free, no sign-up, runs in your browser.
It opens on the piston assembly from Skill-Lync's SOLIDWORKS motion project (50 mm crank, 212.5 mm rod, 10 mm offset, 2000 rpm). The third tab checks a motion study and names the slips found in 225 reports.
Exact closed forms · checked against an independent script (13,006 checks at build) · Updated 23 Nov 2026
Sign of e: positive when the pin's line lies on the side the crank pin swings to just after the top (right, for a clockwise crank as drawn); negative on the other side. Angles are crank angles from the cylinder axis, in the direction of rotation.
Estimates: rod and pin massless, no friction. The reciprocating mass is the piston, rings, pin and about a third of the rod. The gas pressure acts as a constant block between the two angles (a crude power stroke); set it to 0 for inertia only.
Type the numbers your SOLIDWORKS plot shows; leave a box empty to skip that check. The geometry and speed come from the boxes above.
x = 22.613 mm from TDC
- Stroke 100.1174 mm, 0.1174 mm more than 2r = 100 mm. The top position drops by 0.1905 mm and the bottom by 0.308 mm, so the travel grows.
- TDC at 2.183° and BDC at 183.53° of crank from the cylinder axis. Down stroke 181.34° (15.11 ms), up stroke 178.66° (14.89 ms): a time ratio of 1.0151. One turn still takes 30 ms whatever the offset.
- Largest piston speed 10.89 m/s, at 79.8° on the way down (10.65 m/s) and 285° on the way up (10.89 m/s), not at 90°: near 90° the rod's swing adds to the crank's motion. Mean piston speed 2SN/60 = 6.674 m/s; the peak is 1.631 times it.
- Acceleration at TDC 2711.3 m/s² toward the crank (rω²(1 + r/l) = 2709.3 m/s² is the no-offset value); at BDC 1680.4 m/s². 276.5 g at the top.
- 2000 rpm = 12000 deg/s = 209.44 rad/s. One frame per crank degree needs 12000 frames per second in the motion study.
What does the piston assembly project ask?
Model a piston, connecting rod, gudgeon (wrist) pin, crank and end cap in SOLIDWORKS, assemble them, drive the crank at 2000 rpm in a motion study, and plot the linear displacement of the piston head with the wrist pin offset by 0 mm, +10 mm and −10 mm. Then compare the three plots. It is a project of Skill-Lync's Multibody Dynamics using SolidWorks course.
The reports that state the model's size give a crank radius of 50 mm (a 100 mm stroke) and a rod of 212.5 mm centre to centre. Their readings, 302.50 mm at the top and 202.50 mm at the bottom with no offset, fit a crown 40 mm above the pin, measured from the crank centre. The calculator opens on that geometry.
What is the slider crank displacement formula?
Put the crank centre at the origin and the cylinder axis upward. The crank pin is at r from the centre at crank angle θ, the rod is l long, and the wrist pin slides on a line a distance e to the side. The pin's height y and the piston's travel from top dead centre x are
With no offset that becomes the textbook form, and the binomial expansion of the root gives the two-term approximation most notes use:
For the course's 50 mm crank and 212.5 mm rod the approximation is off by at most 83.8 µm, at 90°. That is small next to the stroke but almost as large as the 117.4 µm a 10 mm offset adds to it, so the offset question needs the exact form.
What are the piston velocity and acceleration formulas?
Differentiate y with respect to θ and multiply by the crank speed ω (rad/s), once for velocity and twice for acceleration. The calculator uses these exact derivatives, not finite differences:
The acceleration at TDC is the largest of the turn, and with no offset it has a simple form. At 2000 rpm (ω = 209.44 rad/s) it is 2,709 m/s², about 276 g:
The piston is not fastest at 90° of crank. There the rod is at its steepest and swinging, so part of the crank pin's motion turns the rod instead of pushing the piston. The peak is where the acceleration crosses zero: 77.4° for the course's rod (4.25 times the crank), 10.76 m/s. For a rod 3 times the crank it is at 73.18°, the worked example on Wikipedia's piston motion page, which the check script reproduces. The mean piston speed only needs the stroke S and the speed N in rpm, since the piston covers two strokes per turn; here it is 6.67 m/s, and the peak is 1.61 times that:
What does a wrist pin offset do to the stroke?
The stroke is the distance between the two positions where crank and rod line up: stretched out at TDC and folded at BDC. With the pin's line moved e to the side, both positions sit lower, but the bottom one drops more, so the stroke grows:
The dead centres also move off the cylinder axis, so the down stroke and the up stroke no longer take 180° of crank each:
For the course's piston at 2000 rpm (one turn takes 30 ms):
| Offset e | Stroke | Top / bottom drop | Down / up stroke | Down / up time |
|---|---|---|---|---|
| 0 mm | 100.0000 mm | 0.000 / 0.000 mm | 180.00° / 180.00° | 15.000 / 15.000 ms |
| 5 mm | 100.0293 mm | 0.048 / 0.077 mm | 180.67° / 179.33° | 15.056 / 14.944 ms |
| 10 mm | 100.1174 mm | 0.191 / 0.308 mm | 181.34° / 178.66° | 15.112 / 14.888 ms |
| 20 mm | 100.4725 mm | 0.763 / 1.235 mm | 182.70° / 177.30° | 15.225 / 14.775 ms |
+10 mm and −10 mm give the same stroke; the sign only swaps which stroke is slower. With 10 mm the top reading falls by 0.1905 mm (302.50 to 302.31 mm) and the bottom by 0.3080 mm (202.50 to 202.19 mm), so the travel is 100.1174 mm. Those are the 302.31, 202.19 and 100.12 mm that some reports print. The full turn still takes 30 ms: an offset does not change the number of cycles per second.
What 115 reports concluded about wrist-pin offset
As of 23 Nov 2026, Skill-Lync has 244 public reports on slider-crank projects; n = 225 are this piston assembly. Each conclusion below was read in the report's text and is backed by a quote in the analysis script. Screenshots were not read, so 110 reports that state no conclusion in text (8 of them have under 300 words of text, with their results in images) are left out.
| What the report says the offset does | Reports | Examples |
|---|---|---|
| Stroke or travel is longer with an offset (right) | 7 | 1, 2, 3 |
| Stroke or travel is shorter with an offset | 38 | 1, 2, 3 |
| The (maximum) displacement is largest with no offset, without saying whether that is the top reading or the travel | 25 | 1, 2, 3 |
| About the same, no real change | 40 | 1, 2, 3 |
| Contradicts itself or compares something else | 5 | – |
The geometry's answer: the top reading drops by 0.19 mm, which is what the "largest with no offset" reports see, but the bottom drops by 0.31 mm, so the travel grows by 0.12 mm. "About the same" is fair at 0.12 %; "shorter" is not. 23 reports also say the displacement rises from −10 mm through 0 to +10 mm, most in the same copied sentence ("Linear Displacement increases as we move from negative wrist pin offset to positive"). That compares the curves at the same instant, where an offset only shifts them in time by a couple of degrees of crank.
How large is the side thrust, and what does offset change?
Treat the rod as a two-force member. The force the piston passes on along the cylinder axis, F, is the gas force plus the reciprocating mass times its acceleration. The rod carries F / cos φ and the cylinder wall takes the rest as side thrust; the crank torque follows from the work balance:
The offset matters through φ near TDC, when the gas pressure is highest. Example (illustrative inputs): 0.6 kg reciprocating mass, 90 mm bore, 50 bar at 12° after the cylinder axis, so the gas force is 31,809 N, on the course's crank at 2000 rpm:
| Offset e | Rod angle φ | Side thrust N | Rod force | Crank torque |
|---|---|---|---|---|
| +10 mm | 0.11° | 56 N | 30,226 N | 317 N m |
| 0 mm | 2.80° | 1,481 N | 30,274 N | 387 N m |
| −10 mm | 5.51° | 2,917 N | 30,388 N | 457 N m |
At 12° the crank pin is 10.4 mm to the side, so a +10 mm pin line keeps the rod almost straight and the side thrust nearly vanishes, as Yamaha describes for its offset-cylinder engines ("aligned vertically at the moment of combustion"). The same offset on the other side about doubles it. The catch: with the rod straight it also has less leverage on the crank at that instant, so the torque there is lower too. Piston makers offset the pin a little (Nissan's patent says about 1 mm) towards the major thrust side for a different reason: so the piston moves across to that wall before the pressure peaks, which softens piston slap.
Without gas pressure, the inertia force alone at TDC is 1,627 N for 0.6 kg at 2000 rpm. How those inertia forces add up or cancel across several cylinders (primary and secondary balance) is what the engine firing order and balance calculator works out.
How many frames per second does a 2000 rpm motion study need?
2000 rpm is 12,000 degrees per second, so 12,000 frames per second gives one output frame per crank degree. SOLIDWORKS describes Frames per second as the number of frames captured per second of the study; it does not change the playback speed or the solver's own step. Of the 138 reports that give a frame rate, 70 use 12,000 and 52 use 7,200, which is one frame every 1.667° at 2000 rpm: it is one per degree at 1,200 rpm, and 5 reports copy a sentence that runs this 2000 rpm study "at 1200rpm and frame rate 7200fps". Coarse frames clip the peaks a little: at 7,200 the top can read up to 6.5 µm low and the bottom 4.1 µm high, against the 117 µm the offset adds.
Which slips does the check tab catch?
- "The offset reduces the stroke": the tab works out the travel from your plot's max and min and the stroke the geometry gives (38 reports say shorter; e.g. 1, 2).
- Reading the top value as the travel: it says whether your numbers are measured from the crank centre (302.5 mm-type readings), TDC or BDC (1, 2).
- "The offset changes the cycle time or frequency": one turn is 60/N seconds whatever the offset; only the split between strokes changes (16 reports; 1, 2, 3).
- Frames per second below one per crank degree, and the 7,200 / 1,200 rpm mix-up (1, 2).
What this calculator does not cover
- The rod's own inertia and friction. The force tab lumps a third of the rod with the piston and ignores friction, ring drag and the rod's rotational inertia. A motion solver gives those.
- A real pressure curve. The gas force is a constant block; a cylinder pressure trace or a combustion model is needed for indicated torque.
- Piston secondary motion. Tilt and slap inside the skirt clearance need a clearance model; the side thrust here is the force that drives it.
- Balancing several cylinders, covered by the firing order tool, and thermodynamics, covered by the Otto and Diesel cycle calculator.
Building a mechanism in CAD, setting up its motion study and explaining the numbers is everyday work for a design or MBD engineer. The piston assembly is one of the projects in Skill-Lync's Multibody Dynamics using SolidWorks course.
Frequently asked questions
What is the slider crank displacement formula?
With crank radius r, rod length l and crank angle θ from top dead centre, the piston travel from TDC is x = r(1 − cos θ) + l − √(l² − r² sin² θ). With a wrist-pin offset e the root becomes √(l² − (e − r sin θ)²), and the travel is measured from the shifted TDC.
What is the formula for piston velocity?
Differentiate the position and multiply by the crank speed ω in rad/s: v = ω(r sin θ + r² sin θ cos θ / √(l² − r² sin² θ)), positive toward the crank. Dropping the root gives v ≈ rω(sin θ + (r/2l) sin 2θ). For a 50 mm crank and 212.5 mm rod at 2000 rpm the peak is 10.76 m/s.
Why is maximum piston speed not at 90 degrees of crank?
At 90° the rod is at its steepest angle and swinging, so part of the crank pin's motion goes into turning the rod. The piston is fastest a little earlier, where its acceleration is zero: 77.4° for a rod 4.25 times the crank, about 73° for a rod 3 times it. Longer rods move the peak towards 90°.
What does a wrist pin offset do?
It moves the pin's line of travel off the crank centre. The stroke grows to √((l + r)² − e²) − √((l − r)² − e²), the dead centres move off the cylinder axis, and the down and up strokes take different crank angles. A 10 mm offset on the course's piston gives 100.1174 mm instead of 100 mm.
How do you calculate mean piston speed?
Mean piston speed is 2 × stroke × rpm / 60: the piston covers two strokes per revolution. A 100 mm stroke at 2000 rpm gives 2 × 0.1 × 2000 / 60 = 6.67 m/s. The peak speed is about 1.6 times that for usual rod ratios. Wikipedia lists about 16 m/s for car petrol engines at full speed.
How many frames per second for a SOLIDWORKS motion study at 2000 rpm?
2000 rpm is 2000 × 360 / 60 = 12,000 degrees per second, so 12,000 frames per second gives one output frame per crank degree. 7,200 frames per second, which many reports use, is 0.6 frame per degree at 2000 rpm; it is one per degree only at 1,200 rpm. Frames set what the plots show, not the solver's step.
Related on Skill-Lync
- Blog: designing and simulating a piston and crank assembly in SOLIDWORKS
- Blog: setting up motion analysis in SOLIDWORKS
- Engine firing order and balance calculator
- Geneva mechanism calculator
- Cam profile calculator
- Otto and Diesel cycle calculator
- All free engineering tools
Sources
- Wikipedia, Piston motion equations: position, velocity and acceleration of a non-offset piston; velocity extremes "do not occur when the crank angle A is right angled"; the 6 in rod / 2 in crank example (73.1753°, rod 18.6064°, crank-rod angle 88.2183°).
- Wikipedia, Slider-crank linkage: in-line vs offset; the offset position x = r cos α + √(l² − (r sin α − o)²); for an offset crank "the slider movement is not symmetric. It moves faster in one direction than the other."
- Wikipedia, Mean piston speed: 2 × stroke × rpm / 60 (after Heywood 1988), the 90 mm / 3000 rpm = 9 m/s example and the typical engine values.
- D. Tripathy, Machine Dynamics – I, lecture notes, VSSUT Burla: engine force analysis neglecting the rod's weight and inertia; force along the rod F / cos β; thrust on the cylinder sides F tan β, "the normal reaction on the cylinder walls"; crank effort and turning moment; inertia force m r ω² (cos θ + cos 2θ / n).
- Yamaha Motor, An Engine Design Enabling Reduced Loss and Compact Size (offset cylinder): the side force at combustion "results in friction and a corresponding amount of horsepower loss"; offsetting the cylinder keeps the rod "aligned vertically at the moment of combustion"; a 10 mm offset on the F2.5A.
- US patent 4,581,982 (Nissan Motor): it is known to offset the piston pin toward the major thrust surface, "for example, about 1 mm", so the piston "can be pressed against the major thrust side cylinder wall as early as possible".
- SOLIDWORKS Help, Motion Study Properties (2022): Frames per second "specifies the total number of frames that are captured when multiplied by the length of the animation. This value does not affect the playback speed"; Use Precise Contact.
- Skill-Lync, 244 public slider-crank reports (225 piston assemblies), read 23 Nov 2026: geometry, frame rates and conclusions, counted by a script that checks every quote against the text.
- Skill-Lync, scripts/verify/slider_crank.py: solves the loop closure by Newton's method, differentiates by complex step and Richardson extrapolation, finds the dead centres and speed peaks by bisection, integrates the mean speed and solves the piston's free body; the page compares 13,006 numbers with the calculator when it is built.