---
name: "r.sum"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "6.4.4-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/r.sum"
---

# r.sum(1grass)

Sums up the raster cell values.

## NAME

**r.sum**  - Sums up the raster cell values.

## KEYWORDS

raster, statistics

## SYNOPSIS

**r.sum**\
 **r.sum help**\
 **r.sum rast**=*string*  \[--**verbose**\]  \[--**quiet**\]

### Parameters:

- **rast**=*string*

  Name of incidence or density file.

## DESCRIPTION

*r.sum* sums up the raster cell values. For example, it can be used to summarize the population of a country. Using a raster MASK, raster areas can be easily selected for the summary.

## SEE ALSO

*r.surf.area*

## AUTHOR

Bill Brown, UIUC GIS Laboratory

*Last changed: $Date: 2008-05-16 21:09:06 +0200 (Fri, 16 May 2008) $*

Full index

© 2003-2014 GRASS Development Team
