Is there a way I can calculate the volume of a rectangular box assembly with components inside?

Is there a way I can calculate the volume of a rectangular box assembly with components inside?

Are you trying to determine the volume a liquid (or other substance) would fill your box with the other components in there taking up space? if so there's some great videos discussing this using the INTERSECT tool or CAVITY options.

I had this problem yesterday, I had an assembly sitting inside an overflow tray and I needed to know how much fluid the tray could hold with the components inside it. I ended up finding it's easiest to save the assembly as a part file, then cutting the entire part on the "Right Plane" so all that was remaining was the area that would be inside the "box" and use the Evaluate->Mass Properties->Volume to get the remaining volume. then using New in SolidWorks 2013 - Fill a Baby Bottle Using The Intersect Tool - YouTube

and then then using the process Jamil said, use the mass properties tool to determine the volume of the box and subtract the volume of the components.

If I understand you correctly.

**If: Liquid volume inside an empty box.**Make a new part that fills it up.

**If: The space that is not occupied by parts.**You can use the cavity feature. 2015 SOLIDWORKS Help - Mold Tools - Cavity

Make a new part boxed part that represents the space inside the boxe. Edit it and use the cavity feature by picking the parts inside the box. Then the part represents the empty space inside the box.

Tools > Mass Properties will tell you the total volume of your assembly. Are you looking for something different?