Does anyone have experience or tips when calculating the true area of a sloping surface?

The ‘footprint’ of a sloping area as seen directly from above (e.g. from a satellite), will be less then the true area.

I want to calculate the true area of grid. I guess this process needs to be on cell-by-cell basis, calculating the slope, multiplying the footprint with the slope factor summing up to get the total.