PV = nRT, solved for whichever quantity you leave blank. Pick the unit set your syllabus uses and the right gas constant comes with it, because using the wrong R is the most common way to get this wrong.
PV = nRT ties together everything about a gas in one line. Pressure times volume equals the number of moles, times the gas constant, times temperature in kelvin. If you change one quantity, the equation tells you exactly how the others must respond.
It is worth seeing that the older gas laws are all just this equation with something held fixed. Boyle's law is PV = constant, which is what you get when n and T do not change. Charles's law is V ÷ T = constant, which is the same equation with P and n fixed. You do not need to memorise them separately once you have this one.
The equation assumes gas particles have no volume of their own and no forces between them. That is close enough for most gases at everyday pressures and temperatures, which is why it works so well in school problems.
It gets less accurate at very high pressure, where particles are squeezed close enough that their own volume matters, and at very low temperature, where they are moving slowly enough for attractions between them to have an effect. Near the point where a gas is about to condense into a liquid, the ideal gas law stops being a good description at all.