In reply to Gagandeep.

I provide a link to the PROC UNIVARIATE documentation. The formula is in the Details chapter, "Calculating Percentiles" section.