It depends on the system in which you are working, but the units will be the same as for a regular solid. In the International System of Units (SI units, for short), the unit for volume is m3.
Volume of a solid that is measured by cubic units
Volume is measured in cubic units.
The volume of solid objects is typically measured in cubic units such as cubic centimeters (cm³) or cubic meters (m³).
m3
The common volume units for solid substances are cubic centimeters (cm³) or cubic meters (m³). These units are used to quantify the amount of space occupied by a solid object.
The metric units for volume for liquids and solids are liters and liters/meters-cubed, respectively.
The volume of a solid is measured in cubic units
The units for the volume if you are measuring any liquid or solid is metre^3/cm^3 as density = mass/volume. The units for mass is grams
Volume in cubic units = cross-section area*length
Volume in cubic units = base area times length
It is its volume which is measured in cubic units
Both liquid and solid volume are typically measured in cubic units, such as cubic meters or cubic centimeters. The difference lies in how the volume is calculated: for liquids, it can be directly measured by pouring into a container, while for solids it involves calculating the volume based on its dimensions.