you could add the bases and multiply the molecular weight of each base by the number of bases but its easier to use online calculators such as oligocalc below . If you have ordered primers the company information sheet almost always has the MW on it somewhere as does the tube that the original primer comes in