Serena Williams has pulled out of the BNP Paribas Open and Miami Open tournaments due to injury and will lose her world number one ranking as a result.