Im considering making a portable tank for my upcoming pneumatic gun, and im looking for help in calculating how many shots i can get from a tank with a given volume and a chamber with another given volume, including pressure drop. Honestly i should be able to do this myself but i cant seem to get it right, so any help on which equations i should use wold be greatly appreciated

As a sidenote, im considering a large CO2 extinguisher as the portable tank, does anybody have experience with this? a search on the forums results in a lot of threads where people talk about using them as chamber on their launchers, but i cant seem to find someone that have actually used one

Thanks in advance.
Casper