The program "N Master" calculates sample size using a specific method or formula, which is typically based on statistical principles.