Introduction
A heat exchanger moves heat from a hot fluid to a cold fluid. To size one, you need to know the average temperature difference between the two fluids. That number is called the LMTD, or Log Mean Temperature Difference. It is not a simple average, because the gap between the hot and cold streams changes along the length of the unit.
This LMTD calculator works from the four end temperatures. Enter hot in, hot out, cold in, and cold out, then pick your flow setup: counterflow, parallel flow, or shell and tube. The tool gives you ΔT₁, ΔT₂, and the LMTD right away, with each step shown so you can check the work or copy it into a report.
You can do more than just find the LMTD. The calculator can also:
- Solve for a missing outlet temperature using mass flow and specific heat
- Find heat duty (Q) from LMTD and UA
- Find the heat transfer area (A) you need from Q, U, and LMTD
- Compare counterflow and parallel flow side by side
- Apply a correction factor F for shell and tube designs
Units are flexible. Work in °C, °F, or K, and switch flow rates, specific heat, duty, and area units at any time. The calculator also warns you about temperature crosses and other setups that cannot happen in real life.
A chart and a drag-and-drop temperature profile let you see how the two fluids change along the exchanger. Move the sliders and watch the LMTD rise or fall. That helps students learning heat transfer and engineers checking a design fast.
How to use our LMTD Calculator
Enter your heat exchanger temperatures, and if needed the flow rates, specific heats, U value, or heat duty. The calculator gives you ΔT₁, ΔT₂, the log mean temperature difference (LMTD), plus heat duty or required area, with step-by-step math and a temperature profile chart.
Calculation Mode: Pick what you want to find. Choose LMTD if you know all four temperatures, or pick a mode to solve for an outlet temperature, heat duty, area, or to compare flow types. The input boxes below change to match your pick.
Heat Exchanger Type: Choose counterflow, parallel flow, or shell & tube. This sets how ΔT₁ and ΔT₂ are worked out.
Hot Inlet Temperature (Thi): Type the temperature of the hot fluid as it enters. Pick °C, °F, or K from the drop-down.
Hot Outlet Temperature (Tho): Type the temperature of the hot fluid as it leaves. It must be lower than the hot inlet.
Cold Inlet Temperature (Tci): Type the temperature of the cold fluid as it enters.
Cold Outlet Temperature (Tco): Type the temperature of the cold fluid as it leaves. It must be higher than the cold inlet.
Hot Mass Flow Rate (ṁh): Enter how much hot fluid flows per unit of time, such as kg/s or lb/h. Used only when solving for an outlet temperature.
Hot Specific Heat (cph): Enter the specific heat of the hot fluid. Water is about 4180 J/kg·K.
Cold Mass Flow Rate (ṁc): Enter how much cold fluid flows per unit of time, with its unit.
Cold Specific Heat (cpc): Enter the specific heat of the cold fluid.
LMTD: In duty and area modes, type the log mean temperature difference you already know, then pick °C, K, or °F.
UA Product: Enter the overall conductance (U times area) to find heat duty. Pick W/K, kW/K, or another unit.
Overall Heat Transfer Coefficient (U): Enter the U value to find the needed area. Common units are W/m²·K and BTU/h·ft²·°F.
Heat Duty (Q): Enter the heat load the exchanger must move. Use W, kW, BTU/h, or another unit.
Correction Factor F: For shell & tube or cross flow, enter F from a TEMA chart. It must be more than 0 and no more than 1. The tool shows P and R to help you read the chart.
Result Units: Use the drop-downs in the Results area to show ΔT and LMTD in °C, K, or °F, and to switch the heat duty, area, and outlet temperature units.
Visualizer Sliders: Drag the four temperature sliders and pick counterflow or parallel flow to see how the profile, ΔT₁, ΔT₂, and LMTD change. These sliders do not change your answers above.
Calculate and Reset: Results update as you type, but you can press Calculate to refresh. Press Reset to go back to the default values.
What Is LMTD?
LMTD stands for Log Mean Temperature Difference. It is the average temperature gap between a hot fluid and a cold fluid inside a heat exchanger. This gap is the "push" that moves heat from the hot side to the cold side. A bigger gap moves more heat.
The gap is not the same at both ends of the exchanger, and it does not change in a straight line. It changes in a curve. So engineers use a log (logarithmic) average instead of a plain average. That average is the LMTD.
The LMTD Formula
You find LMTD from the two end gaps, called terminal temperature differences:
LMTD = (ΔT₁ − ΔT₂) ÷ ln(ΔT₁ ÷ ΔT₂)
- Counterflow: ΔT₁ = Thi − Tco and ΔT₂ = Tho − Tci
- Parallel flow: ΔT₁ = Thi − Tci and ΔT₂ = Tho − Tco
Here Thi and Tho are the hot inlet and outlet temperatures. Tci and Tco are the cold inlet and outlet temperatures. If ΔT₁ and ΔT₂ are almost equal, the log part breaks down, so the simple average (ΔT₁ + ΔT₂) ÷ 2 is used instead. It gives nearly the same answer.
Why LMTD Matters
LMTD ties into the main heat exchanger sizing equation:
Q = U × A × LMTD
- Q is the heat duty, or how much heat moves, in watts.
- U is the overall heat transfer coefficient, in W/m²·K. It tells how easily heat crosses the wall.
- A is the heat transfer area, in m². This is the tube or plate surface.
With this one equation you can find the duty, the needed area, or the U value. That is how engineers pick the right size of heat exchanger for a job.
Counterflow vs. Parallel Flow
In counterflow, the two fluids move in opposite directions. In parallel flow (also called co-current), they move the same way and enter at the same end.
Counterflow almost always wins. It keeps a more even temperature gap along the whole length, so the LMTD is higher. A higher LMTD means you need less area for the same heat duty. Parallel flow also has a hard limit: the cold outlet can never get hotter than the hot outlet. Counterflow has no such limit, so the cold fluid can leave hotter than the hot fluid leaves.
Shell and Tube Correction Factor (F)
Real shell-and-tube and cross-flow units do not flow in a perfect straight line. The fluids mix and turn, so the true temperature gap is smaller than pure counterflow. To fix this, the LMTD is multiplied by a correction factor F:
LMTDcorrected = F × LMTDcounterflow
F is read from standard TEMA charts using two numbers:
- P = (Tco − Tci) ÷ (Thi − Tci). This is how much of the possible heating the cold fluid gets.
- R = (Thi − Tho) ÷ (Tco − Tci). This is the ratio of the two capacity rates.
F is always between 0 and 1. Good designs keep F above about 0.75. A lower F means the design is wasting area and should be changed, often by adding more shell passes.
Energy Balance and Outlet Temperatures
If you know three temperatures plus the flow rates, you can find the fourth one. Heat lost by the hot fluid equals heat gained by the cold fluid:
Q = ṁh × cph × (Thi − Tho) = ṁc × cpc × (Tco − Tci)
Here ṁ is mass flow rate (kg/s) and cp is specific heat (J/kg·K). The product ṁ × cp is called the capacity rate C. The fluid with the smaller capacity rate always sees the bigger temperature change.
Watch Out for a Temperature Cross
If ΔT₁ or ΔT₂ comes out as zero or negative, you have a temperature cross. That means heat would have to flow from cold to hot, which cannot happen. The LMTD is then undefined. Check your numbers: the hot outlet cannot be hotter than the hot inlet, and the cold outlet cannot be colder than the cold inlet.
Typical U Values
| Fluid Pair | Typical U (W/m²·K) |
|---|---|
| Water to water | 800 – 1,500 |
| Water to oil | 100 – 350 |
| Steam to water | 1,000 – 3,500 |
| Gas to gas | 10 – 40 |
| Steam to light oil | 200 – 700 |
These are rough starting numbers. Dirt and scale build up over time and lower U, so designers add a fouling allowance and extra area.