I have a DEM for a specific region and I want to know the mean elevation of this DEM (the average Z value of the whole raster). I'm working with QGIS with GRASS.

This seems like a really easy question, but I really couldn't find out how to do this (I'm a beginner, and the questions I found were all too specific).

1 Answer 1


The Raster layer statistics should be your tool!

It gives an output report like this:

Analyzed file: C:/Users/.../DGM_5m.tif (band 1)

Minimum value: 0
Maximum value: 659
Range: 659
Sum: 8684914255
Mean value: 227.9959789092843
Standard deviation: 178.40250542293
Sum of the squares: 1212384106508.95
  • It worked! Thank you so much!
    – Jama
    Commented Feb 10, 2022 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.