{
  "cik": 47111,
  "cik_padded": "0000047111",
  "entityName": "HERSHEY CO",
  "fiscal_years": [
    {
      "accn": "0001628280-26-008586",
      "filed": "2026-02-17",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 454622000.0,
        "cost_of_revenue": 7769885000.0,
        "dividends_paid": 1085296000.0,
        "free_cash_flow": 1822745000.0,
        "gross_profit": 3922691000.0,
        "net_income": 883259000.0,
        "operating_cash_flow": 2277367000.0,
        "operating_income": 1441528000.0,
        "revenue": 11692576000.0,
        "stockholders_equity": 4636750000.0,
        "total_assets": 13741297000.0,
        "total_liabilities": 9104547000.0
      },
      "period_end": "2025-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.33548561069861765,
        "leverage": 1.963562193346633,
        "net_margin": 0.07554015471013402,
        "operating_margin": 0.12328574986384525,
        "payout_ratio": 1.2287403807943083,
        "revenue_growth_yoy": 0.04376910272504761,
        "roa_avg2y": 0.06619107995388816,
        "roa_period_end": 0.06427770246141977,
        "roe_avg2y": 0.1889040405055754,
        "roe_period_end": 0.19049096888984743
      }
    },
    {
      "accn": "0001628280-26-008586",
      "filed": "2026-02-17",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 494191000.0,
        "capex": 605942000.0,
        "cost_of_revenue": 5901375000.0,
        "dividends_paid": 1084802000.0,
        "free_cash_flow": 1925654000.0,
        "gross_profit": 5300888000.0,
        "net_income": 2221239000.0,
        "operating_cash_flow": 2531596000.0,
        "operating_income": 2898232000.0,
        "revenue": 11202263000.0,
        "stockholders_equity": 4714654000.0,
        "total_assets": 12946861000.0,
        "total_liabilities": 8232207000.0
      },
      "period_end": "2024-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.4731979600907424,
        "leverage": 1.7460893206585255,
        "net_margin": 0.19828484655287956,
        "operating_margin": 0.2587184393010591,
        "payout_ratio": 0.488376982395861,
        "revenue_growth_yoy": 0.00333820212320797,
        "roa_avg2y": 0.17877317493314435,
        "roa_period_end": 0.17156583360244618,
        "roe_avg2y": 0.5040400556403979,
        "roe_period_end": 0.4711351034455551
      }
    },
    {
      "accn": "0001628280-26-008586",
      "filed": "2026-02-17",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 264913000.0,
        "capex": 771109000.0,
        "cost_of_revenue": 6167176000.0,
        "dividends_paid": 889071000.0,
        "free_cash_flow": 1552081000.0,
        "gross_profit": 4997816000.0,
        "net_income": 1861787000.0,
        "operating_cash_flow": 2323190000.0,
        "operating_income": 2560867000.0,
        "revenue": 11164992000.0,
        "stockholders_equity": 4099086000.0,
        "total_assets": 11902941000.0,
        "total_liabilities": 7803855000.0
      },
      "period_end": "2023-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.4476327434896505,
        "leverage": 1.9038036772099927,
        "net_margin": 0.16675220188245546,
        "operating_margin": 0.2293657711532619,
        "payout_ratio": 0.47753636694208307,
        "revenue_growth_yoy": 0.07156895659149266,
        "roa_avg2y": 0.16294472885481343,
        "roa_period_end": 0.1564140324647497,
        "roe_avg2y": 0.5032788502736317,
        "roe_period_end": 0.4541956426383833
      }
    },
    {
      "accn": "0001628280-26-008586",
      "filed": "2026-02-17",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 388964000.0,
        "capex": 519481000.0,
        "cost_of_revenue": 5920509000.0,
        "dividends_paid": 775030000.0,
        "free_cash_flow": 1808356000.0,
        "gross_profit": 4498785000.0,
        "net_income": 1644817000.0,
        "operating_cash_flow": 2327837000.0,
        "operating_income": 2260787000.0,
        "revenue": 10419294000.0,
        "stockholders_equity": 3299544000.0,
        "total_assets": 10948820000.0,
        "total_liabilities": 7649276000.0
      },
      "period_end": "2022-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.4317744561195797,
        "leverage": 2.3182827687704726,
        "net_margin": 0.15786261525972872,
        "operating_margin": 0.21698082422858977,
        "payout_ratio": 0.4711952758270373,
        "revenue_growth_yoy": 0.16139812828344316,
        "roa_avg2y": 0.1540015048885001,
        "roa_period_end": 0.15022778710399842,
        "roe_avg2y": 0.5431331172556739,
        "roe_period_end": 0.49849827733771696
      }
    },
    {
      "accn": "0000047111-25-000014",
      "filed": "2025-02-18",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 457946000.0,
        "capex": 495877000.0,
        "cost_of_revenue": 4922739000.0,
        "dividends_paid": 685987000.0,
        "free_cash_flow": 1587007000.0,
        "gross_profit": 4048598000.0,
        "net_income": 1477512000.0,
        "operating_cash_flow": 2082884000.0,
        "operating_income": 2043722000.0,
        "revenue": 8971337000.0,
        "stockholders_equity": 2757229000.0,
        "total_assets": 10412231000.0,
        "total_liabilities": 7655002000.0
      },
      "period_end": "2021-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.4512814533664269,
        "leverage": 2.7763388532472275,
        "net_margin": 0.1646925090429665,
        "operating_margin": 0.22780573285787833,
        "payout_ratio": 0.46428523084753287,
        "revenue_growth_yoy": 0.10081550050989488,
        "roa_avg2y": 0.15119793844436544,
        "roa_period_end": 0.14190157709716583,
        "roe_avg2y": 0.5920016123148157,
        "roe_period_end": 0.5358684389290842
      }
    },
    {
      "accn": "0000047111-23-000012",
      "filed": "2023-02-17",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 211196000.0,
        "capex": 441626000.0,
        "cost_of_revenue": 4448450000.0,
        "dividends_paid": 640732000.0,
        "free_cash_flow": 1258031000.0,
        "gross_profit": 3701269000.0,
        "net_income": 1278708000.0,
        "operating_cash_flow": 1699657000.0,
        "operating_income": 1782698000.0,
        "revenue": 8149719000.0,
        "stockholders_equity": 2234352000.0,
        "total_assets": 9131845000.0,
        "total_liabilities": 6893962000.0
      },
      "period_end": "2020-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.4541590943196937,
        "leverage": 3.0854413270603738,
        "net_margin": 0.156902096869843,
        "operating_margin": 0.21874349287380337,
        "payout_ratio": 0.5010776502532244,
        "revenue_growth_yoy": 0.020468550203524758,
        "roa_avg2y": 0.14806510331028286,
        "roa_period_end": 0.14002734387191199,
        "roe_avg2y": 0.643605982926202,
        "roe_period_end": 0.572294786139337
      }
    },
    {
      "accn": "0000047111-22-000017",
      "filed": "2022-02-18",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 527211000.0,
        "capex": 318192000.0,
        "cost_of_revenue": 4363774000.0,
        "dividends_paid": 610312000.0,
        "free_cash_flow": 1445681000.0,
        "gross_profit": 3622478000.0,
        "net_income": 1149692000.0,
        "operating_cash_flow": 1763873000.0,
        "operating_income": 1595952000.0,
        "revenue": 7986252000.0,
        "stockholders_equity": 1739222000.0,
        "total_assets": 8140395000.0,
        "total_liabilities": 6395401000.0
      },
      "period_end": "2019-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.4535892431142919,
        "leverage": 3.677161972422152,
        "net_margin": 0.14395889335823614,
        "operating_margin": 0.19983742060731366,
        "payout_ratio": 0.5308482619692927,
        "revenue_growth_yoy": 0.02505214624591311,
        "roa_avg2y": 0.14513184184091624,
        "roa_period_end": 0.14123294999812663,
        "roe_avg2y": 0.7327679310937133,
        "roe_period_end": 0.6610380963442275
      }
    },
    {
      "accn": "0000047111-21-000007",
      "filed": "2021-02-17",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 247500000.0,
        "capex": 328601000.0,
        "cost_of_revenue": 4215744000.0,
        "dividends_paid": 562521000.0,
        "free_cash_flow": 1271392000.0,
        "gross_profit": 3575325000.0,
        "net_income": 1177562000.0,
        "operating_cash_flow": 1599993000.0,
        "operating_income": 1623664000.0,
        "revenue": 7791069000.0,
        "stockholders_equity": 1398721000.0,
        "total_assets": 7703020000.0,
        "total_liabilities": 6295754000.0
      },
      "period_end": "2018-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "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": {
        "gross_margin": 0.45890044100495064,
        "leverage": 4.501079200212194,
        "net_margin": 0.15114254539396327,
        "operating_margin": 0.20840067004925766,
        "payout_ratio": 0.4776996879994429,
        "revenue_growth_yoy": 0.03667696282286593,
        "roa_avg2y": 0.17765475781160778,
        "roa_period_end": 0.15287017299708425,
        "roe_avg2y": 1.0177458742408902,
        "roe_period_end": 0.8418848362182308
      }
    },
    {
      "accn": "0000047111-20-000007",
      "filed": "2020-02-20",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 300312000.0,
        "capex": 257675000.0,
        "cost_of_revenue": 4060050000.0,
        "dividends_paid": 526272000.0,
        "free_cash_flow": 991840000.0,
        "gross_profit": 3455376000.0,
        "net_income": 782981000.0,
        "operating_cash_flow": 1249515000.0,
        "operating_income": 1313409000.0,
        "revenue": 7515426000.0,
        "stockholders_equity": 915338000.0,
        "total_assets": 5553726000.0,
        "total_liabilities": 4622161000.0
      },
      "period_end": "2017-12-31",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.45977114271366654,
        "leverage": 5.049676731436912,
        "net_margin": 0.10418318269649651,
        "operating_margin": 0.17476175003253305,
        "payout_ratio": 0.6721389152482627,
        "roa_avg2y": 0.14135707347288906,
        "roa_period_end": 0.14098300852436724,
        "roe_avg2y": 0.9205075964293314,
        "roe_period_end": 0.8554009557125346
      }
    },
    {
      "accn": "0000047111-19-000010",
      "filed": "2019-02-22",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "dividends_paid": "USD",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 592550000.0,
        "capex": 269476000.0,
        "dividends_paid": 499475000.0,
        "free_cash_flow": 743952000.0,
        "gross_profit": 3169539000.0,
        "net_income": 720044000.0,
        "operating_cash_flow": 1013428000.0,
        "operating_income": 1255173000.0,
        "stockholders_equity": 785856000.0,
        "total_assets": 5524333000.0,
        "total_liabilities": 4696646000.0
      },
      "period_end": "2016-12-31",
      "ratio_units": {
        "leverage": "ratio",
        "payout_ratio": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 5.976471516410131,
        "payout_ratio": 0.6936728866569265,
        "roa_period_end": 0.13034044109940512,
        "roe_period_end": 0.9162543773922959
      }
    }
  ],
  "latest_filing": {
    "accn": "0001628280-26-008586",
    "filed": "2026-02-17",
    "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": "2060",
  "sic_description": "Sugar & Confectionery Products",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000047111.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000047111.json"
  },
  "ticker": "HSY"
}
