Environmental computing
From rain depth to water volume
Rain gauges report a depth. Multiply that depth by a horizontal area to estimate the amount of water falling on that footprint.
Use units that cancel neatly
One millimetre of rain spread over one square metre equals one litre. For a horizontal footprint of twelve square metres and a rainfall depth of five millimetres, the arithmetic gives sixty litres. Label the input fields with both quantities and their units, and keep a worked example beside the calculation as a check.
Name the quantity you calculated
Call the result rainfall volume over the footprint. A container connected to a roof may collect a different amount because of overflow, splashing and water retained on the surface. If you also measure collected volume, give it its own field. Keeping the estimate and the observation separate makes later comparisons much easier.