Measuring social welfare and sustainability