Wouldn't it just be easier to fill the case with water and weigh the amount of water from the case?? Or fill the case to the top with the powder you are going to use, and weigh the max powder capacitiy?
On the right track, but powder and water have different specific gravities, meaning a specified volume of water will have a different weight than an identical volume of water. You also have to worry about the compaction of the granular powder versus fluid water.
It would be better to fill the case with water, of course making sure that your fill line is below where the bullet will be seated.
For example, a .308 win holds 3.64 ml of water
Since 1 ml=1cm³ of water, the powder capacity of the case is 3.64 cm³
This weighs 56 grains and has a density of 15.39 gr/cm³
IMR 3031 smokeless powder has a density of 13.123 gr/cm³ so the maximum powder weight would be 47.768 gr.
If you added 56 grains of powder (the weight of the water) you would overfill the round and have some dangerous issues with compressing the powder.
So the formula for finding maximum weight of powder would be:
(Volume of Water in cm³) x (Density/specific gravity of powder to be used)
Densities of common smokeless powders can be found here:
http://www.tacticoolproducts.com/powder.pdf
Using air pressure would be rather impractical because there is no conceivable way to account for the volume of the neck of the casing where the bullet will be seated.
If you do decide to use a pressure based system, refer to your high school chemistry and physics. Do you remember the ideal gas laws PV=NrT or re arranged V=(NrT)/P where V is volume, N is moles of substance, r is the ideal gas constant, T is temperature, and P is pressure. There are just too many variables to consider to make this feasible without spending a ton of money on equipment. You would have to monitor temperature, and pressure of the air inside the casing and do some pretty serious math. And the water thing works just fine, as long as you don't mind drying the casings, which a quick shake and about 30 seconds in an oven should take care of that.