Hello,
The volume can be calculated within the polygonal shape. So if you either import the shape or create it using X,Y pairs sequence, you will be able to calculate the volume within the polygonal shape borders, providing that DEM has been generated in the project.