# Is the pricing formula for FX Forwards the same for FX Swaps?

If I use fwd_price = S*(1+r_term)/(1+r_base) to determine the theoretical value of a forward, how should I tweak the formula to price a FX swap? Assuming swap = fwd-spot, swap_price = S*(1+r_term)/(1+r_base) - S or not?