Skip to main contentSkip to navigation
ThisIsHowItWorks.in

Complex systems, clearly explained.

An independent visual publication explaining the invisible protocols, networks, infrastructure, and mechanisms that run our world.

Explainers

  • How UPI Works
  • Offline UPI Mechanisms
  • All Explainers (Archive)
  • Topics & Roadmap
  • Search Index

Publication

  • About Publication
  • Editorial Principles
  • Changelog
  • RSS / Atom Feed

Legal & Contact

  • Privacy Policy
  • Terms of Use
  • Editorial & Legal Notice
  • Contact Us

Connect

  • Instagram
  • Discord Community
© 2026 ThisIsHowItWorks.in. All rights reserved.
Durable technical understanding built from first principles.
ThisIsHowItWorks.in
ExploreTopicsAbout
  1. Home
  2. /Topics
  3. /machines
  4. /Machines & Mechanical Systems
  5. /Machines & Mechanical Systems
  6. /How Refrigerators and Heat Pumps Work
Engineering · machines/ Explainer

How Refrigerators and Heat Pumps Work

From the Clausius thermodynamic statement and vapor-compression cycles to phase-change latent heat, expansion valves, and reversible heating coefficients

Updated for clarity
The Short AnswerFirst-Principles Core

“If heat naturally flows only from hot things to cold things, how does a refrigerator pull heat out of cold milk and dump it into a warm kitchen?”

The Second Law of Thermodynamics dictates that heat flows spontaneously in one direction only: downhill from hotter bodies to colder bodies. A cup of hot coffee cools in a room; it never spontaneously absorbs heat from the air to boil. Yet every refrigerator and modern heat pump accomplishes what appears to be a thermodynamic impossibility: moving thermal energy uphill from a cold space to a warm one. In 1850, Rudolf Clausius formulated the exact physical law: heat cannot move from cold to hot without external work. By circulating a closed loop of volatile refrigerant fluid through a four-stage vapor-compression cycle—Evaporation, Compression, Condensation, and Expansion—refrigerators exploit the massive latent heat of phase change. By adding a four-way reversing valve, heat pumps flip this cycle in winter, capturing heat from freezing outdoor air to warm indoor living spaces at more than three hundred percent electrical efficiency.

Recommended Background

To understand the failure modes and edge cases detailed in this piece, we recommend familiarizing yourself with these foundational mechanisms first:

How Thermodynamics Dictates the Arrow of Time
Understanding How Thermodynamics Dictates the Arrow of Time is required before reading How Refrigerators and Heat Pumps Work
In this Explainer8 Sections

1. The Second Law Paradox: Moving Heat Uphill

If you leave a boiling cup of coffee on your kitchen counter, it cools down until it matches the room's temperature.

It will never spontaneously do the reverse: the coffee will never absorb thermal energy from the cooler room air to begin boiling again. In 1850, German physicist Rudolf Clausius formalized this universal observation as the Second Law of Thermodynamics:

"Heat can never pass from a colder to a warmer body without some other change, connected therewith, occurring at the same time."

                  SPONTANEOUS VS. DRIVEN HEAT FLOW
  
       NATURAL SPONTANEOUS FLOW                   DRIVEN REFRIGERATION CYCLE
       (No Work Required)                         (Requires Work Input $W_{\text{in}}$)
  
       ┌────────────────────┐                     ┌────────────────────┐
       │ HOT BODY (Coffee)  │                     │ WARM ROOM (22°C)   │
       └─────────┬──────────┘                     └─────────▲──────────┘
                 │                                          │ $Q_H = Q_C + W$
                 │ Heat flows                               │ PUMPED UPHILL!
                 ▼ downhill                                 │
       ┌────────────────────┐                     ┌─────────┴──────────┐
       │ COLD ROOM (22°C)   │                     │ [COMPRESSOR WORK W]│
       └────────────────────┘                     └─────────▲──────────┘
                                                            │ $Q_C$ Extracted
                                                  ┌─────────┴──────────┐
                                                  │ COLD FRIDGE (3°C)  │
                                                  └────────────────────┘

