The h-index is calculated by determining the number of papers (h) that have been cited at least h times. For example, if a researcher has an h-index of 10, it means they have 10 papers that have each been cited at least 10 times. This balance between quantity (number of papers) and quality (number of citations) makes the h-index a useful tool for evaluating a researcher's impact in their field.