The quantity of gas in a given volume can be determined by two important gas equations. PV=nrT relates pressure and volume to the Ideal Gas Law constant, the amount of moles of gas and the system temperature. Once the system of the pressure (in atms), temperature (degrees Kelvin), gas constant (.0821 L*atm*K^-1*mol*-1), and volume (L) are known gas quantity in moles can be calculated.
To answer the question, the density of the material of this quantity should be known!!!!!!
If you cannot estimate the height then, unless it is a very specific shape, you cannot calculate the volume.
mass and volume
To measure the volume of a cake, you can use a measuring cup or a measuring jug to pour a known quantity of water into the cake pan. By measuring the change in water level before and after pouring, you can calculate the volume displacement, which gives you an estimate of the cake's volume.
density
If the density of the substance is known, then you can calculate it. Density = Mass/Volume, so Mass = Density x Volume
If the density and volume of an object are known, you can also find its mass. Mass is calculated by multiplying the density by the volume of the object.
The capacity of a container can be measured by determining the maximum amount of liquid or material it can hold. This can be done by filling the container with a known quantity of water and measuring the volume, or by using the container's dimensions to calculate its capacity based on its shape.
The mass of a substance can be derived from its density. Density is equal to mass per volume, so if volume is known, divide volume by density to get mass.
To calculate the weight of an object when the volume is known, you would also need the density of the material the object is made of. By multiplying the volume of the object by its density, you can determine the weight of the object.
The volume of an irregularly shaped solid can be measured by placing the solid in a known quantity of water in a container with measurement markings. Take the new volume and find the difference between this and the old volume. This is the volume of your irregularly shaped solid.
You need more information. There are many shapes which could hold the same volume, but have different (is it perimeter of the base, maybe?).