Yet every home contains an appliance that performs what appears to be a thermodynamic miracle: the refrigerator.

  • Inside the refrigerator, a carton of milk sits at 3°C (37°F).
  • The surrounding kitchen air is at 22°C (72°F).
  • The refrigerator continuously takes heat out of the 3°C milk and expels that heat into the warmer 22°C kitchen.

Does your refrigerator violate the Second Law of Thermodynamics?

No. Notice the precise wording Clausius used: "without some other change occurring at the same time."

Heat cannot flow from cold to hot by itself. But if you couple the system to an external source of mechanical work—in this case, an electrical motor driving a mechanical compressor ($W_{\text{in}}$)—you can force heat to flow uphill against its natural thermal gradient.


2. The Power of Phase Change: Latent vs. Sensible Heat

Why don't refrigerators just blow cold air through pipes, or pump cold water around your food?

Because using simple liquid or gas to absorb heat relies on sensible heat: $$Q = m \cdot c \cdot \Delta T$$ To absorb substantial thermal energy, water or air must either experience a massive temperature rise ($\Delta T$) or you must circulate enormous masses of fluid ($m$), requiring giant pumps and deafening fans.

Refrigerators use a far more powerful thermodynamic weapon: the latent heat of phase change.

                  SENSIBLE HEAT VS. LATENT HEAT
  
   1 kg of Liquid Water warming by 1°C:
   ► Absorbs 4.18 Kilojoules of energy (Sensible Heat).
  
   1 kg of Liquid Water boiling into Steam at 100°C:
   ► Absorbs **2,260 Kilojoules** of energy (Latent Heat of Vaporization)!
   (OVER 500 TIMES MORE ENERGY WITH ZERO CHANGE IN TEMPERATURE!)

When a substance changes phase from liquid to gas (evaporation), it must break the intermolecular bonds holding its molecules together. This requires absorbing massive amounts of latent heat of vaporization:

  • While the liquid boils, its temperature does not rise by a single degree. It absorbs torrents of thermal energy while remaining at its exact boiling point.
  • Conversely, when that vapor condenses back into liquid, it releases that exact same massive quantity of latent heat into its surroundings.

A refrigerator is a closed-loop phase-change machine: it boils a liquid inside your food compartment to vacuum up heat, pumps the vapor outside the fridge, and condenses it back into a liquid to dump the heat into your kitchen.


3. The Working Fluid: The Refrigerant

The magic fluid that circulates through this closed loop is called a refrigerant.

Water is an excellent phase-change fluid, but its boiling point at atmospheric pressure is 100°C. You cannot cool a refrigerator with water because water will not boil at 3°C unless you maintain an extreme vacuum.

Refrigerators require a chemical fluid with an extremely low boiling point at standard atmospheric pressure:

                  REFRIGERANT THERMODYNAMIC PROPERTIES
  
   Refrigerant Fluid          Chemical Formula     Boiling Point at 1 atm (1 bar)
  ─────────────────────────────────────────────────────────────────────────────
   Water ($H_2O$)             $H_2O$               +100.0°C (Too high for cooling)
   Ammonia (R-717)            $NH_3$               -33.3°C (Industrial cold storage)
   R-134a (Automotive/Fridge) $CF_3CH_2F$          -26.3°C (-15.3°F)
   R-410A (Home AC)           $CH_2F_2 / CHF_2CF_3$-51.4°C (-60.5°F)
   Isobutane (R-600a)         $C_4H_{10}$          -11.7°C (Modern home fridges)

At ordinary room temperature and atmospheric pressure, pure R-134a or isobutane is a boiling gas.

If you spilled liquid R-134a onto a table at room temperature, it would boil violently, freezing the table surface instantly as it absorbed the latent heat of vaporization from the wood.

By manipulating the pressure of this fluid inside closed copper pipes, engineers can force it to boil at -25°C (to absorb heat from food) and condense at +50°C (to reject heat into a warm room).


4. The Four Stages of the Vapor-Compression Cycle

