Standardized Precipitation Index Calculator

Paste past rainfall totals for the same period and enter the current total to get the SPI, its drought class, probability, percent of normal and decile.

S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho

…

Com es fa

  1. 1
    Paste the record

    Past totals for the same period.

  2. 2
    Enter the current total

    In the same unit.

  3. 3
    Read the SPI

    Value and class.

  4. 4
    Compare measures

    Percent of normal and decile.

Sobre aquesta eina

The Standardized Precipitation Index (SPI) expresses how unusual a rainfall total is compared with the long-term record for the same place and season, in standard deviations. The WMO recommends it as the reference meteorological drought index. It is computed by fitting a gamma distribution to the record, finding the cumulative probability of the current total and converting that to a standard normal value. This calculator does the full procedure and adds simpler measures for comparison.

Who this is for

Hydrologists, farmers, water managers, students of climatology and anyone checking whether a dry spell is unusual.

Preparing the data

Enter totals for the same accumulation period and season in past years: for example, all March-to-May totals for 30 years for a 3-month SPI ending in May. At least 30 years is recommended by the WMO; the calculator needs a minimum of 10.

The method

1. Fit a gamma distribution to the non-zero totals with Thom's approximation: A = ln(mean) − mean(ln x), α = (1 + √(1 + 4A/3)) / (4A), β = mean / α. 2. Account for zero totals with their probability q: H(x) = q + (1 − q) G(x). 3. Convert H to the standard normal value: SPI = Φ⁻¹(H).

Classes (McKee et al. 1993)

| SPI | Class | |---|---| | ≥ 2.0 | Extremely wet | | 1.5 to 1.99 | Very wet | | 1.0 to 1.49 | Moderately wet | | −0.99 to 0.99 | Near normal | | −1.0 to −1.49 | Moderately dry | | −1.5 to −1.99 | Severely dry | | ≤ −2.0 | Extremely dry |

Other measures

Percent of normal compares with the mean; deciles rank the value within the record. They are easier to explain but not comparable between climates, which is SPI's strength.

Time scales

A 1- or 3-month SPI reflects soil moisture and agricultural drought; 6 to 12 months reflect streamflow and reservoirs; 24 months or more reflect groundwater.

Good practice

Use a homogeneous record from one station or a gridded dataset, and keep the same accumulation period.

Drought monitoring

National drought monitors combine SPI at several time scales with soil moisture, streamflow and vegetation indices. A single negative SPI value is a warning sign; persistence over several months and agreement between indices make a drought declaration more robust. The SPI is not an official drought declaration on its own.

Wet extremes

The same index shows wet periods: values above 2 often coincide with floods and waterlogged soils, and long wet spells matter for reservoir management as much as dry ones.

Worked example

With the sample 30-year record (mean 89.6 mm) and a current total of 62 mm, the gamma fit gives α = 20.9 and β = 4.29. The cumulative probability is 6.6 %, so SPI = −1.50: severely dry. The total is 69 % of normal, in the first decile.

Limits

Short records make the fit uncertain; extreme values beyond ±3 are unreliable.

Exemple resolt

62 mm against a 30-year mean of 89.6 mm gives SPI −1.50, severely dry.

En resum

Preguntes freqüents

What is the Standardized Precipitation Index?

A drought index giving rainfall anomalies in standard deviations.

How many years of data do I need?

At least 30 are recommended.

What SPI value is a drought?

−1.0 or lower; −2.0 or lower is extreme.

Which distribution is used?

A two-parameter gamma distribution.

How are zero totals handled?

With a mixed distribution using their probability.

Is my data stored?

No. Everything is calculated in your browser.

Totalment gratisSense cost, sense registre
Els fitxers es mantenen privatsTot funciona al teu navegador
Fàcil en el teu idiomaDisponible en molts idiomes