A credit bureau calculates a consumer's credit score by analyzing several factors, including payment history, credit utilization, length of credit history, types of credit, and recent credit inquiries. These factors are weighed differently, with payment history and credit utilization having the most significant impact on the score.