The closed vapor-compression refrigeration cycle consists of four continuous, sequential thermodynamic processes:

                  THE FOUR-STAGE VAPOR-COMPRESSION CYCLE
  
                     [2. COMPRESSOR (Work Input W_in)]
                                   ▲
             Low-Pressure,         │ High-Pressure,
             Cold Vapor (-10°C)    │ Superheated Hot Vapor (+80°C!)
                                   │
   [1. EVAPORATOR (Cold Inside)]   │   [3. CONDENSER (Hot Outside)]
   Refrigerant BOILS at -20°C;     │   Refrigerant CONDENSES at +45°C;
   absorbs heat $Q_C$ from food!   │   dumps heat $Q_H$ into kitchen!
                                   │
             Low-Pressure,         │ High-Pressure,
             Cold Liquid (-25°C)   │ Warm Liquid (+35°C)
                                   ▼
                   [4. EXPANSION VALVE / CAPILLARY]
                   Pressure drops! Flash evaporation!

The flow diagram below maps the complete thermodynamic path of the refrigerant as it circulates through the four mechanical stages:

The Closed-Loop Vapor-Compression Refrigeration Cycle
processEvaporator Heat Absorption (Inside Fridge) :: Low-pressure liquid refrigerant (-25°C) absorbs latent heat from food, boiling into cold vapor at constant temperature.
processSuperheated Suction to Compressor :: Cold vapor enters the compressor; mechanical work elevates vapor pressure and temperature via adiabatic compression.
processHigh-Pressure Discharge to Condenser :: Glowing hot vapor (+80°C) enters external coils, radiating heat into room air and condensing into a warm liquid.
processHigh-Pressure Liquid Subcooling :: Liquid refrigerant collects at condenser base; heat continues dissipating into ambient air before entering throttling lines.
processIsenthalpic Expansion Throttling :: Fluid passes through a microscopic capillary tube; pressure plunges from 15 bar to 1.5 bar in milliseconds.
processJoule-Thomson Flash Cooling :: Sudden pressure drop triggers instant flash evaporation, plunging refrigerant temperature down to -25°C.
processRe-Entry to Evaporator Loop :: Cold liquid-vapor slurry re-enters the food compartment coils to vacuum up the next cycle of thermal energy.
Flow diagram tracing the refrigerant cycle from low-pressure evaporator boiling and compressor work to high-pressure condenser heat rejection, expansion valve throttling, and flash cooling.

Stage 1: Evaporation (Inside the Food Compartment)

  • Cold refrigerant enters the evaporator coils inside the freezer or refrigerator at a low pressure of roughly 1.5 bar.
  • At 1.5 bar, the boiling point of the refrigerant is -25°C (-13°F).
  • The food compartment is warmer: say, +3°C.
  • Under the Second Law, heat flows naturally and rapidly from the warmer food compartment into the freezing-cold copper coils.
  • As the refrigerant absorbs this heat ($Q_C$), it boils into a vapor. It absorbs immense quantities of latent heat without getting warmer, maintaining a sub-zero cooling surface.

Stage 2: Compression (The Work Input)

  • The low-pressure vapor leaves the evaporator and enters the compressor—the electrical heart of the system mounted beneath or behind the fridge.
  • An electric motor drives a reciprocating piston or rotary scroll, squeezing the vapor into a tiny volume.
  • The pressure skyrockets from 1.5 bar to fifteen bar.
  • In accordance with the laws of adiabatic gas compression, doing mechanical work ($W_{\text{in}}$) on a gas forces its temperature to spike: the refrigerant exits the compressor as a superheated vapor glowing hot at 70°C to 90°C (160°F to 195°F)!

Stage 3: Condensation (Outside the Fridge)

  • This superheated, high-pressure gas flows into the condenser coils on the outside back or underside of the refrigerator.
  • The refrigerant is at +80°C. The kitchen air is at +22°C.
  • Because the refrigerant is now significantly hotter than the kitchen, heat flows naturally out of the coils into the room.
  • As it cools under high pressure, the refrigerant condenses back into a high-pressure liquid, releasing both the heat it stole from the food ($Q_C$) plus the electrical work added by the compressor ($W_{\text{in}}$): $$Q_H = Q_C + W_{\text{in}}$$
  • This is why the back or bottom of a refrigerator always blows warm air: you are feeling the heat extracted from yesterday's groceries plus the electrical energy of the compressor!

