
Charles Law Calculator
Charles’ Law calculator can be used to calculate a gas's initial temperature or volume or the gas's final temperature or volume
Every time a piston in a compressor or engine moves down, it sweeps out a small cylindrical volume of gas. Multiply that volume by the number of cylinders and by how many cycles each one completes per second, and you get piston displacement: the theoretical volumetric capacity of the machine. Engineers use this number as the starting point when they size compressors, estimate refrigerant flow, or compare engines, before any real losses like clearance volume, valve leakage, or ring blow-by chip the figure down.
Piston displacement is the total volume of fluid (air, refrigerant vapor, or fuel mix) that all the pistons of a reciprocating machine sweep out per unit time. It depends on four things: the bore, which is the cylinder's inside diameter; the stroke, or how far the piston travels each cycle; how many cylinders the machine has; and how fast it spins. In refrigeration and air conditioning this is the headline figure for compressor sizing. It caps how much refrigerant the unit can move, and that cap is what ultimately limits cooling capacity.
The number is theoretical, though. Real compressors never hit 100% of their displacement. A bit of high-pressure gas always stays trapped in the clearance volume at the top of each cylinder, the valves take a moment to open and close, and some leakage past the piston rings is unavoidable. The ratio of what actually flows to what should flow is the volumetric efficiency, which sits between 70 and 90 percent for a well-designed reciprocating compressor.
Enter any four of the five values and the fifth fills in. The usual case is forward: you know the bore, stroke, cylinder count, and operating speed, and you want displacement. You can also reverse it. Leave rotational speed blank to find the RPM that delivers a target flow, or leave the bore blank to size a cylinder for a known duty.
Units are flexible. Bore and stroke accept millimeters, centimeters, meters, inches, or feet. Rotational speed takes RPM, revolutions per second, or radians per second. Displacement comes out in liters per minute, cubic meters per hour, CFM, gallons per minute, and a few more. Pick whichever your industry uses.
Read the equation one term at a time.
is the cross-sectional area of one piston. Multiply by the stroke length to get the volume one piston sweeps in a single stroke. Multiply by the number of cylinders for total volume per revolution. Then multiply by the rotational speed , in revolutions per second, for displacement per second.
Run a quick example. A 4-cylinder compressor with an 80 mm bore and a 60 mm stroke spins at 1450 RPM. Convert that to rev/s: . Piston area is . Volume per stroke is . With 4 cylinders that's per revolution, and at 24.17 rev/s the machine moves about per second, or roughly per hour. That's the theoretical capacity of this compressor.
In refrigeration and air conditioning, displacement feeds straight into three follow-on calculations. Multiply displacement by the suction-side vapor density and you have the refrigerant mass flow rate. Multiply that mass flow by the refrigerating effect (the enthalpy difference across the evaporator) and you have cooling capacity, usually quoted in tons. And because theoretical compression work scales directly with displacement, a bigger compressor needs a proportionally bigger motor.
The same formula sizes air compressors for pneumatic tools and vacuum pumps for industrial processes. With a small tweak it also handles the swept volume of internal combustion engines, where displacement per revolution is the number on the spec sheet (a "2.0 L engine," for instance).
Match units carefully. Mixing inches with millimeters is the most common mistake, and it rarely trips alarms because the math still runs. When sizing a compressor, divide your target actual flow by the expected volumetric efficiency (somewhere between 0.75 and 0.90) to back out the theoretical displacement you need. For variable-speed drives, run the calculation at both the minimum and maximum operating speeds to make sure the system holds across the full range.
Almost. Engine displacement is usually reported as volume per revolution, like 2000 cc. This calculator gives volume per unit of time, which folds in rotational speed.
Clearance volume, valve losses, ring leakage, and pressure drop across the suction valves all eat into real flow. Multiply the theoretical value by the volumetric efficiency (usually 0.75 to 0.90) to estimate actual throughput.
The basic formula assumes single-acting cylinders. For double-acting designs, where both sides of the piston compress gas, multiply the result by two, or count each acting face as its own cylinder.
Not really. Those machines use completely different geometries. This calculator is specifically for reciprocating piston-and-cylinder machines.

Charles’ Law calculator can be used to calculate a gas's initial temperature or volume or the gas's final temperature or volume

Calculate specific thrust for gas turbine engines. Free online calculator for jet engine performance analysis. Understand thrust intensity and exhaust velocity relationships.

Calculate mass flow rate from density, area, and velocity. Free online tool for fluid mechanics, HVAC design, and engineering applications. Includes formulas and examples.

Calculate thermal resistance for conduction, convection, and radiation. Determine heat flow, material thickness, and insulation performance for engineering and HVAC applications.

Calculate mass flux from a flow rate and pipe area, or directly from fluid density and velocity. Works in metric and imperial units with two formula sets.

Calculate useful heat gain from solar thermal collectors with the Hottel-Whillier-Bliss equation. Free calculator with charts and a worked example.
Piston Displacement Calculator
Calculate piston displacement for compressors and engines from bore, stroke, cylinders and speed. Free online piston displacement calculator with formula.
https://hexacalculator.com/calculators/physics/thermodynamics/piston-displacement-calculator
Physics
Thermodynamics