Object: The present work responds to two objectives. On the one hand, it describes the evolution of the main economic-financial indicators that influence credit risk (insolvency) for a sample of 10 Spanish companies listed on the IBEX 35. This analysis is studied for a comparative period of 10 years, which coincides with a pre-crisis stage (2002-2005) and an economic post-crisis phase (2012-2015). On the other hand, it corroborates the relationship between the analysed insolvency and the rating or credit-risk rating published for these companies by an internationally recognized credit rating agency, Standard & Poor's (S & P).Design / methodology: A sample of 10 companies and a 10-year period including the years 2002-2005 (pre-crisis) and the years 2012-2015 (post-crisis) are chosen, omitting the Spanish economic crisis that occurred in the year 2008. For the study of its evolution, 6 ratios obtained from the scientific literature that relate to credit risk and its effects on investments and company results are calculated. Finally, the correlations of these variables with the ratings of credit risk assessment by the rating agency S & P are measured. Descriptive statistics will assign value and graphics to this ten-year evolution, and with the incorporation of a factorial analysis, the correlation between the ratios and the S & P rating will be determined. The statistical analysis explains this correlation to a greater extent.Contributions / results: The results show a clear increase in the value of the impairment variable due to credit risk ten years later that directly affects the results of the companies, despite these companies having significantly reduced their investments in commercial loans pending collection and drastically reduced the period means of collection of clients. In turn, there is a clear correlation between the insolvency studied and the variables used by the S & P rating agency for the assessment of credit risk.Added value / conclusions: The empirical study concludes that there is a correspondence between insolvency and the rating given by an internationally prestigious rating agency (S & P) for the sample of 10 companies studied. Three variables – customer balance-accounts receivable, investments and the net amount of turnover – are determining factors explaining this correlation, and these three variables are the same ones that decisively influence both the pre-crisis period and the post-crisis period 10 years apart. The rating agencies weigh the insolvency variable in their analyses.