Stage 4: Expansion (The Joule-Thomson Freeze)

  • The refrigerant is now a warm liquid (+35°C) under high pressure (15 bar). To cool the food again, it must be made freezing cold.
  • It is forced through an expansion device: either a narrow capillary tube (a copper pipe with an inside bore barely 0.8 mm wide) or a Thermostatic Expansion Valve (TXV).
  • The fluid passes through this severe restriction, experiencing a catastrophic drop in pressure: from 15 bar down to 1.5 bar.
  • Flash Evaporation: When pressure drops below the liquid's saturation point, a portion of the liquid instantaneously flashes into vapor.
  • Where does the energy to boil come from? It is drawn from the remaining liquid itself!
  • As molecules use their own thermal energy to overcome intermolecular bonds, the temperature of the remaining fluid plunges from +35°C down to -25°C in a fraction of a millisecond (the Joule-Thomson effect).
  • This ice-cold liquid-vapor mist sprays back into the evaporator coils, ready to absorb more heat from your food.

5. The Reversible Heat Pump: 300% Efficiency

An air conditioner is simply a giant refrigerator that cools a house instead of a plastic box: its evaporator is inside your living room, and its condenser is outside in the yard.

A Heat Pump takes this exact same machine and performs a miraculous engineering trick: it runs the cycle in reverse during winter.

                  THE FOUR-WAY REVERSING VALVE
  
       COOLING MODE (Summer AC)                   HEATING MODE (Winter Heat Pump)
  
   Indoor Coil:  EVAPORATOR (Absorbs heat)    Indoor Coil:  CONDENSER (Dumps heat inside!)
   Outdoor Coil: CONDENSER (Dumps heat out)   Outdoor Coil: EVAPORATOR (Absorbs winter heat!)
  
   ◄── Solenoid Valve flips flow! ───────────► ◄── Solenoid Valve flips flow! ───────────►

In winter, a motorized four-way reversing valve flips the direction of refrigerant flow:

  • The outdoor coil becomes the evaporator: Even when outdoor winter air is freezing at -5°C (23°F), the refrigerant inside the coil is colder: boiling at -20°C. Heat flows naturally from the freezing outdoor air into the even-colder refrigerant!
  • The indoor coil becomes the condenser: The compressor squeezes the vapor up to 80°C, and the indoor coil radiates this heat into your home, warming the living room to 21°C.

Why Heat Pumps Beat Electric Resistance Heaters

Consider an ordinary electric space heater, toaster, or electric furnace:

  • It passes current through a resistor (Nichrome wire).
  • In accordance with Joule heating ($P = I^2 R$), 100 percent of electrical energy is converted to thermal energy.
  • Its Coefficient of Performance (COP) is exactly 1.0 (100% efficient): you put in 1,000 watts of electricity, and you get 1,000 watts of heat.

Now consider a modern air-source heat pump:

  • The electricity does not create the heat; the electricity merely runs the compressor pump that moves existing environmental heat from the outdoors inside.

$$\text{COP}{\text{heating}} = \frac{Q_H}{W{\text{in}}} = \frac{Q_C + W_{\text{in}}}{W_{\text{in}}} = 1 + \frac{Q_C}{W_{\text{in}}}$$

A typical modern heat pump operates with a COP of 3.0 to 4.0:

  • For every 1 kilowatt-hour of electricity consumed by the compressor, the heat pump pulls 2.5 to 3.0 kilowatt-hours of heat from the cold outdoor air.
  • It delivers 3.5 to 4.0 kilowatt-hours of total heat into your home!
  • It is effectively 350 to 400 percent efficient. It does not violate thermodynamics; it is not creating energy, it is acting as a thermodynamic freight train moving solar energy stored in outdoor air into your living room.

