Aluminum Pipe - Pressure Rating Calculation

The calculator can calculate the pressure rating or allowable stress or wall thickness or pipe outside diameter for aluminum pipe as per selection given appropriate values.
Pressure Rating:PR=2St/D, Allowable Stress:S=PRxD/2t, Wall Thickness:t=PRxD/2S, Pipe Outside Diameter:D=2St/PR
where, PR = Pressure Rating, S = Allowable Stress, t = Wall Thickness, D = Pipe Outside Diameter.

I want to calculate
Allowable Stress(S) = P
Wall Thickness(t) = m
Pipe Outside Diameter(D) = m
Pressure Rating(PR) = P