Cytosolic aldo-keto reductase that catalyzes NADPH-dependent reduction of ketosteroids to hydroxysteroids. Displays broad substrate specificity with distinct positional and stereochemistry, primarily generating 17beta-hydroxysteroids, but also 3alpha- and 20alpha-hydroxysteroids (PubMed:10998348, PubMed:11165022, PubMed:20036328, PubMed:9415401, PubMed:9927279, PubMed:10998348, PubMed:9927279). Produces potent androgens via classical and 'backdoor'/alternative pathways. In the classical androgen metabolic pathway (biosynthesis of 5alpha-dihydrotestosterone (5alpha-DHT) via testosterone), catalyzes the reduction of delta4-androstenedione to form testosterone (PubMed:10998348, PubMed:11165022, PubMed:20036328, PubMed:9415401, PubMed:9927279). In the 'backdoor' androgen metabolic pathway (biosynthesis of 5alpha-dihydrotestosterone (5alpha-DHT) via pregnanes), reduces androsterone to 5alpha-androstane-3alpha,17beta-diol preceding 5alpha-DHT secretion (PubMed:10557352, PubMed:10998348, PubMed:9415401). Reduces 5alpha-DHT to less potent androgen 5alpha-androstane-3alpha,17beta-diol, likely regulating ligand availability for androgen receptors (PubMed:10557352, PubMed:10998348, PubMed:11165022, PubMed:14672942, PubMed:7650035, PubMed:9415401). May contribute to the metabolism of adrenal-derived androgen precursors. Reduces 11-keto-4-androstene-3,17-dione (11KA4) and 11-keto-5alpha-androstane-3,17-dione (11K-Adione) into potent androgens 11-ketotestosterone (11KT) and 11-ketodihydrotestosterone (11KDHT), respectively (PubMed:31926269). In estrogen metabolism, catalyzes the conversion of estrone to potent estrogen 17beta-estradiol (PubMed:10998348, PubMed:11165022, PubMed:20036328). Acts as a prostaglandin (PG) F2alpha synthase. Displays 11-ketoreductase and 9,11-endoperoxide reductase activities and reduces PGD2 to 11beta-PGF2alpha and PGH2 to PGF2alpha (PubMed:10622721, PubMed:11165022, PubMed:15047184, PubMed:19010934, PubMed:20036328, PubMed:7650035, PubMed:9415401, PubMed:9927279). Also displays retinaldehyde reductase activity toward 9-cis-retinal (PubMed:21851338). In vitro can efficiently catalyze bidirectional conversion between ketosteroids and hydroxysteroids using NADPH/NADP(+) or NADH/NAD(+) as cofactors. In vivo however, the reductase activity prevails since the major reducing cofactor NADPH inhibits NAD(+)-dependent oxidase activity (PubMed:11165022, PubMed:14672942). In addition, it is able to reduce in vitro various carbonyl compounds like menadione, phenanthrenequinone and nitrobenzaldehyde (By similarity)