You can use a Garmin unit and download the ride data to determine the grades you covered. You can plot your ride on Map My Ride or other simular sites then click the "elevation" box to determine grades and feet climbed. Or if all else fails you can estimate the grade by how hard it felt then add 2 % since it's the internet.