Topographic Wetness Index Calculator
Calculate topographic wetness index with our free science calculator. Uses standard scientific formulas with unit conversions and explanations.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Topographic Wetness Index Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: TWI = ln(a / tan(beta))
Worked example โ TWI = 7.544 | Moderate saturation potential | Mid-slope position
Formula
TWI = ln(a / tan(beta))
Where a is the specific upslope contributing area per unit contour length (upstream area divided by cell size, in meters), and beta is the local slope angle in degrees. The natural logarithm of the ratio gives the TWI value, with higher values indicating greater moisture accumulation potential. Modified TWI includes soil transmissivity: TWI_mod = ln(a / (T * tan(beta))).
Worked Examples
Example 1: Hillslope Position Assessment
Problem:A point on a hillslope has an upstream contributing area of 10,000 sq m, is on a 10-degree slope, and the DEM cell size is 30 m. Calculate the TWI and assess saturation potential.
Solution:Specific catchment area (a) = 10,000 / 30 = 333.33 m Slope in radians = 10 x pi/180 = 0.1745 rad tan(10 degrees) = 0.1763 TWI = ln(333.33 / 0.1763) = ln(1890.5) = 7.544 Saturation class: Moderate (TWI between 6 and 9)
Result:TWI = 7.544 | Moderate saturation potential | Mid-slope position
Example 2: Valley Bottom vs Ridgetop Comparison
Problem:Compare TWI for a valley bottom (upstream area 50,000 sq m, slope 3 degrees) versus a ridgetop (upstream area 500 sq m, slope 20 degrees). Cell size 30 m.
Solution:Valley bottom: a = 50,000/30 = 1666.67 m, tan(3) = 0.0524 TWI = ln(1666.67/0.0524) = ln(31,806) = 10.37 (High saturation) Ridgetop: a = 500/30 = 16.67 m, tan(20) = 0.3640 TWI = ln(16.67/0.3640) = ln(45.8) = 3.82 (Low saturation)
Result:Valley: TWI = 10.37 (High) | Ridge: TWI = 3.82 (Low) | Difference = 6.55
Frequently Asked Questions
What is the Topographic Wetness Index and what does it measure?
The Topographic Wetness Index (TWI) is a steady-state hydrological index that quantifies the tendency of water to accumulate at any point in a landscape based on topography alone. Developed by Beven and Kirkby in 1979, TWI combines the upslope contributing area (how much water flows toward a point) with the local slope (how quickly water drains away). Higher TWI values indicate locations where water is likely to accumulate, such as valley bottoms and flat areas with large upslope contributing areas. Lower TWI values correspond to well-drained locations like hilltops and steep slopes. TWI is widely used in hydrology, ecology, soil science, and geomorphology as a proxy for soil moisture patterns.
How is the TWI formula derived and what does each component represent?
The TWI formula is expressed as TWI = ln(a / tan(beta)), where a is the specific upslope contributing area per unit contour length (in square meters per meter) and beta is the local surface slope angle. The specific contributing area represents the potential volume of water flowing toward a given point from upslope, while the tangent of the slope angle represents the gravitational driving force that moves water downhill. The natural logarithm is used to normalize the typically right-skewed distribution of the ratio. When a is large relative to tan(beta), TWI is high, indicating wet conditions. The formula assumes steady-state conditions, uniform soil properties, and that water flows according to surface topography rather than subsurface pathways.
What TWI values indicate saturated versus dry conditions?
TWI values typically range from about 2 to 20 in most landscapes, though values outside this range are possible. Values below 6 generally indicate well-drained, dry conditions found on ridgetops and steep slopes where water quickly moves downhill. Values between 6 and 9 represent moderate moisture conditions typical of mid-slope positions and gentle hillslopes. Values between 9 and 12 suggest high moisture accumulation potential commonly found in convergent footslope positions and shallow valleys. Values above 12 indicate areas with very high saturation potential such as floodplains, valley bottoms, and areas adjacent to streams and wetlands. These thresholds vary by climate, soil type, and landscape context.
How does DEM resolution affect TWI calculations?
Digital Elevation Model resolution significantly influences TWI values and their spatial distribution. Coarser resolution DEMs (such as 90-meter SRTM data) tend to smooth out local topographic variation, reducing the range of TWI values and potentially missing important small-scale features like narrow valleys and hillslope hollows. Finer resolution DEMs (such as 1-meter LiDAR-derived data) capture much more topographic detail but can introduce noise from microtopography, vegetation artifacts, and data processing errors. Research has shown that TWI values generally increase with coarser resolution because slopes are underestimated and contributing areas are overestimated at larger cell sizes. A resolution of 10 to 30 meters is often considered optimal for landscape-scale hydrological modeling.
What are the main limitations and assumptions of the TWI model?
The standard TWI has several important limitations that users should understand. It assumes steady-state hydrological conditions, meaning it does not account for temporal variability in rainfall, evapotranspiration, or soil moisture dynamics. It assumes uniform soil hydraulic properties across the landscape, though modified versions incorporate spatially variable transmissivity. The model assumes all flow follows surface topography (topographic control), which may not hold in areas with significant subsurface flow through fractured bedrock or deep permeable substrates. TWI does not account for vegetation effects on water interception and transpiration. Additionally, results are sensitive to the flow routing algorithm used (D8, D-infinity, or multiple flow direction), which can produce substantially different contributing area estimates.
How is the modified TWI with soil transmissivity calculated?
The modified TWI, sometimes called the soil-topographic index, incorporates soil hydraulic properties through the equation TWI_mod = ln(a / (T * tan(beta))), where T is the soil transmissivity (the product of saturated hydraulic conductivity and soil depth). This modification accounts for the fact that areas with highly permeable soils or deep soil profiles can transmit subsurface water more efficiently, reducing their tendency to become saturated even with large contributing areas. Transmissivity values are typically measured in square meters per day. Including transmissivity makes the index more physically realistic in heterogeneous landscapes where soil properties vary significantly. The modified TWI generally produces lower values than the standard TWI in areas with high transmissivity and higher values in areas with low transmissivity.
What applications use the Topographic Wetness Index in environmental science?
TWI has numerous applications across environmental science disciplines. In hydrology, it helps predict zones of saturation and variable source areas that contribute to storm runoff. In soil science, TWI correlates strongly with soil moisture, organic matter content, soil depth, and nutrient availability patterns across landscapes. Ecologists use TWI to predict plant species distributions and vegetation patterns because many species are sensitive to soil moisture gradients. In precision agriculture, TWI maps help optimize irrigation scheduling and identify areas prone to waterlogging. Geomorphologists use TWI to identify areas susceptible to landslides and mass movements. Environmental engineers employ TWI in wetland delineation, non-point source pollution modeling, and watershed management planning.
How do different flow routing algorithms affect TWI results?
Flow routing algorithms determine how upslope contributing area is distributed among downslope cells, significantly affecting TWI values. The D8 algorithm (deterministic eight-neighbor) assigns all flow to the single steepest downslope neighbor, creating unrealistic parallel flow paths on planar slopes. The D-infinity algorithm allows flow to be split between two downslope neighbors based on slope aspect, producing more realistic flow patterns on divergent and convergent slopes. Multiple flow direction (MFD) algorithms distribute flow to all downslope neighbors proportionally, creating smoother contributing area patterns. Research shows D-infinity and MFD algorithms generally produce more realistic TWI distributions with better correspondence to observed soil moisture patterns than D8, particularly on hillslopes with complex curvature.
Can TWI be used to predict landslide susceptibility?
Yes, TWI is commonly incorporated into landslide susceptibility models because it captures two key factors influencing slope stability: pore water pressure buildup (related to upslope contributing area) and gravitational driving forces (related to slope angle). High TWI values indicate locations where water accumulates, increasing pore water pressure and reducing soil shear strength. These locations often correspond to convergent hillslope hollows where shallow translational landslides frequently initiate. However, TWI alone is insufficient for comprehensive landslide assessment because it does not account for soil cohesion, root reinforcement, bedrock depth, seismic loading, or rainfall intensity. Most landslide susceptibility models combine TWI with additional factors such as geology, land cover, and proximity to faults in statistical or physically-based frameworks.
How do you interpret TWI maps for watershed management decisions?
TWI maps provide valuable spatial information for watershed management by highlighting areas of high and low moisture accumulation potential. Areas with high TWI values (shown in blue or dark colors on typical maps) should be prioritized for riparian buffer establishment, wetland protection, and restrictions on impervious surface development because they are natural water collection zones. Moderate TWI areas may be suitable for agriculture but require careful drainage management and soil conservation practices. Low TWI areas on ridgetops and steep slopes are generally well-drained but may need erosion control measures. When planning stormwater management infrastructure, TWI maps help identify optimal locations for detention basins and constructed wetlands. Combining TWI maps with land use data helps target areas where development conflicts with natural hydrological processes.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎAtterberg Limits & Plasticity Index Calculator
Calculate atterberg limits & plasticity index with inputs, formulas, and instant results.
๐งฎLiquefaction Potential Index Calculator
Calculate liquefaction potential index with inputs, formulas, and instant results.
๐งฎBaseflow Index Calculator
Calculate baseflow index with inputs, formulas, and instant results.
๐งฎStream Power Index Calculator
Calculate stream power index with inputs, formulas, and instant results.
๐งฎAir Parcel Stability Index Calculator
Calculate air parcel stability index with inputs, formulas, and instant results.
๐งฎTerrain Ruggedness Index Calculator
Calculate terrain ruggedness index with inputs, formulas, and instant results.
๐งฎUpwelling Index Calculator
Calculate upwelling index with inputs, formulas, and instant results.
๐งฎEarth Energy Balance Calculator
Calculate earth energy balance with inputs, formulas, and instant results.