The pricing of interest rate swaps involves determining the fixed rate that makes the present value of fixed payments equal to the present value of expected floating payments. Various models, such as the Black-Scholes model or the Hull-White model, can be used to price these swaps accurately.