{
  "cik": 352915,
  "cik_padded": "0000352915",
  "entityName": "UNIVERSAL HEALTH SERVICES INC",
  "fiscal_years": [
    {
      "accn": "0001193125-26-071676",
      "filed": "2026-02-25",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 967951000.0,
        "capex": 1015152000.0,
        "cash": 137797000.0,
        "dividends_paid": 51267000.0,
        "eps_diluted": 23.1,
        "free_cash_flow": 849245000.0,
        "net_income": 1488796000.0,
        "operating_cash_flow": 1864397000.0,
        "operating_income": 1994015000.0,
        "revenue": 17364829000.0,
        "stockholders_equity": 7275792000.0,
        "total_assets": 15527593000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.08573628913938629,
        "operating_margin": 0.11483067296545219,
        "payout_ratio": 0.03443520804730803,
        "revenue_growth_yoy": 0.09710009549571691,
        "roa_avg2y": 0.09926186126757497,
        "roa_period_end": 0.09588066869089111,
        "roe_avg2y": 0.21356994789628087,
        "roe_period_end": 0.2046232217743443
      }
    },
    {
      "accn": "0001193125-26-071676",
      "filed": "2026-02-25",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 670754000.0,
        "capex": 943810000.0,
        "cash": 125983000.0,
        "dividends_paid": 53346000.0,
        "eps_diluted": 16.82,
        "free_cash_flow": 1123291000.0,
        "net_income": 1142097000.0,
        "operating_cash_flow": 2067101000.0,
        "operating_income": 1681814000.0,
        "revenue": 15827935000.0,
        "stockholders_equity": 6666207000.0,
        "total_assets": 14469749000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.07215704385948009,
        "operating_margin": 0.10625605930274543,
        "payout_ratio": 0.04670881720204151,
        "revenue_growth_yoy": 0.10824545567083994,
        "roa_avg2y": 0.08032372635552447,
        "roa_period_end": 0.07892998005701413,
        "roe_avg2y": 0.1782408837999352,
        "roe_period_end": 0.17132636295272563
      }
    },
    {
      "accn": "0001193125-26-071676",
      "filed": "2026-02-25",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 547363000.0,
        "capex": 743055000.0,
        "cash": 119439000.0,
        "dividends_paid": 55480000.0,
        "eps_diluted": 10.23,
        "free_cash_flow": 524742000.0,
        "net_income": 717795000.0,
        "operating_cash_flow": 1267797000.0,
        "operating_income": 1175381000.0,
        "revenue": 14281976000.0,
        "stockholders_equity": 6149001000.0,
        "total_assets": 13967602000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.05025880172323493,
        "operating_margin": 0.0822982057944923,
        "payout_ratio": 0.07729226311133401,
        "revenue_growth_yoy": 0.06586921623927094,
        "roa_avg2y": 0.05227590772487882,
        "roa_period_end": 0.05138999521893593,
        "roe_avg2y": 0.1189428002607878,
        "roe_period_end": 0.1167335962378279
      }
    },
    {
      "accn": "0000950170-25-027785",
      "filed": "2025-02-26",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 832918000.0,
        "capex": 734001000.0,
        "cash": 102818000.0,
        "dividends_paid": 58449000.0,
        "eps_diluted": 9.14,
        "free_cash_flow": 262022000.0,
        "net_income": 675609000.0,
        "operating_cash_flow": 996023000.0,
        "operating_income": 1003555000.0,
        "revenue": 13399370000.0,
        "stockholders_equity": 5920582000.0,
        "total_assets": 13494188000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.050420952626877236,
        "operating_margin": 0.07489568539416405,
        "payout_ratio": 0.08651305710847547,
        "revenue_growth_yoy": 0.05989922415684019,
        "roa_avg2y": 0.05082110993224657,
        "roa_period_end": 0.050066665737871746,
        "roe_avg2y": 0.11250543910591007,
        "roe_period_end": 0.11411192345617373
      }
    },
    {
      "accn": "0000950170-24-021175",
      "filed": "2024-02-27",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 1220875000.0,
        "capex": 855659000.0,
        "cash": 115301000.0,
        "dividends_paid": 65896000.0,
        "eps_diluted": 11.82,
        "free_cash_flow": 28036000.0,
        "net_income": 991590000.0,
        "operating_cash_flow": 883695000.0,
        "operating_income": 1363094000.0,
        "revenue": 12642117000.0,
        "stockholders_equity": 6089664000.0,
        "total_assets": 13093543000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.07843543925435906,
        "operating_margin": 0.10782165676840356,
        "payout_ratio": 0.06645488558779335,
        "revenue_growth_yoy": 0.09371309390506724,
        "roa_avg2y": 0.07463863389147526,
        "roa_period_end": 0.07573122110646446,
        "roe_avg2y": 0.15984608452938345,
        "roe_period_end": 0.16283164391335878
      }
    },
    {
      "accn": "0000950170-23-004656",
      "filed": "2023-02-27",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 206719000.0,
        "capex": 731307000.0,
        "cash": 1224490000.0,
        "dividends_paid": 17344000.0,
        "eps_diluted": 10.99,
        "free_cash_flow": 1628862000.0,
        "net_income": 943953000.0,
        "operating_cash_flow": 2360169000.0,
        "operating_income": 1358354000.0,
        "revenue": 11558897000.0,
        "stockholders_equity": 6317146000.0,
        "total_assets": 13476879000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.08166462595868791,
        "operating_margin": 0.11751588408478768,
        "payout_ratio": 0.01837379615298643,
        "revenue_growth_yoy": 0.01587571525661351,
        "roa_avg2y": 0.07508038634440889,
        "roa_period_end": 0.07004240373457386,
        "roe_avg2y": 0.15970441707057909,
        "roe_period_end": 0.1494271305428116
      }
    },
    {
      "accn": "0001564590-22-006717",
      "filed": "2022-02-24",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 770504000.0,
        "capex": 634095000.0,
        "cash": 61268000.0,
        "dividends_paid": 53003000.0,
        "eps_diluted": 9.13,
        "free_cash_flow": 804374000.0,
        "net_income": 814854000.0,
        "operating_cash_flow": 1438469000.0,
        "operating_income": 1215908000.0,
        "revenue": 11378259000.0,
        "stockholders_equity": 5504105000.0,
        "total_assets": 11668250000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.07161499839298789,
        "operating_margin": 0.10686239432588061,
        "payout_ratio": 0.06504600824196727,
        "revenue_growth_yoy": 0.056253746886220354,
        "roa_avg2y": 0.07106161971907754,
        "roa_period_end": 0.06983515094380048,
        "roe_avg2y": 0.14960553518485148,
        "roe_period_end": 0.14804477748880154
      }
    },
    {
      "accn": "0001564590-21-008851",
      "filed": "2021-02-25",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 397425000.0,
        "capex": 664962000.0,
        "cash": 105220000.0,
        "dividends_paid": 37342000.0,
        "eps_diluted": 8.31,
        "free_cash_flow": 609780000.0,
        "net_income": 779705000.0,
        "operating_cash_flow": 1274742000.0,
        "operating_income": 1175262000.0,
        "revenue": 10772278000.0,
        "stockholders_equity": 5389262000.0,
        "total_assets": 11265480000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.07238069793594261,
        "operating_margin": 0.10910060063433194,
        "payout_ratio": 0.04789247215292963,
        "revenue_growth_yoy": 0.034814380397824564,
        "roa_avg2y": 0.0707943975723225,
        "roa_period_end": 0.06921187557032635,
        "roe_avg2y": 0.1502498945925801,
        "roe_period_end": 0.1446775087201179
      }
    },
    {
      "accn": "0001564590-20-006793",
      "filed": "2020-02-26",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 364401000.0,
        "capex": 557506000.0,
        "cash": 74423000.0,
        "dividends_paid": 38211000.0,
        "eps_diluted": 7.81,
        "free_cash_flow": 690079000.0,
        "net_income": 752303000.0,
        "operating_cash_flow": 1247585000.0,
        "operating_income": 1280178000.0,
        "revenue": 10409865000.0,
        "stockholders_equity": 4989514000.0,
        "total_assets": 10761828000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.07226827629368873,
        "operating_margin": 0.12297738731482108,
        "payout_ratio": 0.0507920345924448,
        "revenue_growth_yoy": 0.06590632394757025,
        "roa_avg2y": 0.07137724903141089,
        "roa_period_end": 0.06990475967465751,
        "roe_avg2y": 0.1580014731063579,
        "roe_period_end": 0.15077680912409505
      }
    },
    {
      "accn": "0001564590-19-004919",
      "filed": "2019-02-27",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 353380000.0,
        "capex": 519939000.0,
        "cash": 33747000.0,
        "eps_diluted": 7.14,
        "free_cash_flow": 813903000.0,
        "net_income": 702409000.0,
        "operating_cash_flow": 1333842000.0,
        "operating_income": 1281411000.0,
        "revenue": 9766210000.0,
        "stockholders_equity": 4533220000.0,
        "total_assets": 10317802000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.07192237316215809,
        "operating_margin": 0.13120862647843942,
        "roa_period_end": 0.06807738702487216,
        "roe_period_end": 0.1549470354405919
      }
    }
  ],
  "latest_filing": {
    "accn": "0001193125-26-071676",
    "filed": "2026-02-25",
    "form": "10-K"
  },
  "note": "Static grepcent export of verified SEC companyfacts-derived values. Monetary values are raw reported units from grepcent's resolved facts; no scaling and no FX conversion. Capex, dividends, and buybacks are reported as positive outflow magnitudes. ROE/ROA include both period-end basis (site-consistent) and average-of-two-years basis where the prior-year denominator exists.",
  "schema_version": "1",
  "sic": "8062",
  "sic_description": "Services-General Medical & Surgical Hospitals, NEC",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000352915.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000352915.json"
  },
  "ticker": "UHS"
}
