This application calculates the Tm for a primer, and gives instructions on how to dilute the primer to a desired concentration.
If the PCR primer contains desired mismatches, e.g. for creating a mutation or a restriction site, make sure to calculate the Tm only for the correctly matched sequence.