📘 CodingMarble Learn

Pneumatics and Hydraulics

Hydraulic systems use a liquid (usually oil) and pneumatic systems use compressed air to carry force through pipes. A pump or compressor makes pressure p = F/A, valves choose the path, and a cylinder turns the pressure back into a push: F = p x A. Liquid hardly squeezes, so hydraulics is strong and steady; air can be squeezed, so pneumatics is fast, clean and springy.

🎬 Step-by-step story

  1. Two cylinders are joined by a pipe. Both are full of liquid. This is a hydraulic system.
  2. Push the small piston down. The pressure spreads equally to every part of the liquid, so the green arrows push on all walls.
  3. The big piston has a bigger area, so the same pressure gives a bigger force. It lifts the car. It moves up only a little, though.
  4. Replace the liquid with air. Air gets squeezed, so the big piston moves less and feels springy. This is a pneumatic system.
  5. A compressor stores air. A valve picks which side of the cylinder gets the air, so the rod goes out or comes in.
  6. Free play: change the push, the piston size and the fluid. Watch pressure, force and distance.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

What is the difference between a liquid and a gas here?

Both are fluids and both pass on pressure. A liquid is almost impossible to squeeze, a gas gets squeezed into less space. That one difference makes hydraulics stiff and pneumatics springy.

Why do the arrows push on all the walls, not only down?

Fluid pushes on every surface it touches, in every direction. When you add pressure at one place, every part of the liquid shares it. The green arrows show this.

Is a hydraulic jack giving us free energy?

No. The force is bigger, but the big piston goes a smaller distance. Force times distance (work) is the same on both sides, and in real life a little is lost as heat from friction.

Why does the big piston move less when I use air?

Part of the small piston's movement is used just to squeeze the air into less space, so less is left to move the big piston.

What does the valve actually do?

It is a switch for fluid. In one position the air goes to one end of the cylinder, in the other position it goes to the other end. The rod goes out or comes in. Tap the valve button and watch the pipe colours change.

What happens if I make the big piston bigger?

The same pressure acts on more area, so the force is larger and the piston rises even less. Try the Big piston slider.

What are hydraulics and pneumatics?

A fluid is something that flows: a liquid or a gas. Both systems use a fluid inside closed pipes to carry force from one place to another.

Pressure means force on each unit of area: p = F / A. One pascal (Pa) is 1 N on 1 m². One bar is 100 000 Pa.

The physics behind them

Pascal's law: pressure put on a closed fluid goes to every part of the fluid equally. So if the small piston makes pressure p, the big piston feels the same p.

Force out: F2 = p × A2. With the same p, a piston with 25 times more area gives 25 times more force. This is called force multiplication.

But nothing is free. The liquid volume stays the same, so A1 × d1 = A2 × d2. The big piston moves 25 times less distance. Work in = work out (if we ignore friction).

