The goal is positive drainage: the ground falls away from the foundation on every side, then the water keeps going to a place that can take it (lawn, planting bed, swale, street) without crossing the neighbour's lot.
Two benchmarks guide the work. APCHQ technical sheet S3-05 starts from about a 10% slope over 2 m before settlement, to end near 2%. Calgary's guide, written for a cold climate, asks for at least 4% over the first 1.2 m and at least 2% on the lawn. Aim for the steeper of the two final slopes next to the house.
Watch the yard during or right after a good rain: puddles, downspout outlets, window wells, damp spots in the basement. Those are your starting points.