Polytropic Process Calculator
- A polytropic process follows PV^n = C: here n = 1.3, so the process is general polytropic.
- The final pressure from P2 = P1 (V1/V2)^n = 100 x (10/2)^1.3 = 810.3 kPa.
- Work is the pressure-volume integral W = (P2V2 - P1V1) / (1 - n) = (1,620.7 - 1,000.0) / -0.30 = -2,068.9 J.
- That is -2.07 kJ of boundary work done on the gas, and the temperature ends at 486.2 K - negative work means compression.
This polytropic process calculator solves the relation PV^n = C for a gas that is compressed or expanded along a path between the isothermal and adiabatic limits. Enter the initial pressure, volume and temperature, the final volume and the exponent n, and it returns the final pressure and temperature along with the boundary work. The exponent identifies the process: n = 0 is isobaric, n = 1 is isothermal, n = gamma (1.4 for air) is adiabatic, and n approaching infinity is isochoric. The final state follows from the volume ratio, with P2 = P1 (V1/V2)^n and T2 = T1 (V1/V2)^(n-1). For example, compressing a gas from 100 kPa and 10 L to 2 L at n = 1.3 gives P2 = 810.3 kPa, T2 = 486.2 K and boundary work of -2.07 kJ, negative because work is done on the gas.
The method is the standard one because PV^n = C is the defining relation of a polytropic path, and the pressure and temperature relations follow directly from it. The work calculation respects the special case at n = 1, where the integral becomes logarithmic, W = P1 V1 ln(V2/V1): expanding 200 kPa and 5 L to 10 L at constant temperature yields +0.69 kJ of work by the gas. Real compressor stages run with n between 1.2 and 1.35, between the isothermal and adiabatic limits, which is why intercooling saves work; adiabatic compression of air at n = 1.4 from 101 kPa and 20 L to 5 L reaches 703.4 kPa and 510.1 K, with -3.74 kJ of work. This page shows the formula, step-by-step workings, worked examples and sources.
Worked examples
Compressor stage, n = 1.3
(1.3 · 100 kPa · 10 L · 2 L · 300 K)
| Boundary work done by the gas | -2.07 kJ |
| Final pressure | 810.3 kPa |
| Final temperature | 486.2 K |
| Process type | general polytropic |
| Polytropic constant C = P x V^n | 1,995.3 kPa.L^n |
Isothermal expansion, n = 1
(1 · 200 kPa · 5 L · 10 L · 350 K)
| Boundary work done by the gas | 0.69 kJ |
| Final pressure | 100.0 kPa |
| Final temperature | 350.0 K |
| Process type | isothermal (n = 1) |
| Polytropic constant C = P x V^n | 1,000.0 kPa.L^n |
Adiabatic compression of air, n = 1.4
(1.4 · 101 kPa · 20 L · 5 L · 293 K)
| Boundary work done by the gas | -3.74 kJ |
| Final pressure | 703.4 kPa |
| Final temperature | 510.1 K |
| Process type | near-adiabatic for air (n near 1.4) |
| Polytropic constant C = P x V^n | 6,695.2 kPa.L^n |
PV^n = C: one family, four famous members
Every process in this family obeys the same relation, PV^n = C, and the exponent n is what tells you which process you are looking at. Set n = 0 and pressure is constant, which is the isobaric process. Set n = 1 and the product PV is constant, which is the isothermal process. Set n equal to gamma — 1.4 for air — and you have the adiabatic process. Let n approach infinity and volume becomes constant, the isochoric process. Four familiar names, one equation, and a polytropic process calculator simply lets you dial n to whichever value the situation calls for.
Once n is chosen, the final state follows from the volume ratio: P2 = P1 (V1/V2)^n and T2 = T1 (V1/V2)^(n-1). A worked case shows how the numbers behave. Compressing a gas from 100 kPa and 10 L to 2 L at n = 1.3 gives P2 = 810.3 kPa, T2 = 486.2 K and boundary work of -2.07 kJ — negative because work is done on the gas. The same formulas cover the special cases, though the work integral needs care at n = 1, where it becomes logarithmic, W = P1 V1 ln(V2/V1). Expanding 200 kPa and 5 L to 10 L at constant temperature yields +0.69 kJ of work by the gas.
The adiabatic limit is worth seeing on its own. Adiabatic compression of air at n = 1.4 from 101 kPa and 20 L to 5 L reaches 703.4 kPa and 510.1 K, with -3.74 kJ of work. Compare that temperature rise with the n = 1.3 example above: moving the exponent changes both the discharge pressure and the final temperature, which is exactly why the exponent matters in equipment design.
Real compressor stages do not sit neatly at either limit. They run polytropic with n between 1.2 and 1.35, between the isothermal and adiabatic limits — which is why intercooling saves work. The closer the compression stays to isothermal, the less work it takes, and cooling between stages pulls the path in that direction. That is the practical reason the polytropic exponent is not just a textbook curiosity: it is the number that describes what a real machine is actually doing.
- n = 0: isobaric (constant pressure)
- n = 1: isothermal (constant temperature)
- n = gamma, 1.4 for air: adiabatic
- n approaching infinity: isochoric (constant volume)
- Real compressor stages: n between 1.2 and 1.35
Final pressure and temperature
Once you know the starting pressure, the starting volume, the final volume and the exponent n, the final state of a polytropic process follows directly from the volume ratio. Because the path obeys PV^n = C, pressure scales as P2 = P1 (V1/V2)^n, and temperature scales as T2 = T1 (V1/V2)^(n-1). A polytropic process calculator applies both relations together, so you get pressure and temperature from a single volume ratio instead of working through the constant C by hand.
The direction of the volume change matters. When V2 is smaller than V1, the ratio V1/V2 is greater than one, and compression raises both pressure and temperature. When the gas expands, the same formulas return a lower pressure and a lower temperature. The exponent controls how sharply each quantity moves: a larger n produces a steeper pressure rise for the same compression, while n = 1 leaves temperature unchanged because the exponent n - 1 becomes zero.
A worked case shows the arithmetic. Compressing a gas from 100 kPa and 10 L to 2 L at n = 1.3 gives a volume ratio of 10/2 = 5. Pressure becomes 100 kPa x 5^1.3 = 810.3 kPa, and temperature follows T2 = T1 x 5^0.3, which comes to 486.2 K for a starting temperature of 300 K. The same case yields boundary work of -2.07 kJ, negative because work is done on the gas rather than by it. These three results — 810.3 kPa, 486.2 K and -2.07 kJ — are the outputs a polytropic process calculator should reproduce exactly.
Compare that with the special cases named by the exponent. At n = 1 the work integral becomes logarithmic, W = P1 V1 ln(V2/V1): expanding 200 kPa and 5 L to 10 L at constant temperature yields +0.69 kJ of work by the gas. Adiabatic compression of air at n = 1.4, from 101 kPa and 20 L to 5 L, reaches 703.4 kPa and 510.1 K with -3.74 kJ of work. The n = 1.3 result sits between these limits, which is exactly where real machines operate.
- P2 = P1 (V1/V2)^n — pressure from the volume ratio and the exponent.
- T2 = T1 (V1/V2)^(n-1) — temperature from the same ratio, using n - 1.
- n = 1.3 case: 100 kPa and 10 L compressed to 2 L gives 810.3 kPa and 486.2 K.
- Boundary work for that case is -2.07 kJ, negative because work is done on the gas.
Boundary work, including the n = 1 special case
Boundary work is the work a gas does on its surroundings (or has done on it) as its volume changes. For a polytropic process, where PV^n = C, the work integral has a compact closed form: W = (P2V2 - P1V1)/(1 - n). You can use this directly in the polytropic process calculator, or by hand: plug in the pressure and volume at each end of the path and the exponent n, and the formula returns the boundary work in the same units as your P·V product.
The formula fails at n = 1, and it is worth seeing why. As n approaches 1, the denominator (1 - n) approaches zero, so the expression grows without bound — yet the physical work does not. The problem is that at exactly n = 1 the path is isothermal, PV is constant, and P2V2 - P1V1 is also zero, so the formula becomes 0/0. The integral has to be evaluated differently. For an isothermal process the work becomes logarithmic: W = P1V1 ln(V2/V1). For example, expanding 200 kPa of gas at 5 L to 10 L at constant temperature gives +0.69 kJ of work done by the gas.
Watch the sign convention. Work is positive when the gas expands and does work on its surroundings, and negative when the gas is compressed and work is done on it. Compressing a gas from 100 kPa and 10 L to 2 L at n = 1.3 gives P2 = 810.3 kPa, T2 = 486.2 K, and boundary work of -2.07 kJ — negative because work is done on the gas. A steeper, more adiabatic compression shows the same pattern: air compressed at n = 1.4 from 101 kPa and 20 L to 5 L reaches 703.4 kPa and 510.1 K, with -3.74 kJ of work. In both cases the negative sign is the signal that energy is going into the gas, not coming out.
The exponent also tells you which limit you are near. n = 0 is isobaric, n = 1 is isothermal, n = gamma (1.4 for air) is adiabatic, and n approaching infinity is isochoric. Real compressor stages run polytropic with n between 1.2 and 1.35 — between the isothermal and adiabatic limits — which is why intercooling saves work: it pulls the path closer to the isothermal case, where the same pressure rise costs less boundary work.
Polytropic efficiency in real machines
In real compressors and turbines, the polytropic exponent is not just a textbook label — it is a measured quantity that tells you how the machine is actually behaving. Because a polytropic process follows PV^n = C, logging pressure and volume as a stage runs lets you fit n to the data. That fitted n sits between the two ideal limits: n = 1 (isothermal) and n = gamma, about 1.4 for air (adiabatic). Real compressor stages typically run with n between 1.2 and 1.35, closer to the isothermal end than a purely adiabatic machine would be. A polytropic process calculator turns those logged pressures and volumes into the temperatures and work values you need for a performance check.
The gap between n = 1 and n = 1.4 has a direct cost in work. Adiabatic compression of air at n = 1.4 from 101 kPa and 20 L to 5 L reaches 703.4 kPa and 510.1 K, with -3.74 kJ of work. The same compression pushed toward isothermal behavior at n = 1.3 gives a cooler, cheaper result: compressing from 100 kPa and 10 L to 2 L at n = 1.3 yields P2 = 810.3 kPa, T2 = 486.2 K and boundary work of -2.07 kJ, negative because work is done on the gas. The lower exponent means less of the input work ends up as heat in the gas. At the limiting case n = 1, the work integral becomes logarithmic, W = P1 V1 ln(V2/V1): expanding 200 kPa, 5 L to 10 L at constant temperature yields +0.69 kJ of work by the gas.
This is exactly why intercooling saves work. Cooling between stages pulls the compression path back toward the isothermal limit, lowering the effective exponent and reducing the total work for the same overall pressure ratio. When you measure n from pressure-volume logging on a real machine, a value drifting up toward 1.4 is a sign that intercooling is underperforming or that heat is building up across the stage.
Polytropic efficiency versus isentropic efficiency is the other half of the picture. Isentropic efficiency compares a real machine to an ideal adiabatic one, which is convenient for turbines but awkward for compressors that are deliberately cooled. Polytropic efficiency compares performance stage by stage along the actual path, so it stays meaningful when intercooling is present. Use the measured n in the polytropic process calculator to get T2 and work for each stage, then compare those results against the ideal limits to judge how well the machine is doing.
FAQs
What is a polytropic process?
A polytropic process is any process that obeys PV^n = C, where P is pressure, V is volume, n is the polytropic exponent, and C is a constant. The exponent n selects the process type: n = 0 is isobaric, n = 1 is isothermal, and n = 1.4 is adiabatic for air.
How do you find the final pressure in a polytropic process?
Use P2 = P1 (V1/V2)^n. For example, compressing 100 kPa of gas from 10 L to 2 L at n = 1.3 gives a final pressure of 810.3 kPa. The ratio of volumes is raised to the exponent n, then multiplied by the initial pressure.
What is the work formula for a polytropic process?
The work formula is W = (P2V2 - P1V1) / (1 - n). When n = 1, that expression is undefined, so the isothermal case uses W = P1 V1 ln(V2/V1) instead. Both forms give the work associated with the process under the stated sign convention.
Why is the work negative in the examples?
The sign convention counts work done by the gas as positive. During compression, work is done on the gas rather than by it, so the result comes out negative. The worked examples show -2.07 kJ and -3.74 kJ, matching that convention for compression processes.
What n value is an adiabatic process?
For an adiabatic process, n = gamma, the heat capacity ratio. For air, gamma is 1.4. In the worked compression example using that value, the final pressure is 703.4 kPa and the final temperature is 510.1 K.
What happens to temperature in the isothermal case?
In the isothermal case, temperature stays constant by definition. Throughout the n = 1 example, the temperature remains 350.0 K. Because n = 1 corresponds to an isothermal process, no temperature change occurs as the volume and pressure change.