Omni Calculator logo

The thermal equilibrium calculator helps you determine the final temperature between two elements or systems that are transferring heat between them. In this article, we will start explaining the thermal equilibrium definition, the thermal equilibrium equation, and how to calculate it.

What is thermal equilibrium?

First, let's explore why heat transfer occurs: Heat flows from a high-temperature area to a low-temperature area. As long as there is a temperature difference, there will be heat transfer. The heat flow rate is determined by several factors, but one of the most important ones is heat capacity, as we explain it in the specific heat calculator. We can see its use in the next formula:

Q=mcΔT, \footnotesize Q = m \, c \, \Delta T,


  • Q\text{Q} — Supplied or subtracted heat (in joules);
  • m\text{m} — Mass of the object, in kilograms;
  • c\text{c} — Heat capacity, in J/(kg·K); and
  • ΔT\Delta T — Difference between the initial and final temperatures in kelvin.

Notice that by modifying an object's mass, heat capacity, or temperature difference, you can increase or decrease heat transfer. Also, take a look at the fact that when two objects have the same temperature, no heat transfer occurs. This state, called thermal equilibrium, occurs when the objects have reached a common temperature and can no longer exchange heat.

In the following graphic, we can see how temperature changes through time and reaches equilibrium between two objects:

thermal equilibrium graph showing temperature versus time of two objects

How to calculate thermal equilibrium?

Now that we have understood what thermal equilibrium is, let's apply the heat transfer equation to a situation where two objects or systems are exchanging heat.

If both objects are in contact for a sufficient amount of time, they will eventually reach thermal equilibrium. This is because the temperature difference between the objects becomes zero, and there is no longer any heat exchange, as explained in the picture above.

Assuming no heat loss, we can say that the heat supplied by one object is the same as the heat absorbed by the second one. Consequently, in terms of the thermal equilibrium equation, we have:

Q1=Q2, \footnotesize Q_1 = - Q_2,


  • Q1Q_1 and Q2Q_2 — Represents the heat transferred between object 1 and object 2.

Now, if we re-arrange the equation above, and we only consider specific heat (object-only experiments temperature variation, no state phase change), we have:

m1c1ΔT1=m2c2ΔT2 \footnotesize m_1\, c_1 \, \Delta T_1 = - m_2 \, c_2 \, \Delta T_2
m1c1(TfTi)1=m2c2(TfTi)2, \footnotesize m_1 \, c_1 \, (T_f-T_i)_1= - m_2 \, c_2 \, (T_f-T_i)_2,

where subscripts 1_1 and 2_2 refers to objects one and two, and TfT_f & TiT_i refers to final temperature and initial temperature, respectively.

Finally, because of the thermal equilibrium definition, we are going to reach the same final temperature, meaning there will only be one TfT_f temperature. Therefore:

Tf=m1c1t1i+m2c2t2im1c1+m2c2\small T_f = \frac{m_1 \, c_1 \, t_{1i}+m_2 \, c_2 \, t_{2i}}{m_1 \, c_1 + m_2 \, c_2}

How to calculate thermal equilibrium including latent heat?

So far, we have discussed how to calculate thermal equilibrium in situations where there is no phase change. However, as we detail in the latent heat calculator, the process of changing phase from one state to another can require a significant amount of heat transfer. Thus, the thermal equilibrium equation has to account for it:

Qtotal=Qlatent+Qspec\footnotesize Q_{\rm total} = Q_{\rm latent} + Q_{\rm spec}
Qlatent=mL\footnotesize Q_{\rm latent} = m \, L
Qtotal=mL+mc(TfTi),\footnotesize Q_{\rm total} = m \, L + m \, c \, (T_f-T_i),


  • LLSpecific latent heat, expressed in J/(kg);
  • QlatentQ_{\rm latent}Heat absorbed or released depending on the direction of the phase transition;
  • QspecQ_{\rm spec}Specific heat: Heat absorbed or released during temperature change (no phase change is involved); and
  • QtotalQ_{\rm total} – Represents the total heat exchanged with the other object until equilibrium

The specific latent heat is different for solid-to-liquid transition and liquid-to-gas transition. To convert 20 grams of ice into water, you need to provide an amount of energy equal to 6680 J, which is the specific latent heat of the solid-to-liquid transition. To turn the same amount of water into vapor, you need to provide an amount of energy equal to 45,294 J, which is the specific latent heat of the liquid-to-gas transition.

With the last equation, we could determine the equilibrium temperature if the object is in contact with another object, as we will see in the following example.

How do you calculate thermal equilibrium temperature? – Real life example

Similarly to what is covered in the chilled drink calculator, there are many strategies for cooling a beverage, not only adding ice to it. Other methods might involve bottles covered with napkins for increasing conductivity, as explained in the thermal conductivity calculator; others would look for increasing the ΔT\Delta T as explained above. In any case, what such strategies are doing is modifying the parameters involved in the thermal equilibrium equation.

