The PDF provides explicit formulas:
While researchers can adapt the parameters to their specific needs, a standard test generally involves: astm g99 pdf