A method is developed for rapid gravity interpretation of a sedimentary basin using a digital computer. Assuming a linear variable density contrast (both vertically and horizontally), expressions have been derived for the gravitational attraction of a rectangular strip. An interpretation of the structure of Godavari Valley (India) has been made using these expressions.