post #3 answers the question as asked. The question underneath it is different.
Gradient slope is the single biggest driver of apparent purity differences. A shallower gradient over a longer run resolves more impurities and gives a higher purity figure. A steep gradient produces a tidier-looking chromatogram with fewer visible peaks and gives a lower purity figure. Both are legitimate methods and they will not produce the same number.