{
  "cik": 897723,
  "cik_padded": "0000897723",
  "entityName": "SANMINA CORP",
  "fiscal_years": [
    {
      "accn": "0000897723-25-000042",
      "filed": "2025-11-13",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "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"
      },
      "fundamentals": {
        "capex": 147357000.0,
        "cash": 926267000.0,
        "cost_of_revenue": 7412025000.0,
        "eps_diluted": 4.46,
        "free_cash_flow": 473300000.0,
        "gross_profit": 716357000.0,
        "net_income": 245893000.0,
        "operating_cash_flow": 620657000.0,
        "operating_income": 354568000.0,
        "revenue": 8128382000.0,
        "stockholders_equity": 2539163000.0,
        "total_assets": 5858173000.0
      },
      "period_end": "2025-09-27",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.08813033147310252,
        "net_margin": 0.030251161916356784,
        "operating_margin": 0.04362098139580546,
        "revenue_growth_yoy": 0.07399969980159422,
        "roa_avg2y": 0.04604298953526714,
        "roa_period_end": 0.041974349340656206,
        "roe_avg2y": 0.10035074788738113,
        "roe_period_end": 0.09684017922441371
      }
    },
    {
      "accn": "0000897723-25-000042",
      "filed": "2025-11-13",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "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"
      },
      "fundamentals": {
        "capex": 111227000.0,
        "cash": 625860000.0,
        "cost_of_revenue": 6927899000.0,
        "eps_diluted": 3.91,
        "free_cash_flow": 228989000.0,
        "gross_profit": 640429000.0,
        "net_income": 222536000.0,
        "operating_cash_flow": 340216000.0,
        "operating_income": 335494000.0,
        "revenue": 7568328000.0,
        "stockholders_equity": 2361508000.0,
        "total_assets": 4822845000.0
      },
      "period_end": "2024-09-28",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.08461961479470763,
        "net_margin": 0.02940358821657835,
        "operating_margin": 0.044328681315080415,
        "revenue_growth_yoy": -0.1529616852645895,
        "roa_avg2y": 0.04589879169578706,
        "roa_period_end": 0.04614205930317064,
        "roe_avg2y": 0.09509815212516397,
        "roe_period_end": 0.09423470087757484
      }
    },
    {
      "accn": "0000897723-25-000042",
      "filed": "2025-11-13",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "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"
      },
      "fundamentals": {
        "capex": 191367000.0,
        "cash": 667570000.0,
        "cost_of_revenue": 8191837000.0,
        "eps_diluted": 5.18,
        "free_cash_flow": 43801000.0,
        "gross_profit": 743211000.0,
        "net_income": 309970000.0,
        "operating_cash_flow": 235168000.0,
        "operating_income": 455658000.0,
        "revenue": 8935048000.0,
        "stockholders_equity": 2318625000.0,
        "total_assets": 4873968000.0
      },
      "period_end": "2023-09-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.0831792957351768,
        "net_margin": 0.034691475636168936,
        "operating_margin": 0.050996704214683566,
        "revenue_growth_yoy": 0.12821647295792651,
        "roa_avg2y": 0.063848814444494,
        "roa_period_end": 0.06359705275044891,
        "roe_avg2y": 0.14981050761437267,
        "roe_period_end": 0.13368699121246427
      }
    },
    {
      "accn": "0000897723-25-000042",
      "filed": "2025-11-13",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "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"
      },
      "fundamentals": {
        "capex": 138639000.0,
        "cash": 529857000.0,
        "cost_of_revenue": 7297416000.0,
        "eps_diluted": 3.81,
        "free_cash_flow": 192215000.0,
        "gross_profit": 622206000.0,
        "net_income": 240384000.0,
        "operating_cash_flow": 330854000.0,
        "operating_income": 349479000.0,
        "revenue": 7919622000.0,
        "stockholders_equity": 1819536000.0,
        "total_assets": 4835531000.0
      },
      "period_end": "2022-10-01",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.07856511333495463,
        "net_margin": 0.030352963815697263,
        "operating_margin": 0.04412824248430039,
        "revenue_growth_yoy": 0.1753047776045077,
        "roa_avg2y": 0.05318744900640272,
        "roa_period_end": 0.04971201714971944,
        "roe_avg2y": 0.13092211467449202,
        "roe_period_end": 0.13211280238478382
      }
    },
    {
      "accn": "0000897723-24-000056",
      "filed": "2024-11-27",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "eps_diluted": "USD/shares",
        "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"
      },
      "fundamentals": {
        "capex": 73296000.0,
        "cash": 650026000.0,
        "cost_of_revenue": 6211915000.0,
        "eps_diluted": 3.72,
        "free_cash_flow": 265046000.0,
        "gross_profit": 526441000.0,
        "net_income": 249546000.0,
        "operating_cash_flow": 338342000.0,
        "operating_income": 255936000.0,
        "revenue": 6738356000.0,
        "stockholders_equity": 1852632000.0,
        "total_assets": 4203594000.0
      },
      "period_end": "2021-10-02",
      "ratio_units": {
        "gross_margin": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.0781260295537962,
        "net_margin": 0.037033662216718735,
        "operating_margin": 0.037981964740361,
        "roa_avg2y": 0.06257226140103432,
        "roa_period_end": 0.05936491487998127,
        "roe_avg2y": 0.143582113254185,
        "roe_period_end": 0.13469809438679672
      }
    },
    {
      "accn": "0001104659-23-062827",
      "filed": "2023-11-16",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 65982000.0,
        "cash": 480526000.0,
        "eps_diluted": 1.88,
        "free_cash_flow": 234573000.0,
        "gross_profit": 517164000.0,
        "net_income": 133169000.0,
        "operating_cash_flow": 300555000.0,
        "operating_income": 219144000.0,
        "stockholders_equity": 1623372000.0,
        "total_assets": 3772656000.0
      },
      "period_end": "2020-10-03",
      "ratio_units": {
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "roa_avg2y": 0.03468769702776795,
        "roa_period_end": 0.035298474072377656,
        "roe_period_end": 0.08203233762809757
      }
    },
    {
      "accn": "0000897723-21-000028",
      "filed": "2021-11-12",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 134674000.0,
        "cash": 454741000.0,
        "eps_diluted": 1.97,
        "free_cash_flow": 248291000.0,
        "gross_profit": 591938000.0,
        "net_income": 141515000.0,
        "operating_cash_flow": 382965000.0,
        "operating_income": 286117000.0,
        "total_assets": 3905513000.0
      },
      "period_end": "2019-09-28",
      "ratio_units": {
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio"
      },
      "ratios": {
        "roa_avg2y": 0.035420165027958944,
        "roa_period_end": 0.036234676468878735
      }
    },
    {
      "accn": "0000897723-21-000028",
      "filed": "2021-11-12",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 118881000.0,
        "cash": 419528000.0,
        "eps_diluted": -1.37,
        "free_cash_flow": 37543000.0,
        "gross_profit": 463783000.0,
        "net_income": -95533000.0,
        "operating_cash_flow": 156424000.0,
        "operating_income": 119441000.0,
        "total_assets": 4085133000.0
      },
      "period_end": "2018-09-29",
      "ratio_units": {
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio"
      },
      "ratios": {
        "roa_avg2y": -0.024086491817959944,
        "roa_period_end": -0.023385529920323278
      }
    },
    {
      "accn": "0000897723-20-000034",
      "filed": "2020-11-13",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 111833000.0,
        "cash": 406661000.0,
        "eps_diluted": 1.78,
        "free_cash_flow": 139128000.0,
        "gross_profit": 519911000.0,
        "net_income": 138833000.0,
        "operating_cash_flow": 250961000.0,
        "operating_income": 226467000.0,
        "total_assets": 3847363000.0
      },
      "period_end": "2017-09-30",
      "ratio_units": {
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio"
      },
      "ratios": {
        "roa_avg2y": 0.03715795805601408,
        "roa_period_end": 0.03608523552365607
      }
    },
    {
      "accn": "0000897723-19-000034",
      "filed": "2019-11-08",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "gross_profit": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "total_assets": "USD"
      },
      "fundamentals": {
        "capex": 120400000.0,
        "cash": 398288000.0,
        "eps_diluted": 2.38,
        "free_cash_flow": 269716000.0,
        "gross_profit": 514282000.0,
        "net_income": 187838000.0,
        "operating_cash_flow": 390116000.0,
        "operating_income": 224785000.0,
        "total_assets": 3625222000.0
      },
      "period_end": "2016-10-01",
      "ratio_units": {
        "roa_period_end": "ratio"
      },
      "ratios": {
        "roa_period_end": 0.05181420613689313
      }
    }
  ],
  "latest_filing": {
    "accn": "0000897723-25-000042",
    "filed": "2025-11-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": "3672",
  "sic_description": "Printed Circuit Boards",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000897723.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000897723.json"
  },
  "ticker": "SANM"
}
