{
  "cik": 789019,
  "cik_padded": "0000789019",
  "entityName": "MICROSOFT CORP",
  "fiscal_years": [
    {
      "accn": "0000950170-25-100235",
      "filed": "2025-07-30",
      "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": 18420000000.0,
        "capex": 64551000000.0,
        "cash": 30242000000.0,
        "cost_of_revenue": 87831000000.0,
        "dividends_paid": 24082000000.0,
        "eps_diluted": 13.64,
        "free_cash_flow": 71611000000.0,
        "gross_profit": 193893000000.0,
        "net_income": 101832000000.0,
        "operating_cash_flow": 136162000000.0,
        "operating_income": 128528000000.0,
        "revenue": 281724000000.0,
        "stockholders_equity": 343479000000.0,
        "total_assets": 619003000000.0,
        "total_liabilities": 275524000000.0
      },
      "period_end": "2025-06-30",
      "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.6882374238616519,
        "leverage": 0.8021567548525529,
        "net_margin": 0.3614601524896707,
        "operating_margin": 0.4562195624085985,
        "payout_ratio": 0.23648754811846964,
        "revenue_growth_yoy": 0.1493215623240672,
        "roa_avg2y": 0.18004784443662558,
        "roa_period_end": 0.16450970350709124,
        "roe_avg2y": 0.3328082411153743,
        "roe_period_end": 0.2964722734140952
      }
    },
    {
      "accn": "0000950170-25-100235",
      "filed": "2025-07-30",
      "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": 17254000000.0,
        "capex": 44477000000.0,
        "cash": 18315000000.0,
        "cost_of_revenue": 74114000000.0,
        "dividends_paid": 21771000000.0,
        "eps_diluted": 11.8,
        "free_cash_flow": 74071000000.0,
        "gross_profit": 171008000000.0,
        "net_income": 88136000000.0,
        "operating_cash_flow": 118548000000.0,
        "operating_income": 109433000000.0,
        "revenue": 245122000000.0,
        "stockholders_equity": 268477000000.0,
        "total_assets": 512163000000.0,
        "total_liabilities": 243686000000.0
      },
      "period_end": "2024-06-30",
      "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.6976444382797138,
        "leverage": 0.9076606189729474,
        "net_margin": 0.35955972944084985,
        "operating_margin": 0.44644299573273716,
        "payout_ratio": 0.24701597531088318,
        "revenue_growth_yoy": 0.15669962013071279,
        "roa_avg2y": 0.19074186891798744,
        "roa_period_end": 0.17208583985957596,
        "roe_avg2y": 0.3713334737729092,
        "roe_period_end": 0.32828137978299815
      }
    },
    {
      "accn": "0000950170-25-100235",
      "filed": "2025-07-30",
      "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": 22245000000.0,
        "capex": 28107000000.0,
        "cash": 34704000000.0,
        "cost_of_revenue": 65863000000.0,
        "dividends_paid": 19800000000.0,
        "eps_diluted": 9.68,
        "free_cash_flow": 59475000000.0,
        "gross_profit": 146052000000.0,
        "net_income": 72361000000.0,
        "operating_cash_flow": 87582000000.0,
        "operating_income": 88523000000.0,
        "revenue": 211915000000.0,
        "stockholders_equity": 206223000000.0,
        "total_assets": 411976000000.0,
        "total_liabilities": 205753000000.0
      },
      "period_end": "2023-06-30",
      "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.6892008588349102,
        "leverage": 0.9977209137681055,
        "net_margin": 0.3414623787839464,
        "operating_margin": 0.417728806361041,
        "payout_ratio": 0.2736280593137187,
        "revenue_growth_yoy": 0.06882029555656428,
        "roa_avg2y": 0.1863015179913905,
        "roa_period_end": 0.175643726819038,
        "roe_avg2y": 0.38823923919895914,
        "roe_period_end": 0.35088714643856406
      }
    },
    {
      "accn": "0000950170-24-087843",
      "filed": "2024-07-30",
      "fiscal_year": 2022,
      "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": 32696000000.0,
        "capex": 23886000000.0,
        "cash": 13931000000.0,
        "cost_of_revenue": 62650000000.0,
        "dividends_paid": 18135000000.0,
        "eps_diluted": 9.65,
        "free_cash_flow": 65149000000.0,
        "gross_profit": 135620000000.0,
        "net_income": 72738000000.0,
        "operating_cash_flow": 89035000000.0,
        "operating_income": 83383000000.0,
        "revenue": 198270000000.0,
        "stockholders_equity": 166542000000.0,
        "total_assets": 364840000000.0,
        "total_liabilities": 198298000000.0
      },
      "period_end": "2022-06-30",
      "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.684016744842891,
        "leverage": 1.1906786276134549,
        "net_margin": 0.3668633681343622,
        "operating_margin": 0.4205527815604983,
        "payout_ratio": 0.24931947537738183,
        "revenue_growth_yoy": 0.17956070629670173,
        "roa_avg2y": 0.2082336724308958,
        "roa_period_end": 0.19936958666812848,
        "roe_avg2y": 0.47151330502706384,
        "roe_period_end": 0.4367546925099975
      }
    },
    {
      "accn": "0001564590-22-026876",
      "filed": "2023-07-27",
      "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": 27385000000.0,
        "capex": 20622000000.0,
        "cash": 14224000000.0,
        "cost_of_revenue": 52232000000.0,
        "dividends_paid": 16521000000.0,
        "eps_diluted": 8.05,
        "free_cash_flow": 56118000000.0,
        "gross_profit": 115856000000.0,
        "net_income": 61271000000.0,
        "operating_cash_flow": 76740000000.0,
        "operating_income": 69916000000.0,
        "revenue": 168088000000.0,
        "stockholders_equity": 141988000000.0,
        "total_assets": 333779000000.0,
        "total_liabilities": 191791000000.0
      },
      "period_end": "2021-06-30",
      "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.689258007710247,
        "leverage": 1.3507549933797223,
        "net_margin": 0.36451739564989766,
        "operating_margin": 0.415948788729713,
        "payout_ratio": 0.269638164874084,
        "revenue_growth_yoy": 0.175317274411775,
        "roa_avg2y": 0.1929521800059834,
        "roa_period_end": 0.18356757015869782,
        "roe_avg2y": 0.47078665498747563,
        "roe_period_end": 0.4315223821731414
      }
    },
    {
      "accn": "0001564590-22-026876",
      "filed": "2022-07-28",
      "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": 22968000000.0,
        "capex": 15441000000.0,
        "cash": 13576000000.0,
        "cost_of_revenue": 46078000000.0,
        "dividends_paid": 15137000000.0,
        "eps_diluted": 5.76,
        "free_cash_flow": 45234000000.0,
        "gross_profit": 96937000000.0,
        "net_income": 44281000000.0,
        "operating_cash_flow": 60675000000.0,
        "operating_income": 52959000000.0,
        "revenue": 143015000000.0,
        "stockholders_equity": 118304000000.0,
        "total_assets": 301311000000.0,
        "total_liabilities": 183007000000.0
      },
      "period_end": "2020-06-30",
      "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.6778100199279796,
        "leverage": 1.5469214903976196,
        "net_margin": 0.3096248645247002,
        "operating_margin": 0.37030381428521486,
        "payout_ratio": 0.34183961518484224,
        "revenue_growth_yoy": 0.13645574247276368,
        "roa_avg2y": 0.15064972179081323,
        "roa_period_end": 0.14696111326835065,
        "roe_avg2y": 0.40139779000516695,
        "roe_period_end": 0.37429841763592103
      }
    },
    {
      "accn": "0001564590-21-039151",
      "filed": "2021-07-29",
      "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": 19543000000.0,
        "capex": 13925000000.0,
        "cash": 11356000000.0,
        "cost_of_revenue": 42910000000.0,
        "dividends_paid": 13811000000.0,
        "eps_diluted": 5.06,
        "free_cash_flow": 38260000000.0,
        "gross_profit": 82933000000.0,
        "net_income": 39240000000.0,
        "operating_cash_flow": 52185000000.0,
        "operating_income": 42959000000.0,
        "revenue": 125843000000.0,
        "stockholders_equity": 102330000000.0,
        "total_assets": 286556000000.0,
        "total_liabilities": 184226000000.0
      },
      "period_end": "2019-06-30",
      "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.6590195720063889,
        "leverage": 1.8003127137691781,
        "net_margin": 0.3118171054409065,
        "operating_margin": 0.3413698020549415,
        "payout_ratio": 0.35196228338430174,
        "revenue_growth_yoy": 0.1402953968829286,
        "roa_avg2y": 0.14389333411562805,
        "roa_period_end": 0.13693658482111698,
        "roe_avg2y": 0.42410617785655613,
        "roe_period_end": 0.3834652594547054
      }
    },
    {
      "accn": "0001564590-20-034944",
      "filed": "2020-07-30",
      "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": 10721000000.0,
        "capex": 11632000000.0,
        "cash": 11946000000.0,
        "cost_of_revenue": 38353000000.0,
        "dividends_paid": 12699000000.0,
        "eps_diluted": 2.13,
        "free_cash_flow": 32252000000.0,
        "gross_profit": 72007000000.0,
        "net_income": 16571000000.0,
        "operating_cash_flow": 43884000000.0,
        "operating_income": 35058000000.0,
        "revenue": 110360000000.0,
        "stockholders_equity": 82718000000.0,
        "total_assets": 258848000000.0,
        "total_liabilities": 176130000000.0
      },
      "period_end": "2018-06-30",
      "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.652473722363175,
        "leverage": 2.1292826228874007,
        "net_margin": 0.1501540413193186,
        "operating_margin": 0.3176694454512505,
        "payout_ratio": 0.7663387846237403,
        "revenue_growth_yoy": 0.14278613662486667,
        "roa_avg2y": 0.06509152329326734,
        "roa_period_end": 0.06401826554580294,
        "roe_avg2y": 0.19446221006988249,
        "roe_period_end": 0.20033124591987236
      }
    },
    {
      "accn": "0001564590-19-027952",
      "filed": "2019-08-01",
      "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": 11788000000.0,
        "capex": 8129000000.0,
        "cash": 7663000000.0,
        "cost_of_revenue": 34261000000.0,
        "dividends_paid": 11845000000.0,
        "eps_diluted": 3.25,
        "free_cash_flow": 31378000000.0,
        "gross_profit": 62310000000.0,
        "net_income": 25489000000.0,
        "operating_cash_flow": 39507000000.0,
        "operating_income": 29025000000.0,
        "revenue": 96571000000.0,
        "stockholders_equity": 87711000000.0,
        "total_assets": 250312000000.0,
        "total_liabilities": 162601000000.0
      },
      "period_end": "2017-06-30",
      "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.6452247569146017,
        "leverage": 1.8538267720126325,
        "net_margin": 0.26394052044609667,
        "operating_margin": 0.3005560675565128,
        "payout_ratio": 0.4647102671740751,
        "revenue_growth_yoy": 0.059426903920837264,
        "roa_avg2y": 0.11487223398981478,
        "roa_period_end": 0.10182891751094635,
        "roe_avg2y": 0.29846429470553454,
        "roe_period_end": 0.2906020909578046
      }
    },
    {
      "accn": "0001564590-19-027952",
      "filed": "2019-08-01",
      "fiscal_year": 2016,
      "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": 15969000000.0,
        "capex": 8343000000.0,
        "cash": 6510000000.0,
        "cost_of_revenue": 32780000000.0,
        "dividends_paid": 11006000000.0,
        "eps_diluted": 2.56,
        "free_cash_flow": 24982000000.0,
        "gross_profit": 58374000000.0,
        "net_income": 20539000000.0,
        "operating_cash_flow": 33325000000.0,
        "operating_income": 26078000000.0,
        "revenue": 91154000000.0,
        "stockholders_equity": 83090000000.0,
        "total_assets": 193468000000.0,
        "total_liabilities": 121471000000.0
      },
      "period_end": "2016-06-30",
      "ratio_units": {
        "gross_margin": "ratio",
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "payout_ratio": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "gross_margin": 0.6403887925927552,
        "leverage": 1.4619208087615838,
        "net_margin": 0.22532198257893235,
        "operating_margin": 0.28608728086534874,
        "payout_ratio": 0.5358586104484152,
        "roa_period_end": 0.10616225939173402,
        "roe_period_end": 0.24718979419906126
      }
    }
  ],
  "latest_filing": {
    "accn": "0000950170-25-100235",
    "filed": "2025-07-30",
    "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": "7372",
  "sic_description": "Services-Prepackaged Software",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000789019.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000789019.json"
  },
  "ticker": "MSFT"
}