Compressibility: a liquid hardly changes volume when pushed, so it moves loads exactly and stays still when you stop. Air shrinks when squeezed (Boyle's law: p × V is about constant), so it acts like a spring.

Main components

Every system has four jobs:

A single-acting cylinder gets fluid on one side and a spring brings it back. A double-acting cylinder gets fluid on both sides, so it pushes out and pulls in.

Force of a cylinder going out: F = p × A. Coming in, the rod takes up some area, so the force is a little smaller.

Typical circuit diagrams

Engineers draw circuits with standard symbols, not pictures. The symbols are the same in many countries (ISO 1219). Read a circuit from the power source to the actuator.

Simple pneumatic circuit: compressor, air tank, 5/2 valve (5 ports, 2 positions), double-acting cylinder. Press the lever: air goes to the back of the cylinder, the rod goes out. Release: the spring flips the valve, air goes to the front, the rod comes in.

Simple hydraulic circuit: tank, pump, relief valve, direction valve, cylinder, and a return line back to the tank. The oil is used again and again.

Hydraulics or pneumatics: which one?

HydraulicsPneumatics
FluidOilAir
PressureHighLow
ForceVery largeSmall to medium
PositionStops exactlySpringy, less exact
SpeedSlowerFast
CleanlinessOil can leakClean; air just escapes
ExamplesExcavator, press, brake, liftBus door, packing machine, dentist drill

Designing and simulating a circuit

To design a circuit, follow these steps:

  1. Write what must happen: push out, hold, come back. How big is the force? How far? How fast?
  2. Find the force needed, and choose a pressure. Then the area is A = F / p. Pick the next standard cylinder size, with some extra for friction (about 10 to 25 percent).
  3. Choose the valve: two positions for out and in; a third position to hold in the middle.
  4. Add a relief valve (hydraulics) or a pressure regulator (pneumatics) for safety.
  5. Draw it with standard symbols. Number each part.
  6. Test it in a free simulator before building it.

Always check: what happens if power fails? Safe designs go to a safe position by themselves.

Key formulas and definitions

Worked examples

1. A hydraulic jack has a small piston of area 5 cm² and a big piston of area 200 cm². A force of 50 N pushes the small piston. Find the force on the big piston.

Step 1: pressure p = F1 / A1 = 50 / 5 = 10 N/cm². Step 2: the same pressure acts on the big piston: F2 = p × A2 = 10 × 200 = 2000 N.

2. In the jack above, the small piston goes down 30 cm. How far does the big piston rise?

A1 × d1 = A2 × d2, so d2 = 5 × 30 / 200 = 0.75 cm. A force 40 times bigger, a distance 40 times smaller.

3. A car brake pedal pushes a master piston of area 2 cm² with 100 N. The brake piston at the wheel has area 10 cm². What force acts at the wheel?

p = 100 / 2 = 50 N/cm². F2 = 50 × 10 = 500 N. The brake force is 5 times the pedal force.

4. A garage lift must hold a car that weighs 12 000 N on a big piston of area 600 cm². The small piston has area 20 cm². What force must the worker put?

F1 = F2 × A1 / A2 = 12 000 × 20 / 600 = 400 N. (A person can easily push 400 N with a lever.)

5. A pneumatic cylinder has a piston of diameter 5 cm and works at 6 bar. Find the force when it goes out.

Step 1: p = 6 bar = 6 × 10⁵ Pa. Step 2: A = π d² / 4 = π × (0.05)² / 4 = 1.96 × 10⁻³ m². Step 3: F = p × A = 6 × 10⁵ × 1.96 × 10⁻³ ≈ 1178 N, about 1.2 kN.

6. A hydraulic press needs a force of 20 kN. The pump gives 100 bar. What piston diameter is needed? (Ignore friction.)

p = 100 bar = 10⁷ Pa. A = F / p = 20 000 / 10⁷ = 2 × 10⁻³ m². d = √(4A / π) = √(4 × 2 × 10⁻³ / π) = √(2.55 × 10⁻³) ≈ 0.0505 m, so about 5 cm (choose the next standard size, 50 or 63 mm).

Common mistakes

Practice quiz

1. Which fluid does a pneumatic system use?
2. Pascal's law says that pressure in a closed fluid is:
3. A piston has area 20 cm² and the pressure is 30 N/cm². The force is:
4. Which part sets the path of the fluid to the cylinder?
5. Why do hydraulic machines hold a load more exactly than pneumatic ones?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the main difference between pneumatics and hydraulics?

Pneumatics uses compressed air at low pressure for fast, light work. Hydraulics uses oil at high pressure for very large, steady forces.

Which law explains hydraulic machines?

Pascal's law: pressure on a closed fluid is passed equally to all parts of it, so F2 / A2 = F1 / A1.

What is a double-acting cylinder?

A cylinder that gets fluid on both sides of the piston, so it can push the rod out and pull it back with power.

Learn first

Related lessons

All Physics lessons