6. The Chemical Battle: From Ammonia to the Ozone Hole

The history of refrigeration is an environmental drama spanning three generations of chemical engineering:

                  THE THREE GENERATIONS OF REFRIGERANTS
  
   Era & Class              Key Chemicals                 Critical Environmental Flaw
  ────────────────────────────────────────────────────────────────────────────────────────
   1. Toxic First Wave      Ammonia ($NH_3$), Sulfur      Lethal if leaked in homes; toxic,
      (1880s–1920s)         Dioxide ($SO_2$), Methyl Cl   corrosive, explosive hazards.
  
   2. The CFC Miracle       CFC-12 (Freon), CFC-11        Non-toxic, but catalytically destroys
      (1930s–1980s)         Chlorofluorocarbons           **Stratospheric Ozone Layer (ODP)!**
  
   3. The Modern HFC/HFO    HFC-134a, R-410A, HFO-1234yf, Zero ozone risk, but high GWP;
      (1990s–Present)       Isobutane (R-600a), $CO_2$    transitioning to natural hydrocarbons.

The CFC Trap and the Montreal Protocol

In 1928, American chemist Thomas Midgley Jr. invented chlorofluorocarbons (CFCs), marketed by DuPont as Freon:

  • CFCs seemed like miracle compounds: non-toxic, non-flammable, non-corrosive, odorless, and chemically inert. Midgley famously demonstrated their safety at an American Chemical Society lecture by inhaling a lungful of Freon and blowing out a candle.
  • Millions of refrigerators and air conditioners were charged with CFC-12.

In 1974, chemists Mario Molina and F. Sherwood Rowland discovered a catastrophic hidden mechanism:

  1. Because CFCs are completely inert, they do not break down in the lower atmosphere. Over decades, they drift upward into the stratosphere.
  2. In the stratosphere, high-energy solar ultraviolet radiation ($UV\text{-C}$) strikes the CFC molecule, breaking the carbon-chlorine bond and releasing a free Chlorine radical ($Cl^\bullet$).
  3. The chlorine radical acts as a runaway catalyst, attacking ozone ($O_3$): $$Cl^\bullet + O_3 \longrightarrow ClO^\bullet + O_2$$ $$ClO^\bullet + O \longrightarrow Cl^\bullet + O_2$$
  4. The chlorine radical emerges completely regenerated, ready to strike again: a single chlorine atom destroys over 100,000 ozone molecules before drifting away, punching giant holes in Earth's protective ultraviolet shield.

In 1987, the global community signed the Montreal Protocol, banning CFCs worldwide—the single most successful environmental treaty in human history.

Today, domestic refrigerators use isobutane (R-600a) or hydrofluoroolefins (HFOs): natural or synthetic molecules that break down in the lower atmosphere within days, possessing zero Ozone Depletion Potential (ODP = 0) and near-zero Global Warming Potential.


7. Comparative Matrix: Thermodynamic Heat Movers

The table below contrasts the operational parameters and thermal performance of the primary cooling and heating technologies:

System TypeOperating FluidThermal DriverTypical COPPrimary ApplicationKey Operational Limit
Vapor-Compression RefrigeratorIsobutane (R-600a) / R-134aElectric motor compressor1.5 – 2.5 (Cooling)Home food preservationFrost accumulation on evaporator coils
Air-Source Heat PumpR-410A / R-32Inverter variable scroll3.0 – 4.5 (Heating)Residential HVAC space heatingEfficiency drops in sub-zero extreme cold (< -20°C)
Ground-Source (Geothermal) HPWater-glycol loop + refrigerantDeep earth constant 10°C4.5 – 5.5 (Heating)Ultra-efficient buildingsExpensive subterranean drilling costs
Absorption ChillerAmmonia-Water or Water-LiBrDirect heat (Gas flame/Waste heat)0.6 – 0.8 (Thermal)Industrial plants, RVsLow COP; requires high-temperature heat source
Thermoelectric (Peltier)Solid-state semiconductorsElectric current (Peltier effect)0.3 – 0.6Wine coolers, CPU chillersExtremely low efficiency; generates massive waste heat

