i live on a small farm and recently bought an old gravity gas tank.the tank sits horizontal and is 38in in diameter by 48in long. i think i know how many gallons it holds[295?] but my question is after filling i have no idea how much fuel is inside? when putting a yard stick in till touching bottom how much fuel is left in tank at every inch starting at 37 down to one?

Draw lines from the center of the tank to the top of the oil and draw a line from the center to the top of the oil. If the top of the oil is "d" inches from the bottom of the tank, that gives two right triangles with hypotenuse of length (1/2)(38)= 19 inches and one leg of length d- 19. The angle at the center, for each right triangle is \(\displaystyle arccos((d- 19)/19)\) so the entire angle, from one radius to the other, is \(\displaystyle 2arccos((d- 19)/19)\) radians. So that the area of that sector, from the center of the circle out to the circle itself, is \(\displaystyle \frac{2arccos((d-19)/19)}{2}\pi(19^2)\).
The length of the other leg of each right triangle, by the Pythagorean theorem, is \(\displaystyle \sqrt{38d- 19^2}\). So the length of the line showing the top of the oil is \(\displaystyle 2\sqrt{38d- 19^2}\) and the area of the triangle is \(\displaystyle (1/2)(19- d)\sqrt{38d- 19^2}\).
The area of the portion of the sector
above the oil, then, is the difference between the two: \(\displaystyle \frac{2arccos((d- 19)/19}{2}\pi(19^2)- (1/2)(19- d)\sqrt{38d- 19^2}\). And, of course, the volume is that area multiplied by the length of the tank, \(\displaystyle 48\left(\frac{2arccos((d- 19)/19}{2}\pi(19^2)- (1/2)(19- d)\sqrt{38d- 19^2}\right)\)
Because you measured the depth of the oil in inches, that is in
cubic inches. There are 231 cubic inches to a (U.S.) liquid gallon so divide that by 231 to convert to gallons.