A calculation an advertiser uses to try to identify if their online marketing campaigns are profitable. One common formula used for calculating ROI is the following: return on investment = (gain from investment – cost of investment) / cost of investment.