I found a great free app from Seachem. It's called Dose.
It's a calculator for use with the products they manufacture. It has Reef and Plant calculators. It even has a Gravel calculator, Enter tank area in field after having selected what you want to use, and voila! Tells you how many bags.
If you use Seachem products as I do, this free app is great...