Level, tape and a safe loft method
Measuring roof pitch does not always require walking the roof. For many homes you can get a usable rise-over-run reading from the loft with a spirit level and a tape measure.
Roof pitch is steepness, usually written as rise over run. In the US customary system a pitch of 6/12 means 6 inches of vertical rise for every 12 inches of horizontal run. The same idea works in metric if you keep the run consistent (for example rise over 30 cm).
From rise and run you can derive the angle in degrees and an area multiplier that converts plan (footprint) area into approximate roof surface area.
Enter rise and run in the free calculator on this site to get angle, multiplier, area and rafter length estimates.
The same geometry applies on the roof surface: level horizontal, fixed run, vertical rise. Outside measurement adds slip, edge and weather risk. Many homeowners never need to leave the loft for a planning estimate.
On complex roofs (hips, valleys, dormers, unequal pitches) measure each major plane. A single pitch number is only valid for the plane you measured.
For buying materials or hiring work, confirm pitch and area with a professional when the project is large or the roof is complex.
Calculate pitch, angle, roof area, rafter length and material estimates from rise, run and building size.