Credit scores are calculated based on various factors including your payment history, outstanding debts, credit utilization ratio, length of credit history, the types of credit you carry, and public records, including judgements or bankruptcies.