Careful with some inflators on the cartridge size. I had one that only took threadless cartridges and used a holder for the cartridge but this limited the size of the cartridge I could use.
I now have one that’s threaded and can use it without the supplied holder, so it’s a tiny amount of space in the bag just using the head of the inflator and a couple of cartridges and can use any size I want. Do need gloves though when holding! (and even then I’ve burnt myself through gloves). Or you can get grip things to cover the cartridge to hold them.
Don’t buy cartridges from an LBS or major online shop. Stupidly expensive. Try places like this – http://www.co2cartridges.co.uk/
Make sure you get threaded cartridges if you go for an inflator without a holder.
Anyway, I generally use 16g but carry a couple. Half of one is enough to seat a tubeless tyre which is what I mainly use them for. A full one will fill a typical 26″ MTB tyre to low pressure.