def calcMass(volume, density):
    """
    Calculates the mass of a given volume from its density

    Args:
        volume (float): in m^3
        density (float): in kg/m^3

    Returns:
        :class:`float` mass in kg
    """
    mass = volume * density
    return mass