Entropy is calculated from property tables for common substances or from equations of state; for ideal gases, entropy change depends on temperature and pressure ratios. Relative entropy values in tables are referenced to an arbitrary baseline, but entropy changes between states are absolute and path-independent. Accurate entropy calculations require careful interpolation in tables and proper handling of saturation conditions.
You already know that entropy is a state property — defined as ds = δQ_rev / T — and that the second law links it to irreversibility. Now the practical question is: given two thermodynamic states, what is the numerical entropy difference? The answer depends on whether you are working with a real substance (use tables) or an ideal gas (use equations).
For real substances like steam or refrigerants, entropy values are tabulated just like specific enthalpy and specific volume. The steam tables list s_f (entropy of saturated liquid), s_g (entropy of saturated vapor), and s_fg = s_g − s_f at each saturation temperature or pressure. For a two-phase mixture, use the quality x: s = s_f + x·s_fg. This mirrors the enthalpy calculation you already know from the Rankine cycle — if you can find enthalpy in a two-phase state, you can find entropy the same way. For superheated vapor, find the correct temperature and pressure block in the superheated tables and read s directly, interpolating linearly if your state falls between table entries. The absolute values in the tables are referenced to an arbitrary datum (0°C for steam), but since you always compute differences between two states, the baseline cancels.
For ideal gases, no tables are needed — entropy change follows from the first and second law combined with the ideal gas equation. The general expression is Δs = c_p·ln(T₂/T₁) − R·ln(P₂/P₁) (for a process at varying pressure) or Δs = c_v·ln(T₂/T₁) + R·ln(v₂/v₁) (for varying volume). These are the Gibbs equations applied to an ideal gas. For air-standard analysis with constant specific heats, these formulas are direct. For more accurate calculations over large temperature ranges, textbooks tabulate the function s° (standard entropy) at each temperature relative to a reference; then Δs = s°(T₂) − s°(T₁) − R·ln(P₂/P₁). Using s° tables instead of constant c_p avoids the error that accumulates when specific heats vary significantly with temperature.
The most common computational task is verifying or exploiting the isentropic condition (Δs = 0). For an isentropic process through steam turbine or compressor, the exit state is found by setting s₂ = s₁ and then reading the enthalpy from the tables at that entropy value and the known exit pressure. This is the ideal-device exit state. Real devices produce an exit with greater entropy (irreversibility always increases s), so the actual exit enthalpy is worse than the isentropic value — higher for a compressor, lower for a turbine. The ratio of actual to isentropic work is the isentropic efficiency, which connects back to your prior work and makes entropy calculation the numerical bridge between the abstract second law and real cycle performance.