{
  "cik": 900075,
  "cik_padded": "0000900075",
  "entityName": "COPART INC",
  "fiscal_years": [
    {
      "accn": "0001628280-25-042946",
      "filed": "2025-09-26",
      "fiscal_year": 2025,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 568990000.0,
        "eps_diluted": 1.59,
        "free_cash_flow": 1230760000.0,
        "net_income": 1552449000.0,
        "operating_cash_flow": 1799750000.0,
        "operating_income": 1696714000.0,
        "revenue": 4646958000.0,
        "stockholders_equity": 9187033000.0,
        "total_assets": 10090902000.0,
        "total_liabilities": 883411000.0
      },
      "period_end": "2025-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.09615846595957585,
        "net_margin": 0.3340785520333947,
        "operating_margin": 0.3651235926814918,
        "revenue_growth_yoy": 0.09680248620251543,
        "roa_avg2y": 0.1676631567306198,
        "roa_period_end": 0.15384640540558217,
        "roe_avg2y": 0.18579916371472663,
        "roe_period_end": 0.16898263019192378
      }
    },
    {
      "accn": "0001628280-25-042946",
      "filed": "2025-09-26",
      "fiscal_year": 2024,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 510990000.0,
        "eps_diluted": 1.4,
        "free_cash_flow": 961574000.0,
        "net_income": 1363020000.0,
        "operating_cash_flow": 1472564000.0,
        "operating_income": 1572023000.0,
        "revenue": 4236823000.0,
        "stockholders_equity": 7524011000.0,
        "total_assets": 8427764000.0,
        "total_liabilities": 879209000.0
      },
      "period_end": "2024-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.11685376323878315,
        "net_margin": 0.3217080345343669,
        "operating_margin": 0.37103815760063613,
        "revenue_growth_yoy": 0.09492267512387847,
        "roa_avg2y": 0.17975103330600622,
        "roa_period_end": 0.16172973044807615,
        "roe_avg2y": 0.20175775347888247,
        "roe_period_end": 0.181156034992506
      }
    },
    {
      "accn": "0001628280-25-042946",
      "filed": "2025-09-26",
      "fiscal_year": 2023,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 516636000.0,
        "eps_diluted": 1.28,
        "free_cash_flow": 847574000.0,
        "net_income": 1237741000.0,
        "operating_cash_flow": 1364210000.0,
        "operating_income": 1486569000.0,
        "revenue": 3869518000.0,
        "stockholders_equity": 5987440000.0,
        "total_assets": 6737879000.0,
        "total_liabilities": 750439000.0
      },
      "period_end": "2023-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.12533553572144354,
        "net_margin": 0.31986955481276996,
        "operating_margin": 0.38417420464254204,
        "revenue_growth_yoy": 0.10528572338536059,
        "roa_avg2y": 0.20548973278503577,
        "roa_period_end": 0.18369890584262497,
        "roe_avg2y": 0.23324911931445838,
        "roe_period_end": 0.20672290661785336
      }
    },
    {
      "accn": "0000900075-24-000024",
      "filed": "2024-09-30",
      "fiscal_year": 2022,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 337448000.0,
        "eps_diluted": 1.13,
        "free_cash_flow": 839235000.0,
        "net_income": 1090130000.0,
        "operating_cash_flow": 1176683000.0,
        "operating_income": 1374997000.0,
        "revenue": 3500921000.0,
        "stockholders_equity": 4625599000.0,
        "total_assets": 5308864000.0,
        "total_liabilities": 683265000.0
      },
      "period_end": "2022-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.14771384203429652,
        "net_margin": 0.31138377586926413,
        "operating_margin": 0.39275293558466473,
        "revenue_growth_yoy": 0.3002438987250191,
        "roa_avg2y": 0.22087513462405609,
        "roa_period_end": 0.20534148171812278,
        "roe_avg2y": 0.2673591013881395,
        "roe_period_end": 0.23567326091172192
      }
    },
    {
      "accn": "0000900075-23-000034",
      "filed": "2023-09-28",
      "fiscal_year": 2021,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 462996000.0,
        "eps_diluted": 0.97,
        "free_cash_flow": 527895000.0,
        "net_income": 936495000.0,
        "operating_cash_flow": 990891000.0,
        "operating_income": 1136426000.0,
        "revenue": 2692511000.0,
        "stockholders_equity": 3529201000.0,
        "total_assets": 4562143000.0,
        "total_liabilities": 1032942000.0
      },
      "period_end": "2021-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.2926843781354477,
        "net_margin": 0.3478147350187242,
        "operating_margin": 0.42206921345910936,
        "revenue_growth_yoy": 0.22077065338280175,
        "roa_avg2y": 0.2336155194374638,
        "roa_period_end": 0.2052752401667374,
        "roe_avg2y": 0.31119422960076043,
        "roe_period_end": 0.26535609618154365
      }
    },
    {
      "accn": "0000900075-22-000050",
      "filed": "2022-09-27",
      "fiscal_year": 2020,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 591972000.0,
        "eps_diluted": 2.93,
        "free_cash_flow": 325913000.0,
        "net_income": 699907000.0,
        "operating_cash_flow": 917885000.0,
        "operating_income": 816099000.0,
        "revenue": 2205583000.0,
        "stockholders_equity": 2489516000.0,
        "total_assets": 3455261000.0,
        "total_liabilities": 965745000.0
      },
      "period_end": "2020-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.3879248014473496,
        "net_margin": 0.3173342377049515,
        "operating_margin": 0.37001509351495726,
        "revenue_growth_yoy": 0.08013195184815351,
        "roa_avg2y": 0.23319047963326925,
        "roa_period_end": 0.20256270076269203,
        "roe_avg2y": 0.3279868281732197,
        "roe_period_end": 0.2811417962366982
      }
    },
    {
      "accn": "0000900075-21-000022",
      "filed": "2021-09-27",
      "fiscal_year": 2019,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 373883000.0,
        "eps_diluted": 2.46,
        "free_cash_flow": 272763000.0,
        "net_income": 591693000.0,
        "operating_cash_flow": 646646000.0,
        "operating_income": 716475000.0,
        "revenue": 2041957000.0,
        "stockholders_equity": 1778381000.0,
        "total_assets": 2547617000.0,
        "total_liabilities": 769236000.0
      },
      "period_end": "2019-07-31",
      "ratio_units": {
        "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": {
        "leverage": 0.4325484808935768,
        "net_margin": 0.2897676101896367,
        "operating_margin": 0.35087663452266626,
        "revenue_growth_yoy": 0.13084269491802325,
        "roa_avg2y": 0.24373001545728754,
        "roa_period_end": 0.2322535137738522,
        "roe_avg2y": 0.6741299980004865,
        "roe_period_end": 0.3327144183389274
      }
    },
    {
      "accn": "0000900075-21-000022",
      "filed": "2021-09-27",
      "fiscal_year": 2018,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 287910000.0,
        "eps_diluted": 1.73,
        "free_cash_flow": 247159000.0,
        "net_income": 417867000.0,
        "operating_cash_flow": 535069000.0,
        "operating_income": 584345000.0,
        "revenue": 1805695000.0,
        "stockholders_equity": -22954000.0,
        "total_assets": 2307698000.0,
        "total_liabilities": 726599000.0
      },
      "period_end": "2018-08-01",
      "ratio_units": {
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "revenue_growth_yoy": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio"
      },
      "ratios": {
        "net_margin": 0.23141615832131118,
        "operating_margin": 0.3236122379471616,
        "revenue_growth_yoy": 0.24704329683883974,
        "roa_avg2y": 0.1948007539976584,
        "roa_period_end": 0.1810752533477084,
        "roe_avg2y": 0.7769600779438589
      }
    },
    {
      "accn": "0000900075-20-000021",
      "filed": "2020-09-28",
      "fiscal_year": 2017,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "free_cash_flow": "USD",
        "net_income": "USD",
        "operating_cash_flow": "USD",
        "operating_income": "USD",
        "revenue": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 172178000.0,
        "eps_diluted": 1.66,
        "free_cash_flow": 319880000.0,
        "net_income": 394227000.0,
        "operating_cash_flow": 492058000.0,
        "operating_income": 461299000.0,
        "revenue": 1447981000.0,
        "stockholders_equity": 1098600000.0,
        "total_assets": 1982501000.0,
        "total_liabilities": 883901000.0
      },
      "period_end": "2017-07-31",
      "ratio_units": {
        "leverage": "ratio",
        "net_margin": "ratio",
        "operating_margin": "ratio",
        "roa_avg2y": "ratio",
        "roa_period_end": "ratio",
        "roe_avg2y": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 0.8045703622792645,
        "net_margin": 0.2722597879392064,
        "operating_margin": 0.3185808377319868,
        "roa_avg2y": 0.2170661678854925,
        "roa_period_end": 0.19885336753928498,
        "roe_avg2y": 0.42094523602070627,
        "roe_period_end": 0.3588448935008192
      }
    },
    {
      "accn": "0000900075-19-000022",
      "filed": "2019-09-30",
      "fiscal_year": 2016,
      "form": "10-K",
      "fundamental_units": {
        "capex": "USD",
        "eps_diluted": "USD/shares",
        "net_income": "USD",
        "operating_income": "USD",
        "stockholders_equity": "USD",
        "total_assets": "USD",
        "total_liabilities": "USD"
      },
      "fundamentals": {
        "capex": 173917000.0,
        "eps_diluted": 1.11,
        "net_income": 270360000.0,
        "operating_income": 406470000.0,
        "stockholders_equity": 774456000.0,
        "total_assets": 1649820000.0,
        "total_liabilities": 875364000.0
      },
      "period_end": "2016-07-31",
      "ratio_units": {
        "leverage": "ratio",
        "roa_period_end": "ratio",
        "roe_period_end": "ratio"
      },
      "ratios": {
        "leverage": 1.1302953298831695,
        "roa_period_end": 0.16387242244608502,
        "roe_period_end": 0.3490966562335368
      }
    },
    {
      "accn": "0001145443-11-001073",
      "filed": "2011-10-28",
      "fiscal_year": 2011,
      "form": "10-K",
      "fundamental_units": {
        "operating_cash_flow": "USD"
      },
      "fundamentals": {
        "operating_cash_flow": 242932000.0
      },
      "period_end": "2011-07-31",
      "ratios": {}
    }
  ],
  "latest_filing": {
    "accn": "0001628280-25-042946",
    "filed": "2025-09-26",
    "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": "5500",
  "sic_description": "Retail-Auto Dealers & Gasoline Stations",
  "source_urls": {
    "sec_companyfacts": "https://data.sec.gov/api/xbrl/companyfacts/CIK0000900075.json",
    "sec_submissions": "https://data.sec.gov/submissions/CIK0000900075.json"
  },
  "ticker": "CPRT"
}
