{
  "cik": 106040,
  "cik_padded": "0000106040",
  "entityName": "WESTERN DIGITAL CORP",
  "fiscal_years": [
    {
      "accn": "0000106040-25-000038",
      "filed": "2025-08-14",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 149000000.0,
        "capex": 412000000.0,
        "cash": 2114000000.0,
        "cost_of_revenue": 5828000000.0,
        "dividends_paid": 44000000.0,
        "eps_diluted": 5.12,
        "free_cash_flow": 1279000000.0,
        "gross_profit": 3692000000.0,
        "net_income": 1889000000.0,
        "operating_cash_flow": 1691000000.0,
        "operating_income": 2334000000.0,
        "revenue": 9520000000.0,
        "stockholders_equity": 5311000000.0,
        "total_assets": 14002000000.0,
        "total_liabilities": 8462000000.0
      },
      "period_end": "2025-06-27",
      "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.3878151260504202,
        "leverage": 1.593296930898136,
        "net_margin": 0.19842436974789915,
        "operating_margin": 0.24516806722689075,
        "payout_ratio": 0.023292747485442033,
        "revenue_growth_yoy": 0.5070444831407314,
        "roa_avg2y": 0.09892642052893427,
        "roa_period_end": 0.13490929867161833,
        "roe_avg2y": 0.23423646847293694,
        "roe_period_end": 0.3556768970062135
      }
    },
    {
      "accn": "0000106040-25-000038",
      "filed": "2025-08-14",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 487000000.0,
        "cash": 1551000000.0,
        "cost_of_revenue": 4544000000.0,
        "dividends_paid": 0.0,
        "eps_diluted": -2.61,
        "free_cash_flow": -781000000.0,
        "gross_profit": 1773000000.0,
        "net_income": -798000000.0,
        "operating_cash_flow": -294000000.0,
        "operating_income": -403000000.0,
        "revenue": 6317000000.0,
        "stockholders_equity": 10818000000.0,
        "total_assets": 24188000000.0,
        "total_liabilities": 13141000000.0
      },
      "period_end": "2024-06-28",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "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.28067120468576856,
        "leverage": 1.2147347014235534,
        "net_margin": -0.12632578755738483,
        "operating_margin": -0.0637961057463986,
        "revenue_growth_yoy": 0.00991207034372502,
        "roa_avg2y": -0.032749209997127264,
        "roa_period_end": -0.03299156606581776,
        "roe_avg2y": -0.07327150858507024,
        "roe_period_end": -0.07376594564614532
      }
    },
    {
      "accn": "0000106040-25-000038",
      "filed": "2025-08-14",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 821000000.0,
        "cash": 2023000000.0,
        "cost_of_revenue": 4864000000.0,
        "dividends_paid": 0.0,
        "eps_diluted": -5.37,
        "free_cash_flow": -1229000000.0,
        "gross_profit": 1391000000.0,
        "net_income": -1684000000.0,
        "operating_cash_flow": -408000000.0,
        "operating_income": -548000000.0,
        "revenue": 6255000000.0,
        "stockholders_equity": 10964000000.0,
        "total_assets": 24546000000.0,
        "total_liabilities": 12706000000.0
      },
      "period_end": "2023-06-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "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.22238209432454037,
        "leverage": 1.1588836191171106,
        "net_margin": -0.269224620303757,
        "operating_margin": -0.08760991207034373,
        "revenue_growth_yoy": -0.6671633054860853,
        "roa_avg2y": -0.06629268772758587,
        "roa_period_end": -0.06860588283223336,
        "roe_avg2y": -0.14463005110147292,
        "roe_period_end": -0.1535935789857716
      }
    },
    {
      "accn": "0000106040-25-000038",
      "filed": "2025-08-14",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 1122000000.0,
        "cash": 2327000000.0,
        "cost_of_revenue": 12919000000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 4.89,
        "free_cash_flow": 758000000.0,
        "gross_profit": 5874000000.0,
        "net_income": 1546000000.0,
        "operating_cash_flow": 1880000000.0,
        "operating_income": 2391000000.0,
        "revenue": 18793000000.0,
        "stockholders_equity": 12323000000.0,
        "total_assets": 26259000000.0,
        "total_liabilities": 14038000000.0
      },
      "period_end": "2022-07-01",
      "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.31256318842122066,
        "leverage": 1.1391706564959831,
        "net_margin": 0.08226467301654872,
        "operating_margin": 0.12722822327462352,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": 0.11056612693535044,
        "roa_avg2y": 0.05901777022771087,
        "roa_period_end": 0.05887505236299935,
        "roe_avg2y": 0.13371967305280458,
        "roe_period_end": 0.12545646352349266
      }
    },
    {
      "accn": "0000106040-24-000031",
      "filed": "2024-08-20",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 1146000000.0,
        "cash": 3370000000.0,
        "cost_of_revenue": 12401000000.0,
        "dividends_paid": 0.0,
        "eps_diluted": 2.66,
        "free_cash_flow": 752000000.0,
        "gross_profit": 4521000000.0,
        "net_income": 821000000.0,
        "operating_cash_flow": 1898000000.0,
        "operating_income": 1220000000.0,
        "revenue": 16922000000.0,
        "stockholders_equity": 10800000000.0,
        "total_assets": 26132000000.0,
        "total_liabilities": 15411000000.0
      },
      "period_end": "2021-07-02",
      "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.2671670015364614,
        "leverage": 1.4269444444444443,
        "net_margin": 0.048516723791514005,
        "operating_margin": 0.07209549698617185,
        "payout_ratio": 0.0,
        "revenue_growth_yoy": 0.01111376673040153,
        "roa_avg2y": 0.031702513804687804,
        "roa_period_end": 0.031417419256084496,
        "roe_avg2y": 0.0806839958724387,
        "roe_period_end": 0.07601851851851851
      }
    },
    {
      "accn": "0000106040-23-000024",
      "filed": "2023-08-22",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 647000000.0,
        "cash": 3048000000.0,
        "cost_of_revenue": 12955000000.0,
        "dividends_paid": 595000000.0,
        "eps_diluted": -0.84,
        "free_cash_flow": 177000000.0,
        "gross_profit": 3781000000.0,
        "net_income": -250000000.0,
        "operating_cash_flow": 824000000.0,
        "operating_income": 335000000.0,
        "revenue": 16736000000.0,
        "stockholders_equity": 9551000000.0,
        "total_assets": 25662000000.0,
        "total_liabilities": 16111000000.0
      },
      "period_end": "2020-07-03",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "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.22592017208413,
        "leverage": 1.6868390744424668,
        "net_margin": -0.014937858508604206,
        "operating_margin": 0.020016730401529636,
        "revenue_growth_yoy": 0.010079063311002475,
        "roa_avg2y": -0.009609471094710947,
        "roa_period_end": -0.009742031018626763,
        "roe_avg2y": -0.025617378829798136,
        "roe_period_end": -0.02617526960527693
      }
    },
    {
      "accn": "0000106040-22-000055",
      "filed": "2022-08-25",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 563000000.0,
        "capex": 876000000.0,
        "cash": 3455000000.0,
        "cost_of_revenue": 12817000000.0,
        "dividends_paid": 584000000.0,
        "eps_diluted": -2.58,
        "free_cash_flow": 671000000.0,
        "gross_profit": 3752000000.0,
        "net_income": -754000000.0,
        "operating_cash_flow": 1547000000.0,
        "operating_income": 87000000.0,
        "revenue": 16569000000.0,
        "stockholders_equity": 9967000000.0,
        "total_assets": 26370000000.0,
        "total_liabilities": 16403000000.0
      },
      "period_end": "2019-06-28",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "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.22644697929869032,
        "leverage": 1.6457309120096317,
        "net_margin": -0.04550666908081357,
        "operating_margin": 0.005250769509324642,
        "revenue_growth_yoy": -0.1975105342180462,
        "roa_avg2y": -0.027119863321643737,
        "roa_period_end": -0.028593098217671597,
        "roe_avg2y": -0.07014606009861382,
        "roe_period_end": -0.07564964382462125
      }
    },
    {
      "accn": "0000106040-21-000040",
      "filed": "2021-08-27",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 591000000.0,
        "capex": 835000000.0,
        "cash": 5005000000.0,
        "cost_of_revenue": 12942000000.0,
        "dividends_paid": 593000000.0,
        "eps_diluted": 2.2,
        "free_cash_flow": 3370000000.0,
        "gross_profit": 7705000000.0,
        "net_income": 675000000.0,
        "operating_cash_flow": 4205000000.0,
        "operating_income": 3617000000.0,
        "revenue": 20647000000.0,
        "stockholders_equity": 11531000000.0,
        "total_assets": 29235000000.0,
        "total_liabilities": 17704000000.0
      },
      "period_end": "2018-06-29",
      "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.37317770136097256,
        "leverage": 1.5353395195559796,
        "net_margin": 0.032692400833050805,
        "operating_margin": 0.17518283527873296,
        "payout_ratio": 0.8785185185185185,
        "revenue_growth_yoy": 0.08139108573822867,
        "roa_avg2y": 0.02284457229884085,
        "roa_period_end": 0.02308876346844536,
        "roe_avg2y": 0.058826092640202186,
        "roe_period_end": 0.0585378544792299
      }
    },
    {
      "accn": "0000106040-20-000049",
      "filed": "2020-08-28",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "cost_of_revenue": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 0.0,
        "capex": 578000000.0,
        "cash": 6354000000.0,
        "cost_of_revenue": 13021000000.0,
        "dividends_paid": 574000000.0,
        "eps_diluted": 1.34,
        "free_cash_flow": 2859000000.0,
        "gross_profit": 6072000000.0,
        "net_income": 397000000.0,
        "operating_cash_flow": 3437000000.0,
        "operating_income": 1954000000.0,
        "revenue": 19093000000.0,
        "stockholders_equity": 11418000000.0,
        "total_assets": 29860000000.0,
        "total_liabilities": 18442000000.0
      },
      "period_end": "2017-06-30",
      "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.31802231184203633,
        "leverage": 1.6151690313540024,
        "net_margin": 0.02079296077096318,
        "operating_margin": 0.10234117215733515,
        "payout_ratio": 1.4458438287153652,
        "roa_avg2y": 0.012659035107298874,
        "roa_period_end": 0.013295378432685866,
        "roe_avg2y": 0.035190355892390196,
        "roe_period_end": 0.034769661937291994
      }
    },
    {
      "accn": "0000106040-19-000058",
      "filed": "2019-08-27",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD",
        "capex": "USD",
        "cash": "USD",
        "dividends_paid": "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",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "buybacks": 60000000.0,
        "capex": 584000000.0,
        "cash": 8151000000.0,
        "dividends_paid": 464000000.0,
        "eps_diluted": 1.0,
        "free_cash_flow": 1399000000.0,
        "gross_profit": 3435000000.0,
        "net_income": 242000000.0,
        "operating_cash_flow": 1983000000.0,
        "operating_income": 466000000.0,
        "stockholders_equity": 11145000000.0,
        "total_assets": 32862000000.0,
        "total_liabilities": 21717000000.0
      },
      "period_end": "2016-07-01",
      "ratio_units": {
        "leverage": "ratio",
        "payout_ratio": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.9485868102288022,
        "payout_ratio": 1.9173553719008265,
        "roa_period_end": 0.0073641287809628145,
        "roe_period_end": 0.021713772992373263
      }
    },
    {
      "accn": "0000106040-17-000027",
      "filed": "2017-08-29",
      "fiscal_year": 2015,
      "form": "10-K",
      "fundamental_units": {
        "buybacks": "USD"
      },
      "fundamentals": {
        "buybacks": 970000000.0
      },
      "period_end": "2015-07-03",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0000106040-25-000038",
    "filed": "2025-08-14",
    "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": "3572",
  "sic_description": "Computer Storage Devices",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000106040.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000106040.json"
  },
  "ticker": "WDC"
}
