In order to calculate your ROI, or return on investment, for social media efforts, you generally begin by assigning monetary values to your social media KPIs while keeping track of your spending on social media for specific campaigns. You subtract the cost of your investment in a social media campaign from the associated revenue or value (as estimated using your social KPIs) obtained from your investment and then divide the result by the cost of your investment.