Measuring molecular gas in galaxies with applications to star formation efficiency