In this example, we will assume we are adding 100 grams of ice at 0 °C to 0.5 liters of water at 20 °C and that we want to know the final temperature (thermal equilibrium temperature). Also, you can verify the results in the handy thermal equilibrium calculator. You will need to include the latent heat option.

  1. Find out the specific heat coefficient for liquid water and the latent heat coefficient for water fusion LfuslatL_{\rm fus - lat}. Also, obtain the water-specific heat coefficient (20°C):

    • Lfuslat=334 J/kg\small L_{\rm fus - lat} = 334 \rm\ J/kg; and

    • cp=4181.3 J/kg ⁣ ⁣K\small c_p = 4181.3 \rm\ J/kg\! \cdot\! K.

    Notice the suffix "p". It refers to the fact that we are going to cover a thermal process at constant pressure.

  2. Define your first equation: Heat transfer by the ice. We will assume it fully melts and increases its temperature from 0 °C to a certain thermal equilibrium temperature: TfT_f.

Qice=Q1latfus+Q1spec=m1Llatfus+m1c1(TfTi)1=0.1 kg×226,471 J/kg+0.1 kg×4181.3 J/kgK×(Tf0°C)\scriptsize\qquad \begin{align*} Q_{ice} &= Q_{\rm 1 - lat - fus} + Q_{\rm 1 - spec} \\[.3em] &= m_{1} \, L_{\rm lat - fus} + m_1 \, c_1 \, (T_f-T_i)_1 \\[.3em] &= 0.1\ {\rm kg} \times 226,\!471\ \rm J/kg + 0.1\ {\rm kg}\\ &\quad\times 4181.3\ {\rm J/kg\!\cdot \! K} \times (T_f-0\, {\rm°C}) \end{align*}

We are adding the subscript 1_1 to indicate it refers to the first object: the ice. Consequently, the subscript 2_2 will refer to the 20 °C water.

  1. Build your second equation: Heat transfer by the water:
Qwater=Qspec=m2c2(TfTi)2=0.5 kg×4181.3 J/kgK×(Tf20 °C)\scriptsize\qquad \begin{align*} Q_{\rm water} &= Q_{\rm spec} \\ &= m_2 \, c_2 \, (T_f-T_i)_2 \\ &= 0.5\ {\rm kg} \times 4181.3\ {\rm J/kg\! \cdot\! K}\\ &\quad\times (T_f-20\ {\rm °C}) \end{align*}
  1. Use the thermal equilibrium equation: Qice=Qwater\small Q_{\rm ice} = - Q_{\rm water}, we obtain Tf=16.65 °C\small T_{f} = 16.65\ \rm °C.

Beware, we assumed the ice would fully melt and reach an intermediate temperature between ice temperature and 20 °C water. However, if there had been enough ice at a lower temperature, the 20 °C water would have been frozen. That is why you have to be sure of what kind of result is logical for the situation.

If the equation provides a temperature higher than the original hot object or lower than the cold object, then you know you made wrong assumptions and have to start over again.


What is the zeroth law of thermodynamics?

The zeroth law of thermodynamics establishes a reference temperature for the measurement of temperature. It defines that if two objects or systems are each in thermal equilibrium with a third system, then the first two objects are in thermal equilibrium with each other.

Imagine first calibrating a thermometer with a calibration pattern. Then, because you have the thermometer scale based on the pattern, you can use it as a reference for measuring a third object, fulfilling the zeroth law statement.

How can thermal equilibrium be achieved?

Objects or systems achieve thermal equilibrium when both have the same temperature. At that moment, there is no more heat transfer. Thermal equilibrium can be achieved through any of the heat transfer mechanisms, such as convection, conduction, and radiation.

How can thermal equilibrium be measured?

Here is a list of steps for measuring thermal equilibrium:

  1. Define the number of objects that are interacting. Let's say: 2.

  2. Obtain two thermometers. Record the initial temperature of each object.

  3. Put the objects in contact and wait until both thermometers have reached the same temperature value.

Congratulations! The objects have achieved thermal equilibrium.

Will 1 kg of ice freeze 1 kg of water?

Assuming the ice temperature is 0 °C and the water temperature 20 °C, the latter will freeze. Use the thermal equilibrium calculator or:

  1. Remember, if the ice melts fully, that will require a latent heat of 334 KJ.

  2. Calculate the heat released for a 20 °C change (1 kg of water, 20 °C to 0 °C): 83,620 J.

  3. Notice that the heat released by water from 20 °C to 0 °C is less than the required latent heat: 83,620 J < 334 KJ, meaning that the liquid water will not be able to melt the ice but instead will freeze.

Arturo Barrantes
Select mode
Includes phase change?
No phase change
Element 1: The lower temperature one
Heat transferred
Water at 25 °C (liquid)
Specific heat capacity
Initial temperature
Element 2: The higher temperature one
Heat transferred
Water at 25 °C (liquid)
Specific heat capacity
Initial temperature
Thermal equilibrium
Final temperature
Check out 45 similar thermodynamics and heat calculators 🌡️
Biot numberBoltzmann factorBoyle's law… 42 more
People also viewed…


This millionaire calculator will help you determine how long it will take for you to reach a 7-figure saving or any financial goal you have. You can use this calculator even if you are just starting to save or even if you already have savings.

NE555 timer astable mode

The 555 timer calculator allows you to find the times of the output of a 555 astable mode timer circuit and more.

Secretary problem (Valentine's day)

Use the dating theory calculator to enhance your chances of picking the best lifetime partner.

Stokes' law

The Stokes' law calculator will help you determine either the viscosity of a fluid or the terminal velocity of a particle in a falling ball viscometer.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service