8. Summary: The Reversed River of Thermal Physics

Refrigeration is humanity’s mastery over the flow of entropy:

  • Clausius Reconciliation: Heat pumps do not defy the Second Law; they harness external electrical work to drive thermal energy uphill against its natural gradient.
  • Phase-Change Leverage: By exploiting the latent heat of vaporization, a modest flow of circulating fluid absorbs and releases hundreds of kilojoules of heat without temperature swings.
  • Isenthalpic Throttling: Capillary tubes and expansion valves harness the Joule-Thomson effect, dropping pressure to trigger instantaneous flash-cooling down to sub-zero temperatures.
  • Coefficient Multiplication: By moving existing environmental heat rather than burning fuel, reversible heat pumps deliver three to four times more heating energy than the electricity they consume.

From preserving food supplies to enabling modern data centers and providing clean, carbon-free heating to millions of homes, the vapor-compression cycle is one of the foundational mechanical pillars of modern civilization.

In our companion explainers across the Machines & Mechanical Systems Series, we examine the mechanisms that power and interact with these thermal circuits:

  • How Internal Combustion Engines Work explores heat engines running in the forward direction, converting heat into shaft work.
  • How Electric Motors Work details the electromagnetic machines that spin modern hermetic refrigeration compressors.
  • How Hydraulic Systems Multiply Force traces how fluid power systems manage heat dissipation through external oil coolers.
  • How the Atmosphere Regulates Earth's Temperature examines how planetary greenhouse gases and ozone photochemistry insulate life on Earth.
Core Concepts Introduced9 Concepts
The Clausius Statement of the Second LawVapor-Compression Refrigeration CycleLatent Heat of Vaporization vs. Sensible HeatCompressor Work Input & Adiabatic Gas HeatingCondenser Heat Rejection ($Q_H = Q_C + W$)Joule-Thomson Throttling & Flash EvaporationCoefficient of Performance (COP)Four-Way Reversing Valves in Air-Source Heat PumpsOzone Depletion Potential (ODP) & Global Warming Potential (GWP)
Knowledge Graph Connections

Where to Go From Here

Explore companion architectures or dive deeper into downstream mechanisms.

Next Question

How Airplane Wings Actually Generate Lift

Why does a 500-ton aluminum airliner stay suspended in thin air, and why is the popular textbook explanation of lift completely wrong?

Explore How Airplane Wings Actually Generate Lift
Next Question

How Electric Motors Work

How does passing an electrical current through stationary coils of copper wire make a heavy steel shaft spin with hundreds of horsepower?

Explore How Electric Motors Work
Research Grounding & Primary Sources

Verified Specifications & Architectural References

3 Authoritative References

This explainer is grounded in primary-source engineering specifications, regulatory circulars, and standard documentation.

Primary SourceMcGraw-Hill (Yunus A. Çengel & Michael A. Boles)• 2019

Thermodynamics: An Engineering Approach (9th Edition)

The premier engineering textbook on refrigeration cycles, pressure-enthalpy (P-h) diagrams, coefficient of performance, and heat pump thermodynamics.

Primary SourcePrentice Hall (Roy J. Dossat & Thomas J. Horan)• 2001

Principles of Refrigeration (5th Edition)

Comprehensive practical treatise on thermostatic expansion valves, hermetic compressors, evaporator coil airflow, and refrigerant thermo-physical properties.

Annalen der Physik (Rudolf Clausius)• 1850

Über die bewegende Kraft der Wärme (On the Motive Power of Heat)

The historic landmark paper introducing the Second Law of Thermodynamics and the foundational statement that heat cannot pass from a colder to a warmer body without external work.

Previous ExplainerHow Internal Combustion Engines WorkNext Explainer How Electric Motors Work
More from Machines & Mechanical Systems•Topic Hub: machinesTopic Hub: Machines & Mechanical Systems
Ground Truth Engineering Publication