Gay-Lussac's Law Calculator

Gay-Lussac's law is an ideal gas law where at constant volume; the pressure of an ideal gas is directly proportional to its absolute temperature. In other words, the law states the principle that, for relatively low pressures, the density of an ideal gas at constant pressure varies inversely with the absolute temperature of the gas.
Gay-Lussac's Law
I want to calculate:
Initial Pressure(Pi): kPa
Initial Temperature(Ti): K
Final Pressure(Pf): kPa
Final Temperature(Tf): K
Formula
Pi/Ti = Pf/Tf

Or

PiTf = PfTi

Where,
Pi = initial pressure
Ti = initial temperature
Pf = final pressure
Tf= final temperature

In other words, when temperature increases, pressure increases.
When pressure decreases, temperature decreases.

Example:
Calculate and find the temperature of the gas which has a pressure of 25 kPa.
Initial Pressure (Pi) = 25 kPa
Initial Temperature (Ti) = 5 K
Final Pressure (Pf) = 15 kPa

Solution:
Apply Formula:
Pi/Ti = Pf/Tf
Final Temperature (Tf) = 3K