Znw 
Zn 
Zne 
Zw 
Z 
Ze 
Zsw 
Zs 
Zse 
The slope is taken as a dZ value divided by a horizontal distance. The horizontal distance is the data spacing (eastwest, northsouth, or diagonal) for the one point and nine point methods, and twice that distance for the four and eight point methods. For DEMs like the USGS 10 m and 30, the NS and EW spacings are the same; they differ for data like the USGS NED, USGS 1:250K DEM, SRTM, and DTED with geographic spacing.
Aspect, the downhill direction, can be computed as a byproduct of the slope computation.
Slope and aspects, the magnitude and direction of the vector tangent to the topographic surface pointing downhill at a point, have been computed with a multitude of methods; Eyton (1991) and Carter (1992) list a number of references. The following discussion centers on the methods implemented in MICRODEM; the references point to clear expositions of the method, and not necessarily the first use of the method, many of which are in hard to location publications in the gray literature. The algorithms fall into several categories, depending on the number of neighboring points considered to compute the slope and aspect.
Preferred slope algorithm, In general the choice of slope algorithm does not make much difference, and you should just stick with the default.
Two neighbors:
Three neighbors:
Four neighbors to N, S, E, and W (excluding point itself) (rook's case):
Four neighbors to NW, SE,N E, and SW (excluding point itself) (bishop's case):
Eight neighbors (excluding point itself) (Queen's case):
Nine points:

































Maps showing where slope algorithms differ.
Last revised 5/23/2014