Possible Duplicate:
Tools to flatten the jp2 to a single band (average the bands)?

I have a number of raster files from a same area, that coordinates of corresponding pixels perfectly match one another. I have to perform simple operations like producing a raster that its pixel values are the average of a 3 raster files corresponding pixel values. Simply speaking, I want a new raster file that is average of 3 other raster files.

  • 1
    Search our site on "+raster +average" to find several duplicates of this question, each with good answers. Cheers!
    – whuber
    Nov 7, 2012 at 16:50

2 Answers 2


Have a look at gdal_calc.py. You'll probably find some useful examples here


If you want a GUI use the QGIS Raster Calculator. Though the documentation is sparse, it should be really easy for you to figure out how to use it to calculate the average of multiple rasters.

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