Log Mean Temperature Difference (LMTD) Calculator
Calculate the LMTD value for counter flow, parallel flow, shell-and-tube, and crossflow heat exchangers.
What does LMTD measure?
In a heat exchanger, the hot fluid enters from one end, cools, and exits; the cold fluid heats up on the other side. So far, it's simple. The real issue is: the temperature difference between the two fluids does not remain constant along the exchanger. The large difference at the inlet may narrow toward the outlet, or even drop much faster than expected in a poorly chosen flow arrangement.
LMTD, or logarithmic mean temperature difference, reduces this varying temperature difference to a single calculation value. Think of it as the temperature driving force used in heat transfer calculations. The basic relationship commonly used on the design side is:
$$
Q = U \times A \times \Delta T_{lm}
$$
Here, Q is the heat load, U is the overall heat transfer coefficient, A is the heat transfer area, and ΔTlm is the logarithmic mean temperature difference. This calculator does not compute Q, U, or area; it only provides the ΔTlm part. That is, it's not the whole exchanger selection, but the temperature difference side of the calculation.
The LMTD formula is:
$$
\Delta T_{lm} =
\frac{\Delta T_1 - \Delta T_2}
{\ln\left(\frac{\Delta T_1}{\Delta T_2}\right)}
$$
ΔT1 and ΔT2 are the temperature differences at the two ends of the exchanger. Which two temperatures are subtracted depends on the flow arrangement. The pairing differs for counterflow and parallel flow. In arrangements like shell-and-tube and crossflow, the basic LMTD is not used alone; it is corrected with a correction factor.
This distinction is important: LMTD is not a temperature; it is a temperature difference. So when the result is shown in K, 53 K expresses the same magnitude as a 53 °C difference in terms of temperature difference. You can enter inlet temperatures in °C, °F, or K; however, you should not mix unit languages in the same project. A single table mixing °F and °C silently corrupts the entire calculation.
The two differences in the formula
In LMTD calculations, ΔT1 and ΔT2 must be positive. If either is zero, the logarithm expression collapses. If either is negative, it means the hot and cold sides have lost their expected order at one end. In such a case, the tool warns with an 'Invalid temperature difference'.
For counterflow, the end differences are taken as:
$$
\Delta T_1 = T_{h,in} - T_{c,out}
$$
$$
\Delta T_2 = T_{h,out} - T_{c,in}
$$
For parallel flow, the pairing changes:
$$
\Delta T_1 = T_{h,in} - T_{c,in}
$$
$$
\Delta T_2 = T_{h,out} - T_{c,out}
$$
Here, h denotes the hot fluid, c the cold fluid. in means inlet, out means outlet. It may seem unnecessary to elaborate this note in the article, but confusion often arises exactly here when entering values into the boxes.
Let's give an example. Hot fluid enters at 120 °C and exits at 60 °C. Cold fluid enters at 20 °C and exits at 50 °C.
In counterflow, ΔT1 = 120 - 50 = 70 K, ΔT2 = 60 - 20 = 40 K. With these two values, LMTD is approximately 53.61 K.
If you read the same temperatures as parallel flow, ΔT1 = 120 - 20 = 100 K, ΔT2 = 60 - 50 = 10 K. This time LMTD drops to approximately 39.09 K. Only the flow arrangement changed. The temperatures are the same.
Therefore, the flow type selection is not a cosmetic choice. It changes the calculation itself.
When ΔT1 and ΔT2 are very close to each other, the formula produces a difference near zero and a logarithmic division. In the mathematical limit, LMTD approaches the common value of these two differences. The tool also falls back to the average of the two differences in such a case to avoid numerical instability. For example, if the difference is about 50 K at both ends, LMTD is taken as approximately 50 K.
Flow types
In heat exchangers, the flow arrangement describes how the hot and cold fluids move relative to each other. It is normal that different flow arrangements give different LMTD values with the same inlet/outlet temperatures.
The following illustration can be used to show the four basic arrangements in a single visual.
Counter flow
In counterflow, the hot and cold fluids move in opposite directions. The end where the hot fluid enters matches the end where the cold fluid exits. At the other end, the hot outlet and cold inlet face each other.
This arrangement is a good reference point in most heat exchanger calculations. The temperature difference can be maintained more evenly along the exchanger. This is why it gives a higher LMTD than parallel flow for the same temperature set.
For counterflow, the end differences are:
$$
\Delta T_1 = T_{h,in} - T_{c,out}
$$
$$
\Delta T_2 = T_{h,out} - T_{c,in}
$$
In simple double-pipe exchangers or plate arrangements operating close to counterflow, this reading is quite straightforward. If there are passes, gasket arrangements, or bypasses in the actual device, they are considered separately; but the basic logic is this.
Parallel flow
In parallel flow, the two fluids move in the same direction. The hot and cold fluids enter from the same end, travel in the same direction, and exit at the other end. The temperature difference is large at the inlet; it narrows rapidly toward the outlet.
For parallel flow, the end differences are:
$$
\Delta T_1 = T_{h,in} - T_{c,in}
$$
$$
\Delta T_2 = T_{h,out} - T_{c,out}
$$
This arrangement can be used in some processes, but because the temperature approach narrows quickly, LMTD is often lower than in counterflow. If the cold outlet temperature gets too close to the hot outlet, ΔT2 remains small. The calculation becomes sensitive there.
Shell and tube
In a shell-and-tube exchanger, one fluid flows through the tubes, and the other fluid passes through the shell volume outside the tubes. If baffles are used on the shell side, the flow is directed across the tube bundle; heat transfer can increase, but pressure drop also increases. Every gain is paid for somewhere.
In this type of exchanger, the flow often does not behave as pure counterflow or pure parallel flow. Tube passes, number of shell passes, baffle spacing, and shell geometry change the temperature profile. Therefore, a correction factor is applied to the basic LMTD.
This calculator lets you select the number of shell passes as 1, 2, or 4. The calculation uses a Fakheri-type correction factor approach. Especially for 1 shell pass, the difference between the basic LMTD and the corrected LMTD is immediately visible; if the F value is less than 1, the effective temperature difference decreases.
Cross flow
In the crossflow arrangement, the two fluids cross each other at right angles. This arrangement is common in air-cooler coils, finned-tube exchangers, and some compact exchangers. One side flows through the tubes, while the other side flows crosswise over the tube bundle.
In crossflow calculations, the mixing assumption changes the result. Both fluids can be unmixed. The Cmin side can be assumed to be mixed, and the Cmax side unmixed. The opposite is also possible. Cmin and Cmax refer to the side with the lower and higher heat-capacity flow rate, respectively.
This calculator computes the F factor for crossflow using effectiveness-NTU relations. When both fluids are unmixed, a numerical approach is required; the user does not solve that separately, but simply selects the correct crossflow type. If the wrong mixing assumption is chosen, the result may look correct but may not represent the actual equipment.
What is the correction factor?
The correction factor adjusts the basic LMTD according to the actual flow geometry. Especially in shell-and-tube and crossflow exchangers, the temperature profile is not as smooth as ideal counterflow. Therefore, the effective temperature difference used in the calculation is reduced.
The basic relationship:
$$
\Delta T_{lm,corr} = F \times \Delta T_{lm}
$$
Here, F is the correction factor value. It is usually between 0 and 1. If F = 1, there is no correction; the basic LMTD is used as is. As F moves away from 1, the geometry effect grows and the corrected LMTD decreases.
To write it more theoretically, the correction factor can be thought of as the ratio:
$$
F =
\frac{\Delta T_{lm,gerçek\ düzen}}
{\Delta T_{lm,referans}}
$$
The reference is often the counterflow LMTD behavior for the same terminal temperatures. Shell-and-tube and crossflow arrangements are corrected relative to this reference.
In the shell-and-tube correction factor calculation, the commonly used dimensionless ratios are P and R:
$$
P =
\frac{T_{c,out} - T_{c,in}}
{T_{h,in} - T_{c,in}}
$$
$$
R =
\frac{T_{h,in} - T_{h,out}}
{T_{c,out} - T_{c,in}}
$$
P reads how much the cold fluid has heated relative to the initial maximum temperature difference. R relates the amount of heat lost by the hot side to the amount gained by the cold side. The number of shell passes enters the F calculation along with these ratios.
On the crossflow side, it is not easy to write such a short general formula, because the relation changes as the mixing assumption changes. Therefore, in practice either charts are used or F is calculated from effectiveness-NTU relations. This tool follows the second path for crossflow.
The technical boundary must be clear here. The correction factor is not the fouling factor. The fouling factor describes the resistance due to surface dirt; the correction factor corrects the effect of flow geometry on LMTD. The two can appear side by side in the same table, but they are not the same thing.
Calculation example
Let the hot fluid enter at 120 °C and exit at 60 °C. Let the cold fluid enter at 20 °C and exit at 50 °C. These values are very clean, yes; but they are good for seeing the LMTD logic.
| Flow arrangement | ΔT1 | ΔT2 | Base LMTD | F | Value to use |
|---|---|---|---|---|---|
| Counterflow | 70 K | 40 K | 53.61 K | 1.0000 | 53.61 K |
| Parallel flow | 100 K | 10 K | 39.09 K | 1.0000 | 39.09 K |
| Shell and tube, 1 shell pass | 70 K | 40 K | 53.61 K | 0.8829 | 47.33 K |
| Cross flow, both fluids unmixed | 70 K | 40 K | 53.61 K | 0.9273 | 49.71 K |
The difference in the table is important from a design perspective. The temperature difference seen as 53.61 K in counterflow drops to 47.33 K with the shell-and-tube correction. For the same heat load and the same U coefficient, a lower temperature difference means a larger heat transfer area.
It is not surprising that LMTD drops to 39.09 K in parallel flow. Even if the difference is very large at the inlet, it narrows to 10 K at the outlet end. It would be wrong to think of the entire exchanger as working with a 100 K difference.
In this example, both F values are below 1. That is the logic of the correction. Geometry, mixing, and multi-pass flows do not fully give the ideal counterflow behavior. The tool accounts for this with a single multiplier.
Technical points to consider in use
The first check is the direction of the temperatures. Is the hot fluid cooling? Is the cold fluid heating up? This is what is expected in a classic exchanger calculation. If the hot fluid appears hotter at the outlet than at the inlet, the data label or process definition should be read again.
The second check is ΔT1 and ΔT2. Both terminal differences must remain positive. If there is a negative or zero difference, the input data should be corrected instead of calculating LMTD. Forcing numbers into a logarithm is not an engineering calculation.
The third check is the flow arrangement. The difference between counterflow and parallel flow is not just the direction of the arrows in the drawing; the ΔT pairing changes. If shell and tube is selected, the number of shell passes affects the result; if crossflow is selected, the mixing type affects it.
The fourth check is the correction factor value. If F is very low, the corrected LMTD also decreases. In some design practices, very low F values are not preferred, because the exchanger arrangement may be using the temperature driving force inefficiently. At this point, the manufacturer's datasheet, TEMA arrangement, baffle spacing, number of tube passes, and pressure drop should be evaluated together.
The LMTD calculation alone does not make the exchanger selection. Heat load, overall heat transfer coefficient, surface area, material, fouling allowance, phase change, and operating range are also addressed separately. Nevertheless, if the LMTD value obtained from four temperatures is wrong, subsequent calculations cannot be expected to be correct. This should be cleaned up first.