Buffer Calculator
This runs Henderson-Hasselbalch backwards, so the pH is what you type in and the amounts are what comes out. Give it a target pH, a total buffer concentration and a final volume and it returns the ratio of base to acid, the concentration and millimoles of each form, and the weight of each solid. Three routes are covered: weighing out both forms, weighing one form and bringing it to pH with strong acid or base, and mixing two stock solutions with water. Acetate, MES, phosphate, HEPES, Tris, ammonium and bicarbonate carry their usual 25 degree pKa values and molar masses, or you can enter your own. The relation ignores activity and temperature, so set the final pH on a meter rather than trusting the number.