The lens distributional analysis code (LENDA) estimates the sand volume directly accessed and the gas drainage patterns of wells drilled in lenticular sand reservoirs. The gas in these formations is trapped in sand lenses distributed throughout a shale matrix. It is believed that very little gas flows from sand lenses through the shale to other sand lenses. Therefore, only ''sand lens clusters''through which the wellbore passes would contribute to gas production. A sand lens cluster is defined as one or more intersecting lenses. The estimates are calculated using minimum error techniques, a method that provides an accurate area-wide estimate of the sand lens distribution; however, the accuracy of the placement or size of any lens will be suspect. The accuracy of the estimates increase as the well-lens intersections are described in more detail, and as the number of well-lens intersections described increases. The size estimate of an individual lens will not be as accurate as the size estimate of a lens cluster. A well that intersects several lens clusters will have a more reliable volume estimate than a well that intersects only one lens cluster. The total sand volume estimate of all wells in the study area will be the most reliable. If certain input parameters are unknown, the information is provided from a data bank. The data bank contains information on lens length-width-thickness ratios, average thicknesses, compass direction length orientations of channel fill, and point bar sand lenses from the Wasatch and Mesaverde formations. The data bank information was parsed from outcrop studies conducted by Knutson. 5 refs., 6 figs.