Free TWI Calculator: Topographic Wetness Index for Any Location

Published April 20, 2026 · Updated November 6, 2026 · 7 min read

The Topographic Wetness Index (TWI) is one of the most widely used terrain metrics in hydrology, ecology, and land-use planning. It quantifies how likely a given point in the landscape is to accumulate water based purely on topography. Despite its importance, calculating TWI traditionally requires GIS software, a high-resolution DEM, and knowledge of flow accumulation algorithms. PixelGust makes TWI data accessible to anyone: click a location and get instant results.

Try it now: Open PixelGust, click any location, and enable the Hazards panel to see flood susceptibility (TWI-based) alongside the Terrain panel for elevation and slope data.

What Is the Topographic Wetness Index?

TWI was introduced by Beven and Kirkby in 1979 as part of the TOPMODEL hydrological framework. The formula is simple but powerful:

TWI = ln(a / tan β)

Where:

The result is a dimensionless index where higher values indicate greater tendency for water accumulation. TWI effectively identifies valley floors, depressions, and flat areas that receive runoff from large upslope catchments.

Why TWI Matters

Flood Risk Assessment

TWI is the foundation of terrain-based flood risk assessment. While hydrodynamic flood models require complex inputs and expert calibration, TWI provides a first-pass identification of flood-prone areas from topography alone. High TWI zones are where water accumulates first and drains last, which is exactly where flood damage is most likely.

Real Estate and Site Selection

For real estate climate risk assessment, TWI reveals drainage problems that may not be obvious from site visits. A flat building plot may look ideal, but if it sits at the bottom of a large catchment (high TWI), it faces chronic waterlogging, basement flooding, and foundation moisture issues.

Agriculture and Soil Moisture

In precision agriculture, TWI maps help farmers understand field-scale moisture variability. High-TWI areas retain moisture longer, affecting crop health, equipment access, and soil erosion patterns. Low-TWI ridges may suffer drought stress first.

Ecological Mapping

Wetland delineation, habitat modeling, and species distribution studies frequently use TWI as a predictor variable. Many plant and animal species show strong associations with terrain wetness, making TWI an essential input for environmental assessments.

How PixelGust Calculates TWI

PixelGust computes TWI using the following pipeline:

  1. Contributing area: The upstream drainage area of each cell comes from MERIT Hydro, a global flow dataset built from a hydrologically conditioned 90 m elevation model (pits filled, flow directions corrected).
  2. Specific catchment area: The drainage area is divided by a 250 m contour width.
  3. Slope calculation: Local slope is derived from the GMTED2010 elevation model at 7.5 arc-seconds (about 250 m), with a small floor so flat cells do not divide by zero.
  4. TWI computation: The natural log of (specific catchment area / tan(slope)) is calculated for each cell of an about 250 m grid.

The result feeds directly into the wetness class shown in the Hazards panel. You can also view the underlying elevation and slope data in the Terrain panel.

Interpreting TWI Values

TWI values depend on DEM resolution and landscape type, but general guidelines:

TWI vs. Other Flood Risk Methods

TWI is a static, topography-only indicator. It does not account for rainfall intensity, soil permeability, or engineered drainage. For comprehensive flood risk, combine TWI with:

Use Cases

Property Due Diligence

Before purchasing land, check TWI to identify hidden flood risks. Many properties appear dry during summer visits but sit in high-TWI zones that flood during winter storms. Combine with the flood risk panel for a complete picture.

Urban Planning

Municipalities use TWI maps to identify areas where new development should require stormwater management infrastructure. High-TWI parcels may need retention ponds, permeable paving, or green infrastructure.

Insurance Underwriting

Insurers increasingly use terrain-based flood indicators like TWI to supplement traditional flood zone maps. TWI captures pluvial (rainfall) flood risk that may not appear in river-based flood maps. Read more about weather data in insurance.

Renewable Energy Siting

Solar and wind farm developers check TWI to avoid waterlogged areas that complicate construction and access road maintenance. For solar projects, combine TWI with solar radiation data for optimal site selection.

Calculate TWI for Any Location

Terrain wetness for any point on Earth. Free, instant results with no GIS software needed.

Open Dashboard

Data Sources

PixelGust's TWI uses MERIT Hydro upstream drainage area (Yamazaki et al. 2019) and slope from USGS GMTED2010, computed at about 250 m. The Hazards panel shows the TWI value with a wetness class, alongside the Fire Weather Index. A flood susceptibility rating, which also uses slope and position, comes with the Property Climate Report. The API returns it as flood_twi from /v1/terrain and /v1/hazards. Contains information from MERIT Hydro, which is made available here under the Open Database License (ODbL). The method and licence are in the API documentation.

Check a Property Before You Buy

A Property Climate Report combines flood susceptibility with rainfall extremes, fire weather, frost, terrain and soil for any location. One-time purchase, EUR 19.

See a Sample Report

Frequently Asked Questions

What is the Topographic Wetness Index (TWI)?

The Topographic Wetness Index (TWI) is a terrain-based metric that predicts where water tends to accumulate in the landscape. It is calculated as ln(a / tan β), where 'a' is the upslope contributing area and 'β' is the local slope angle. Higher TWI values indicate flat areas with large contributing catchments, which are places likely to be saturated or flood-prone. PixelGust computes TWI at about 250 m from MERIT Hydro flow accumulation and GMTED2010 slope.

How do I calculate TWI for a specific location for free?

Open PixelGust at pixelgust.com/app and click any location on the map. Enable the Hazards panel to see the TWI value with a wetness class. You can also enable the Terrain panel to see the raw elevation, slope, and aspect data that feed into the TWI calculation. No GIS software or download is needed, as results are instant and free. A flood susceptibility rating, which also uses slope and position, comes with the Property Climate Report.

What is a good TWI value and what does high TWI mean?

TWI values typically range from 2 to 20+. Values below 6 indicate well-drained ridges and slopes. Values of 6 to 10 represent moderate wetness, which is typical of hillslopes. Values above 10 indicate valley floors, floodplains, and areas where water pools. Very high TWI (above 14) often corresponds to permanent wetlands, river channels, or areas with chronic flooding risk.

What resolution DEM does PixelGust use for TWI?

TWI is computed at about 250 m (7.5 arc-seconds): the contributing area comes from MERIT Hydro, a hydrologically conditioned 90 m flow dataset, and the slope from the GMTED2010 elevation model. One value therefore describes the drainage position of an area of about 6 hectares, which suits screening and comparing sites. It does not resolve small ditches or drains within a parcel. Elevation, slope and aspect in the Terrain panel come from the 30 m Copernicus DEM.

Try PixelGust Free

Get instant weather, terrain, and hazard profiles for any land parcel.

Open Map