Skip to main content

Topographic Wetness Index Calculator

Calculate topographic wetness index with our free science calculator. Uses standard scientific formulas with unit conversions and explanations.

Skip to calculator
Earth Science & Geology

Topographic Wetness Index Calculator

Calculate TWI from upstream contributing area and slope angle. Assess soil moisture potential, saturation zones, and hydrological characteristics of landscape positions.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
5,000 mยฒ
15ยฐ
30 m
1.5 m
10 m/day
Topographic Wetness Index
6.433
Saturation Potential: Moderate
Specific Area
166.67
m
tan(slope)
0.2679
Transmissivity
15.00
mยฒ/day
Modified TWI (with transmissivity)
3.725
Moisture Index
34.9%
Flow Accumulation
44.66
Runoff Potential
Moderate
Note: TWI assumes steady-state hydrology and uniform soil properties. Actual soil moisture depends on rainfall patterns, vegetation, and subsurface geology. Use field measurements for validation.
Your Result
TWI: 6.433 | Saturation: Moderate | Specific Area: 166.67 m | Modified TWI: 3.725
Share Your Result
Understand the Math

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))).

Last reviewed: December 2025

Worked Examples

Example 1: Hillslope Position Assessment

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

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
Expert Insights

Background & Theory

The Topographic Wetness Index Calculator applies the following established principles and formulas. Earth science calculators draw on a wide range of measurement scales and physical principles that quantify natural phenomena across geological, atmospheric, and hydrological systems. Earthquake magnitude is most precisely described by the Moment Magnitude Scale (Mw), which replaced the original Richter scale for larger events. Mw is calculated as Mw = (2/3) log10(M0) โˆ’ 10.7, where M0 is the seismic moment in dyne-centimeters. The Richter scale, while still referenced colloquially, is a local magnitude (ML) measurement derived from peak seismograph amplitude at a standard 100 km distance. Wind intensity is classified using the Beaufort Scale, a 13-point empirical scale (0โ€“12) relating wind speed in knots to observable sea and land effects, with Beaufort 12 corresponding to hurricane-force winds above 64 knots. Tropical cyclone intensity is further categorized by the Saffir-Simpson Hurricane Wind Scale, which assigns Categories 1 through 5 based on sustained wind speed, correlating with expected structural damage. Mineral hardness is quantified on the Mohs scale (1โ€“10), comparing scratch resistance relative to reference minerals from talc (1) to diamond (10). Soil composition analysis measures the proportions of sand, silt, and clay by particle size, alongside organic matter content, bulk density, and porosity, which together determine engineering and agricultural suitability. Seismic wave velocity in rock varies by material: P-waves travel at approximately 5โ€“7 km/s in granite and 1.5 km/s in water, while S-waves travel at roughly 60% of P-wave speeds. Atmospheric pressure decreases with altitude according to the barometric formula: P = P0 ร— exp(โˆ’Mgh / RT), where M is molar mass of air, g is gravitational acceleration, h is altitude, R is the universal gas constant, and T is temperature in Kelvin. Standard sea-level pressure is 101,325 Pa. Tidal calculations use harmonic analysis of gravitational forcing by the Moon and Sun, with the principal lunar semidiurnal tidal constituent (M2) having a period of approximately 12.42 hours.

History

The history behind the Topographic Wetness Index Calculator traces back through the following developments. The systematic study of Earth's structure and processes spans millennia, but the scientific foundations were laid in the seventeenth century. In 1669, Danish naturalist Nicolas Steno published his principles of stratigraphy, establishing the laws of superposition, original horizontality, and lateral continuity โ€” foundational rules for reading rock layers that remain in use today. Scottish geologist James Hutton introduced the concept of uniformitarianism in 1788, proposing that geological processes observable in the present have operated throughout Earth's history at broadly consistent rates. This idea of deep time challenged prevailing biblical chronologies and set the stage for modern geology. Charles Lyell systematized these ideas in his landmark three-volume work Principles of Geology, published beginning in 1830, which directly influenced Charles Darwin's thinking on biological evolution during the voyage of the Beagle. The nineteenth century saw growing curiosity about continental shapes, but a coherent theory awaited Alfred Wegener, a German meteorologist who proposed continental drift in 1912, arguing that the continents had once formed a supercontinent he called Pangaea. His evidence included matching fossil records and geological formations across the Atlantic, but his mechanism was disputed for decades. The theory gained acceptance in the 1960s when seafloor spreading was confirmed through paleomagnetic studies, and plate tectonics emerged as the unifying framework of modern geoscience. The United States Geological Survey was established by Congress in 1879 to classify public lands and examine the geological structure, mineral resources, and products of the national domain. The twentieth century brought instrumental advances, including the global seismograph network deployed after World War II, initially to monitor nuclear tests, which dramatically improved earthquake detection and characterization. Satellite Earth observation began in earnest with the Landsat program launched in 1972, enabling continuous global monitoring of land use, glacier retreat, and vegetation patterns. Today, GPS networks, LIDAR scanning, and ocean-floor mapping provide centimeter-scale precision for tracking tectonic motion, sea level rise, and volcanic deformation in near real time.

Share this calculator

Explore More

Frequently Asked Questions

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.
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.
The heat index combines air temperature and relative humidity to determine perceived temperature. The NWS uses a regression equation with nine terms. At 90F with 60% humidity, the heat index is about 100F. Heat index values above 105F indicate danger. Direct sunlight can add up to 15F to the heat index value.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

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\nSlope in radians = 10 x pi/180 = 0.1745 rad\ntan(10 degrees) = 0.1763\nTWI = ln(333.33 / 0.1763) = ln(1890.5) = 7.544\nSaturation 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:\na = 50,000/30 = 1666.67 m, tan(3) = 0.0524\nTWI = ln(1666.67/0.0524) = ln(31,806) = 10.37 (High saturation)\n\nRidgetop:\na = 500/30 = 16.67 m, tan(20) = 0.3640\nTWI = 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.

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 is the heat index calculated?

The heat index combines air temperature and relative humidity to determine perceived temperature. The NWS uses a regression equation with nine terms. At 90F with 60% humidity, the heat index is about 100F. Heat index values above 105F indicate danger. Direct sunlight can add up to 15F to the heat index value.

How do I verify Topographic Wetness Index Calculator's result independently?

The Formula section on this page shows the equation used. You can reproduce the calculation manually or in a spreadsheet using those steps. Compare your answer against the worked examples in the Examples section, which use known reference values so you can confirm the calculator is behaving as expected.

Why might my result differ from another tool or reference?

Differences typically arise from rounding conventions, the specific version of a formula (for example, simple vs compound interest), or unit inconsistencies between inputs. Check that both tools are using the same formula variant and the same units. The References section links to the authoritative source behind the formula used here.

Is my data stored or sent to a server?

No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.

References

Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy