Start with the pitch
Almost every roofing number depends on pitch. Find it with the roof pitch calculator, then use the roofing squares calculator to turn your house footprint into true roof area, and the shingle calculator to order bundles.
Measure safely
You can measure pitch from inside the attic on a rafter, or from a ladder at the gable end. Walking a roof steeper than 6/12 needs fall protection.