How Do You Calculate Perihelion Distance?

How Do You Calculate Perihelion Distance? The perihelion distance P=a(1−e) and the aphelion distance A=a(1+e) where e=0.875 is the eccentricity. This gives a perihelion distance of 2.375AU and an aphelion distance of 35.625AU. How is eccentricity calculated with perihelion and aphelion? a = semi-major axis and e = eccentricity. Aphelion = a(1 + e); perihelion