For ideal solutes the vapour pressure is given by Raoult's Law. There's an excellent introduction to it here. The law states that:
$$P = P_{solvent} \times X_{solvent} $$
where $P_{solvent}$ is the vapour pressure of the solvent and $X_{solvent}$ is the mole fraction of the solvent. Note that for solutions like sodium chloride in water the solute dissociates so take this into account when calculating the mole fraction of the water.
The ideal behaviour is restricted to very dilute solutions. To calculate the vapour pressure of concentrated solutions you'd usually use an empirical equation like the ones described in this paper (NB behind a paywall).