Microsoft releases tool to calculate cloud-based carbon emissions