NPV is calculated using the formula: NPV = True Negatives / (True Negatives + False Negatives) In this formula, true negatives refer to the number of patients who test negative and do not have the disease, while false negatives are those who test negative but actually have the disease.