mcmillan formula