Hydraulic Oil Volume Calculator

Oil per stroke for a hydraulic cylinder, with stroke time and return flow.

Calculator

mm
mm
mm
L/min

Adds stroke times and the return flow.

Adds up the volume swing in the tank.

Example Result

Your result will appear here

The calculated result will appear here after you press Calculate.

About the Hydraulic Oil Volume Calculator

A hydraulic cylinder takes more oil to extend than to retract, because the rod fills part of the space on the return side. Enter the bore, rod and stroke to get the oil per stroke in each direction. Add the pump flow to see how long each stroke takes and how much oil comes back to tank.

How to Use the Hydraulic Oil Volume Calculator

  1. 1

    Choose metric or US units.

  2. 2

    Enter the bore, the rod diameter and the stroke.

  3. 3

    Add the pump flow for stroke times and the return flow.

  4. 4

    Add the number of cylinders that move together to see the tank swing.

Hydraulic Oil Volume Calculator Examples

Frequently Asked Questions

How much oil does a hydraulic cylinder hold?

Bore area × stroke for the extend side, as calculated here, plus the dead space.

How do I work out cylinder speed?

Speed = flow ÷ area. Or divide the stroke by the stroke time shown here.

Why does the cylinder retract faster?

The rod takes up part of the piston area, so the same flow moves it further.

What is differential volume?

The difference between extend and retract volumes. It equals the rod volume.

How many gallons is 141 cubic inches?

141 ÷ 231 = 0.61 US gal.

Does this size my accumulator?

No. An accumulator is sized from gas pressures and is a pressure vessel, so use the maker's method.

By O.E. — Partner, chairman of the board and CEO of a metal products manufacturer for 21 years; the company exports to 45 countries.

Drafted with AI assistance; calculations checked against primary sources and tested with the site's own code. About FlowUtil

Last reviewed

Two volumes from one cylinder

  • Extend: V = π/4 × D² × stroke
  • Retract: V = π/4 × (D² − d²) × stroke
  • Difference: V = π/4 × d² × stroke, the volume of the rod

D is the bore and d is the rod. In metric, mm³ ÷ 1,000 gives mL. In US units, in³ ÷ 231 gives gallons.

An 80/56 mm cylinder with a 500 mm stroke

  • Extend: 5,026.5 mm² × 500 mm = 2,513 mL
  • Retract: 2,563.5 mm² × 500 mm = 1,282 mL
  • Rod volume: 1,232 mL

At 20 L/min from the pump, extending takes 2.513 ÷ 20 × 60 = 7.5 s. Retracting takes 3.8 s. The cylinder comes back twice as fast because the same flow fills a smaller space. Pump flow comes from the hydraulic pump flow calculator.

The same sum in US units: 3 in bore, 2 in rod, 20 in stroke

  • Extend: 7.069 in² × 20 in = 141.4 in³, or 0.612 gal
  • Retract: 3.927 in² × 20 in = 78.5 in³, or 0.340 gal

At 10 gpm, that is 3.7 s out and 2.0 s back.

Why retraction sends more oil to tank than the pump delivers

While a cylinder retracts, the pump fills the small rod side and the large bore side empties. The return flow is the pump flow times the area ratio:

Return flow = Q × D² ÷ (D² − d²)

CylinderArea ratioPump flowReturn flow
80/56 mm1.9620 L/min39 L/min
3/2 in1.8010 gpm18 gpm

Check the return line, valve and filter for the higher flow, not the pump flow. An undersized return path adds back pressure and heat, and that back pressure acts on the cylinder too. The hydraulic pressure calculator shows how much force each side gives.

The swing your tank has to absorb

Oil in the rod side leaves the tank only while the rod is out, so the tank level moves by the rod volume with every full stroke. Two of these 80/56 cylinders moving together swing the level by 2.46 L. That number belongs in the hydraulic reservoir size calculator on top of the normal fill.

What the volume leaves out

The result is the swept volume only. It does not count oil in hoses, pipes and the cylinder's dead space, which you fill once at commissioning. It also ignores oil compressibility and leakage, so real stroke times run slightly long. For a double-rod cylinder, both directions use the annulus area, and for a single-acting cylinder only the extend volume comes from the pump.

Sources

  1. Cylinder volumes and the return-flow ratio follow from geometry and continuity of flow.
  2. NIST, Handbook 44 — 1 US gallon = 231 in³ exactly.

Explore Knowledge

Deepen your understanding with in-depth engineering guides, formulas, and worked examples.

Browse Engineering Guides