{
  "cik": 731012,
  "cik_padded": "0000731012",
  "entityName": "HEALTHCARE SERVICES GROUP INC",
  "fiscal_years": [
    {
      "accn": "0000731012-26-000009",
      "filed": "2026-02-13",
      "fiscal_year": 2025,
      "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",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 61586000.0,
        "capex": 5818000.0,
        "cash": 125189000.0,
        "eps_diluted": 0.81,
        "free_cash_flow": 139150000.0,
        "net_income": 59059000.0,
        "operating_cash_flow": 144968000.0,
        "revenue": 1837173000.0,
        "stockholders_equity": 510210000.0,
        "total_assets": 794253000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.03214667317666872,
        "revenue_growth_yoy": 0.07081207356608042,
        "roa_avg2y": 0.0739612717396409,
        "roa_period_end": 0.07435791869844999,
        "roe_avg2y": 0.11693265368954904,
        "roe_period_end": 0.11575429725015189
      }
    },
    {
      "accn": "0000731012-26-000009",
      "filed": "2026-02-13",
      "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",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 5018000.0,
        "capex": 6336000.0,
        "cash": 56776000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 0.53,
        "free_cash_flow": 24466000.0,
        "net_income": 39471000.0,
        "operating_cash_flow": 30802000.0,
        "revenue": 1715682000.0,
        "stockholders_equity": 499927000.0,
        "total_assets": 802772000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "net_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.023006011603548912,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": 0.02650071288012545,
        "roa_avg2y": 0.0495423691371537,
        "roa_period_end": 0.04916838155790186,
        "roe_avg2y": 0.08252843834516588,
        "roe_period_end": 0.07895352721497338
      }
    },
    {
      "accn": "0000731012-26-000009",
      "filed": "2026-02-13",
      "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",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 11283000.0,
        "capex": 5406000.0,
        "cash": 54330000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 0.52,
        "free_cash_flow": 38092000.0,
        "net_income": 38386000.0,
        "operating_cash_flow": 43498000.0,
        "revenue": 1671389000.0,
        "stockholders_equity": 456616000.0,
        "total_assets": 790652000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "net_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.02296652664340857,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": -0.011115410466128971,
        "roa_avg2y": 0.05079233179489351,
        "roa_period_end": 0.048549804465175574,
        "roe_avg2y": 0.08774995856645655,
        "roe_period_end": 0.08406626136622457
      }
    },
    {
      "accn": "0000731012-26-000009",
      "filed": "2026-02-13",
      "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",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 5210000.0,
        "cash": 26279000.0,
        "dividends_paid": 63373000.0,
        "eps_diluted": 0.46,
        "free_cash_flow": -13377000.0,
        "net_income": 34243000.0,
        "operating_cash_flow": -8167000.0,
        "revenue": 1690176000.0,
        "stockholders_equity": 418279000.0,
        "total_assets": 720836000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "net_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.020260020258245297,
        "payout_ratio": 1.85068481149432,
        "revenue_growth_yoy": 0.029365532269685173,
        "roa_avg2y": 0.04563527628312982,
        "roa_period_end": 0.04750456414496501,
        "roe_avg2y": 0.07931669465516243,
        "roe_period_end": 0.08186640974086674
      }
    },
    {
      "accn": "0000731012-25-000032",
      "filed": "2025-02-14",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 21535000.0,
        "capex": 5687000.0,
        "dividends_paid": 62226000.0,
        "eps_diluted": 0.65,
        "free_cash_flow": 31421000.0,
        "net_income": 48543000.0,
        "operating_cash_flow": 37108000.0,
        "revenue": 1641959000.0,
        "stockholders_equity": 445171000.0,
        "total_assets": 779889000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "net_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.029564075595066623,
        "payout_ratio": 1.281873802607997,
        "revenue_growth_yoy": -0.06722933494972172,
        "roa_avg2y": 0.06203895406793958,
        "roa_period_end": 0.06224347310963483,
        "roe_avg2y": 0.10605310848143039,
        "roe_period_end": 0.1090434911528379
      }
    },
    {
      "accn": "0000731012-24-000025",
      "filed": "2024-02-16",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 4341000.0,
        "dividends_paid": 60705000.0,
        "eps_diluted": 1.32,
        "free_cash_flow": 212872000.0,
        "net_income": 98682000.0,
        "operating_cash_flow": 217213000.0,
        "revenue": 1760303000.0,
        "stockholders_equity": 470276000.0,
        "total_assets": 785031000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "net_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.05605966700051071,
        "payout_ratio": 0.6151577795342615,
        "revenue_growth_yoy": -0.04371792796306779,
        "roa_avg2y": 0.13091071176282135,
        "roa_period_end": 0.12570459000982126,
        "roe_avg2y": 0.21208685756532747,
        "roe_period_end": 0.20983847783004023
      }
    },
    {
      "accn": "0000731012-23-000024",
      "filed": "2023-02-17",
      "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",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 4368000.0,
        "cash": 27329000.0,
        "dividends_paid": 58951000.0,
        "eps_diluted": 0.87,
        "free_cash_flow": 89213000.0,
        "net_income": 64581000.0,
        "operating_cash_flow": 93581000.0,
        "revenue": 1840778000.0,
        "stockholders_equity": 460305000.0,
        "total_assets": 722592000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "net_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.035083535331256674,
        "payout_ratio": 0.9128226568185689,
        "revenue_growth_yoy": -0.08080641126215357,
        "roa_avg2y": 0.0912679878038009,
        "roa_period_end": 0.08937408662149596,
        "roe_avg2y": 0.14334052836302902,
        "roe_period_end": 0.14030045296053703
      }
    },
    {
      "accn": "0000731012-22-000026",
      "filed": "2022-02-18",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 4940000.0,
        "cash": 26025000.0,
        "dividends_paid": 57201000.0,
        "eps_diluted": 1.12,
        "free_cash_flow": 75091000.0,
        "net_income": 83524000.0,
        "operating_cash_flow": 80031000.0,
        "revenue": 2002601000.0,
        "stockholders_equity": 440780000.0,
        "total_assets": 692603000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "net_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.041707759059343326,
        "payout_ratio": 0.6848450744696135,
        "revenue_growth_yoy": 0.0759695595221593,
        "roa_avg2y": 0.12205704198286432,
        "roa_period_end": 0.12059433759310888,
        "roe_avg2y": 0.19869351945685426,
        "roe_period_end": 0.18949135623213395
      }
    },
    {
      "accn": "0000731012-21-000026",
      "filed": "2021-02-25",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 5397000.0,
        "cash": 9557000.0,
        "dividends_paid": 55244000.0,
        "eps_diluted": 1.19,
        "free_cash_flow": 2233000.0,
        "net_income": 88226000.0,
        "operating_cash_flow": 7630000.0,
        "revenue": 1861206000.0,
        "stockholders_equity": 399952000.0,
        "total_assets": 676003000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "net_margin": "ratio",
        "payout_ratio": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "net_margin": 0.04740259810037148,
        "payout_ratio": 0.6261646226735883,
        "roa_avg2y": 0.14650018390151845,
        "roa_period_end": 0.130511255127566,
        "roe_avg2y": 0.2388378898583367,
        "roe_period_end": 0.22059147097651718
      }
    },
    {
      "accn": "0000731012-20-000033",
      "filed": "2020-02-21",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 5442000.0,
        "cash": 23853000.0,
        "dividends_paid": 53342000.0,
        "eps_diluted": 1.05,
        "free_cash_flow": 35958000.0,
        "net_income": 77396000.0,
        "operating_cash_flow": 41400000.0,
        "stockholders_equity": 338842000.0,
        "total_assets": 528446000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "payout_ratio": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "payout_ratio": 0.6892087446379658,
        "roa_period_end": 0.14645961933669666,
        "roe_period_end": 0.22841324275030842
      }
    },
    {
      "accn": "0000731012-19-000040",
      "filed": "2019-03-18",
      "fiscal_year": 2015,
      "form": "10-K",
      "fundamental_units": {
        "cash": "USD",
        "dividends_paid": "USD"
      },
      "fundamentals": {
        "cash": 33189000.0,
        "dividends_paid": 51375000.0
      },
      "period_end": "2015-12-31",
      "ratios": {}
    },
    {
      "accn": "0000731012-18-000032",
      "filed": "2018-02-23",
      "fiscal_year": 2014,
      "form": "10-K",
      "fundamental_units": {
        "cash": "USD"
      },
      "fundamentals": {
        "cash": 75280000.0
      },
      "period_end": "2014-12-31",
      "ratios": {}
    },
    {
      "accn": "0000950123-11-015770",
      "filed": "2011-02-18",
      "fiscal_year": 2008,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD"
      },
      "fundamentals": {
        "buybacks": 4652000.0
      },
      "period_end": "2008-12-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0000731012-26-000009",
    "filed": "2026-02-13",
    "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": "8050",
  "sic_description": "Services-Nursing & Personal Care Facilities",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000731012.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000731012.json"
  },
  "ticker": "HCSG"
}
