How are credit scores calculated?

How are credit scores calculated?

The formulas used for credit scoring are complex and tightly held secrets, but certain key factors are considered in most scoring models:

Payment history
Amount owed
Available credit
Length of credit history
Types of credit uses
Amount of new credit