| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.21.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 186 </ContextCount> |
| <ElementCount> 330 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> true </FootnotesReported> |
| <SegmentCount> 56 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 5 </UnitCount> |
| <MyReports> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0001001 - Document - Document and Entity Information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/DocumentandEntityInformation </Role> |
| | | <ShortName> Document and Entity Information </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 1001002 - Statement - Consolidated Balance Sheets (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/ConsolidatedBalanceSheetsUnaudited </Role> |
| | | <ShortName> Consolidated Balance Sheets (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 1002003 - Statement - Consolidated Balance Sheets (Unaudited) (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical </Role> |
| | | <ShortName> Consolidated Balance Sheets (Unaudited) (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 1003004 - Statement - Consolidated Statements of Income (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/ConsolidatedStatementsofIncomeUnaudited </Role> |
| | | <ShortName> Consolidated Statements of Income (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 1004005 - Statement - Consolidated Statement of Comprehensive Income (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/ConsolidatedStatementofComprehensiveIncomeUnaudited </Role> |
| | | <ShortName> Consolidated Statement of Comprehensive Income (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 1005006 - Statement - Consolidated Statements of Stockholders' Equity (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/ConsolidatedStatementsofStockholdersEquityUnaudited </Role> |
| | | <ShortName> Consolidated Statements of Stockholders' Equity (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 1006007 - Statement - Consolidated Statements of Cash Flows (Unaudited) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/ConsolidatedStatementsofCashFlowsUnaudited </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows (Unaudited) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 2101101 - Disclosure - Description of Business and Summary of Significant Accounting Policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPolicies </Role> |
| | | <ShortName> Description of Business and Summary of Significant Accounting Policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 2106102 - Disclosure - Accounts Receivable, net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/AccountsReceivablenet </Role> |
| | | <ShortName> Accounts Receivable, net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 2109103 - Disclosure - Property and Equipment, Net Property and Equipment, Net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/PropertyandEquipmentNetPropertyandEquipmentNet </Role> |
| | | <ShortName> Property and Equipment, Net Property and Equipment, Net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 2112104 - Disclosure - Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/Leases </Role> |
| | | <ShortName> Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 2117105 - Disclosure - Goodwill and Intangible Assets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/GoodwillandIntangibleAssets </Role> |
| | | <ShortName> Goodwill and Intangible Assets </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 2122106 - Disclosure - Long-Term Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LongTermDebt </Role> |
| | | <ShortName> Long-Term Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 2125107 - Disclosure - Fair Value Measures </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/FairValueMeasures </Role> |
| | | <ShortName> Fair Value Measures </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 2128108 - Disclosure - Net Income Per Share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/NetIncomePerShare </Role> |
| | | <ShortName> Net Income Per Share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 2132109 - Disclosure - Stock-based Payment Compensation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockbasedPaymentCompensation </Role> |
| | | <ShortName> Stock-based Payment Compensation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 2137110 - Disclosure - Stock Repurchases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockRepurchases </Role> |
| | | <ShortName> Stock Repurchases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 2141111 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/IncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 2143112 - Disclosure - Recent Accounting Pronouncements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/RecentAccountingPronouncements </Role> |
| | | <ShortName> Recent Accounting Pronouncements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 2144113 - Disclosure - Legal Proceedings </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LegalProceedings </Role> |
| | | <ShortName> Legal Proceedings </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 2146114 - Disclosure - Segments and Other Geographic Reporting Segment Reporting </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/SegmentsandOtherGeographicReportingSegmentReporting </Role> |
| | | <ShortName> Segments and Other Geographic Reporting Segment Reporting </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 2202201 - Disclosure - Description of Business and Summary of Significant Accounting Policies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPoliciesPolicies </Role> |
| | | <ShortName> Description of Business and Summary of Significant Accounting Policies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPolicies </ParentRole> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 2247202 - Disclosure - Segment Reporting (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/SegmentReportingPolicies </Role> |
| | | <ShortName> Segment Reporting (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPolicies </ParentRole> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 2303301 - Disclosure - Description of Business and Summary of Significant Accounting Policies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPoliciesTables </Role> |
| | | <ShortName> Description of Business and Summary of Significant Accounting Policies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPolicies </ParentRole> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 2307302 - Disclosure - Accounts Receivable (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/AccountsReceivableTables </Role> |
| | | <ShortName> Accounts Receivable (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/AccountsReceivablenet </ParentRole> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 2310303 - Disclosure - Property and Equipment, Net Property and Equipment, Net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/PropertyandEquipmentNetPropertyandEquipmentNetTables </Role> |
| | | <ShortName> Property and Equipment, Net Property and Equipment, Net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/PropertyandEquipmentNetPropertyandEquipmentNet </ParentRole> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 2313304 - Disclosure - Leases (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LeasesTables </Role> |
| | | <ShortName> Leases (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/Leases </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 2318305 - Disclosure - Goodwill and Intangible Assets (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/GoodwillandIntangibleAssetsTables </Role> |
| | | <ShortName> Goodwill and Intangible Assets (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/GoodwillandIntangibleAssets </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 2326306 - Disclosure - Fair Value Measures (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/FairValueMeasuresTables </Role> |
| | | <ShortName> Fair Value Measures (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/FairValueMeasures </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 2329307 - Disclosure - Net Income Per Share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/NetIncomePerShareTables </Role> |
| | | <ShortName> Net Income Per Share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/NetIncomePerShare </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 2333308 - Disclosure - Stock-based Payment Compensation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockbasedPaymentCompensationTables </Role> |
| | | <ShortName> Stock-based Payment Compensation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockbasedPaymentCompensation </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 2338309 - Disclosure - Stock Repurchases (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockRepurchasesTables </Role> |
| | | <ShortName> Stock Repurchases (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockRepurchases </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 2348310 - Disclosure - Segments and Other Geographic Reporting Segment Reporting (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/SegmentsandOtherGeographicReportingSegmentReportingTables </Role> |
| | | <ShortName> Segments and Other Geographic Reporting Segment Reporting (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/SegmentsandOtherGeographicReportingSegmentReporting </ParentRole> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 2404401 - Disclosure - Description of Business and Summary of Significant Accounting Policies (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPoliciesDetails </Role> |
| | | <ShortName> Description of Business and Summary of Significant Accounting Policies (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPoliciesTables </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 2405402 - Disclosure - Description of Business and Summary of Significant Accounting Policies (Details Textual) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPoliciesDetailsTextual </Role> |
| | | <ShortName> Description of Business and Summary of Significant Accounting Policies (Details Textual) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/DescriptionofBusinessandSummaryofSignificantAccountingPoliciesTables </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 2408403 - Disclosure - Accounts Receivable Accounts Receivable (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/AccountsReceivableAccountsReceivableDetails </Role> |
| | | <ShortName> Accounts Receivable Accounts Receivable (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 2411404 - Disclosure - Property and Equipment, Net Property and Equipment, Net (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/PropertyandEquipmentNetPropertyandEquipmentNetDetails </Role> |
| | | <ShortName> Property and Equipment, Net Property and Equipment, Net (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/PropertyandEquipmentNetPropertyandEquipmentNetTables </ParentRole> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 2414405 - Disclosure - Leases Lease Cost (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LeasesLeaseCostDetails </Role> |
| | | <ShortName> Leases Lease Cost (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 2415406 - Disclosure - Leases Supplemental Cash Flow Disclosures (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LeasesSupplementalCashFlowDisclosuresDetails </Role> |
| | | <ShortName> Leases Supplemental Cash Flow Disclosures (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 2416407 - Disclosure - Leases Lessor (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LeasesLessorDetails </Role> |
| | | <ShortName> Leases Lessor (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 2419408 - Disclosure - Goodwill and Intangible Assets (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/GoodwillandIntangibleAssetsDetails </Role> |
| | | <ShortName> Goodwill and Intangible Assets (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/GoodwillandIntangibleAssetsTables </ParentRole> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 2420409 - Disclosure - Goodwill and Intangible Assets (Details Textual) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/GoodwillandIntangibleAssetsDetailsTextual </Role> |
| | | <ShortName> Goodwill and Intangible Assets (Details Textual) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/GoodwillandIntangibleAssetsTables </ParentRole> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 2421410 - Disclosure - Goodwill and Intangible Assets (Details 1) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/GoodwillandIntangibleAssetsDetails1 </Role> |
| | | <ShortName> Goodwill and Intangible Assets (Details 1) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/GoodwillandIntangibleAssetsTables </ParentRole> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 2423411 - Disclosure - Long-Term Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/LongTermDebtDetails </Role> |
| | | <ShortName> Long-Term Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/LongTermDebt </ParentRole> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 2427413 - Disclosure - Fair Value Measures (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/FairValueMeasuresDetails </Role> |
| | | <ShortName> Fair Value Measures (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/FairValueMeasuresTables </ParentRole> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 2430414 - Disclosure - Net Income Per Share (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/NetIncomePerShareDetails </Role> |
| | | <ShortName> Net Income Per Share (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/NetIncomePerShareTables </ParentRole> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 2431415 - Disclosure - Net Income Per Share (Details Textual) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/NetIncomePerShareDetailsTextual </Role> |
| | | <ShortName> Net Income Per Share (Details Textual) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/NetIncomePerShareTables </ParentRole> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 2434416 - Disclosure - Stock-based Payment Compensation (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockbasedPaymentCompensationDetails </Role> |
| | | <ShortName> Stock-based Payment Compensation (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockbasedPaymentCompensationTables </ParentRole> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 2435417 - Disclosure - Stock-based Payment Compensation (Details 1) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockbasedPaymentCompensationDetails1 </Role> |
| | | <ShortName> Stock-based Payment Compensation (Details 1) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockbasedPaymentCompensationTables </ParentRole> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 2436418 - Disclosure - Stock-based Payment Compensation (Details Textual) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockbasedPaymentCompensationDetailsTextual </Role> |
| | | <ShortName> Stock-based Payment Compensation (Details Textual) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockbasedPaymentCompensationTables </ParentRole> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 2439419 - Disclosure - Stock Repurchases (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockRepurchasesDetails </Role> |
| | | <ShortName> Stock Repurchases (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockRepurchasesTables </ParentRole> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 2440420 - Disclosure - Stock Repurchases (Details Textual) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/StockRepurchasesDetailsTextual </Role> |
| | | <ShortName> Stock Repurchases (Details Textual) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/StockRepurchasesTables </ParentRole> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 2442421 - Disclosure - Income Taxes (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/IncomeTaxesDetails </Role> |
| | | <ShortName> Income Taxes (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/IncomeTaxes </ParentRole> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="cprt-20210430.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 2449423 - Disclosure - Segments and Other Geographic Reporting Segment Reporting (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.copart.com/role/SegmentsandOtherGeographicReportingSegmentReportingDetails </Role> |
| | | <ShortName> Segments and Other Geographic Reporting Segment Reporting (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.copart.com/role/SegmentsandOtherGeographicReportingSegmentReportingTables </ParentRole> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-Q" original="cprt-20210430.htm"> cprt-20210430.htm </File> |
| | <File> cprt-20210430.xsd </File> |
| | <File> cprt-20210430_cal.xml </File> |
| | <File> cprt-20210430_def.xml </File> |
| | <File> cprt-20210430_lab.xml </File> |
| | <File> cprt-20210430_pre.xml </File> |
| | <File> cprt04302021-ex311.htm </File> |
| | <File> cprt04302021-ex312.htm </File> |
| | <File> cprt04302021-ex321.htm </File> |
| | <File> cprt04302021-ex322.htm </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy> http://xbrl.sec.gov/dei/2021 </BaseTaxonomy> |
| | <BaseTaxonomy> http://xbrl.sec.gov/country/2021 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/srt/2021-01-31 </BaseTaxonomy> |
| | <BaseTaxonomy> http://fasb.org/us-gaap/2021-01-31 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |