About this page: Calculate weight of compounds and materials per volume For instance, calculate how many ounces, pounds, milligrams, grams, kilograms or tonnes of a selected substance in a liter, gallon, fluid ounce, cubic centimeter or in a cubic inch.