Maybe what glacier is getting at is that it is sometimes difficult to have a reference point to calculate the grade. Plus, there may be local increases and decreases in grade.
The device described above may work, though you will have to make the conversion from degrees to percent.
Side note, I, as a rule of thumb use 1/8" rise per foot = 1%