Terrain Ruggedness Index Calculator
Free Terrain ruggedness index Calculator for geomorphology & mapping. Enter variables to compute results with formulas and detailed steps.
Reviewed by Daniel Agrici, Founder & Lead Developer
Formula
TRI = sqrt(sum((zi - z0)^2)) for i = 1 to 8
Where z0 is the elevation of the center cell and zi are the elevations of the eight surrounding neighbor cells in a 3x3 grid. The squared differences are summed and the square root is taken. The result is in the same units as elevation (typically meters).
Worked Examples
Example 1: Mountain Ridge Assessment
Problem:A 3x3 DEM grid has center elevation 1500 m with neighbors: 1520, 1480, 1510, 1490, 1535, 1475, 1505, 1495 m.
Solution:Squared differences:\n(1520-1500)^2 = 400\n(1480-1500)^2 = 400\n(1510-1500)^2 = 100\n(1490-1500)^2 = 100\n(1535-1500)^2 = 1225\n(1475-1500)^2 = 625\n(1505-1500)^2 = 25\n(1495-1500)^2 = 25\nSum = 2900\nTRI = sqrt(2900) = 53.85 m
Result:TRI: 53.85 m | Classification: Level | Relief: 60 m
Example 2: Steep Canyon Wall
Problem:Center elevation 800 m with neighbors: 950, 650, 880, 720, 970, 630, 850, 750 m.
Solution:Squared differences:\n(950-800)^2 = 22500\n(650-800)^2 = 22500\n(880-800)^2 = 6400\n(720-800)^2 = 6400\n(970-800)^2 = 28900\n(630-800)^2 = 28900\n(850-800)^2 = 2500\n(750-800)^2 = 2500\nSum = 120600\nTRI = sqrt(120600) = 347.28 m
Result:TRI: 347.28 m | Classification: Moderately Rugged | Relief: 340 m
Frequently Asked Questions
What is the Terrain Ruggedness Index and what does it measure?
The Terrain Ruggedness Index (TRI) is a quantitative measure of topographic heterogeneity developed by Riley, DeGloria, and Elliot in 1999. It calculates the square root of the sum of squared elevation differences between a central cell and its eight surrounding neighbor cells in a digital elevation model (DEM) grid. A TRI of zero indicates perfectly flat terrain, while higher values indicate increasingly rugged or complex terrain. TRI values typically range from 0 for plains to over 1,000 for extremely mountainous terrain. It is widely used in ecology, geomorphology, military terrain analysis, and land use planning to characterize landscape complexity.
What TRI values correspond to different terrain classifications?
Riley et al. proposed a classification scheme based on TRI values calculated from 30-meter DEMs. Level terrain has TRI below 80 meters, representing flat plains and valley floors. Nearly level terrain ranges from 80 to 120, typical of gently rolling hills. Slightly rugged terrain ranges from 120 to 160, found in moderately hilly areas. Intermediately rugged terrain ranges from 160 to 240, characteristic of hills and low mountains. Moderately rugged terrain ranges from 240 to 500, found in mountain foothills. Highly rugged terrain ranges from 500 to 700, representing steep mountain slopes. Extremely rugged terrain exceeds 700, found in the most precipitous mountain ranges.
How does TRI differ from slope and other terrain metrics?
While slope measures the maximum rate of change in elevation between a cell and its neighbors (representing steepness in one direction), TRI captures the overall variability in all directions simultaneously. A location at the top of a uniform slope has high slope but moderate TRI, while a location in rough, broken terrain may have similar slope but much higher TRI. Other terrain metrics include surface roughness (ratio of surface area to planimetric area), topographic position index (TPI, comparing center elevation to neighborhood mean), and vector ruggedness measure (VRM, which accounts for slope and aspect variation). Each metric captures different aspects of terrain complexity for different applications.
What role does terrain ruggedness play in military and defense applications?
Terrain ruggedness is a critical factor in military operations, affecting vehicle mobility, line of sight, defensive positioning, and logistics. Military terrain analysis uses TRI and similar metrics to classify terrain as trafficable or non-trafficable for different vehicle types. Highly rugged terrain restricts vehicle movement but provides excellent defensive positions and concealment. The US Army uses terrain analysis systems that incorporate ruggedness indices to plan routes, identify landing zones for helicopters, assess fields of fire, and evaluate vulnerability to observation. Counter-insurgency operations particularly rely on terrain ruggedness analysis because irregular forces often exploit rugged terrain for tactical advantage.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy