XML 84 R69.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Stockholder's Equity - Narrative (Details) - USD ($) |  | 1 Months Ended | 12 Months Ended | 118 Months Ended |
--- | --- | --- | --- | --- | ---
Jul. 31, 2022 | Oct. 31, 2013 | Dec. 31, 2007 | Jul. 31, 2022 | Jul. 31, 2021 | Jul. 31, 2020 | Jul. 31, 2021 | Sep. 22, 2011
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |
Payments for employee stock-based tax withholdings |  |  |  | $ 1,925,000 | $ 6,145,000 | $ 103,451,000 |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Common stock, shares authorized (in shares) | 400,000,000 |  |  | 400,000,000 | 400,000,000 |  | 400,000,000 |
Common stock par value (in dollars per share) | $ 0.0001 |  |  | $ 0.0001 | $ 0.0001 |  | $ 0.0001 |
Common stock, shares issued (in shares) | 238,040,974 |  |  | 238,040,974 | 237,014,273 |  | 237,014,273 |
Common stock, shares outstanding (in shares) | 238,040,974 |  |  | 238,040,974 | 237,014,273 |  | 237,014,273 |
Common stock, reserved for issuance of stock options (in shares) | 14,378,120 |  |  | 14,378,120 | 15,326,030 |  | 15,326,030 |
Preferred stock, shares authorized (in shares) | 5,000,000 |  |  | 5,000,000 | 5,000,000 |  | 5,000,000 |
Preferred stock par value (in dollars per share) | $ 0.0001 |  |  | $ 0.0001 | $ 0.0001 |  | $ 0.0001 |
Preferred stock, shares outstanding (in shares) | 0 |  |  | 0 | 0 |  | 0 |
Preferred stock, shares issued (in shares) | 0 |  |  | 0 | 0 |  | 0 |
Number of options that were in-the-money |  |  |  | 7,005,578 |  |  |  |
Total compensation expense to be recognized per grant | $ 45,900,000 |  |  | $ 45,900,000 |  |  |  |
Total stock-based compensation |  |  |  | 38,965,000 | $ 40,922,000 | 23,322,000 |  |
Aggregate intrinsic value of options exercised |  |  |  | 30,500,000 | 143,300,000 | 476,300,000 |  |
Unrecognized total compensation cost related to non-vested stock-based awards | $ 68,100,000 |  |  | $ 68,100,000 |  |  |  |
Amortized cost on a straight-line basis over a weighted average term |  |  |  | 3 years 29 days |  |  |  |
Fair value of options vested |  |  |  | $ 29,000,000 | 19,000,000 | 19,200,000 |  |
Stock price increase threshold |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Percentage of trading price compared to exercise price |  |  |  | 125.00% |  |  |  |
Chief Executive Officer |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Award vesting rights percentage |  |  |  | 20.00% |  |  |  |
Total stock-based compensation |  |  |  | $ 9,800,000 | $ 13,100,000 | $ 1,600,000 |  |
Employee Stock Purchase Plan |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Common stock, reserved for issuance of stock options (in shares) | 1,100,458 |  |  | 1,100,458 | 1,194,213 |  | 1,194,213 |
Common stock authorized to purchase (in shares) | 10,000,000 |  |  | 10,000,000 |  |  |  |
Discount from market price |  |  |  | 15.00% |  |  |  |
Offering period |  |  |  | 6 months |  |  |  |
Maximum percentage of salary withheld for employee contribution |  |  |  | up to 10% |  |  |  |
Maximum annual contributions per employee, percent |  |  |  |  | 10.00% |  |  |
Compensation contribution limit (as a percentage) |  |  |  | may not exceed 15 |  |  |  |
Maximum annual contributions per employee, conditional percent |  |  |  |  | 15.00% |  |  |
Share-based compensation arrangement by share-based payment award, maximum employee contribution permitted value | $ 25,000 |  |  | $ 25,000 |  |  |  |
Number of shares of common stock issued pursuant to the ESPP | 8,979,616 |  |  | 93,755 | 109,379 | 123,106 |  |
Shares were available for future grant under the Plan (in shares) | 1,100,458 |  |  | 1,100,458 |  |  |  |
Equity Incentive 2007 Plan |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Common stock authorized to purchase (in shares) | 36,000,000 |  |  | 36,000,000 |  |  |  |
Shares were available for future grant under the Plan (in shares) | 6,388,684 |  |  | 6,388,684 |  |  |  |
Maximum vesting term for incentive and non-qualified stock options determined by board of directors |  |  | 10 years |  |  |  |  |
Share-based compensation arrangement by share-based payment award, award requisite service period |  |  | 5 years |  |  |  |  |
October Grants |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Deferred compensation arrangement with individual - requisite service period |  | 5 years |  |  |  |  |  |
Stock Options |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Share-based compensation arrangement by share-based payment award, award requisite service period |  |  |  | 5 years |  |  |  |
Risk-free interest rate, minimum |  |  |  | 0.82% | 0.42% | 0.29% |  |
Risk-free interest rate, maximum |  |  |  | 2.70% | 1.23% | 1.67% |  |
Estimated volatility, minimum |  |  |  | 27.90% | 26.30% | 21.70% |  |
Estimated volatility, maximum |  |  |  | 30.00% | 28.70% | 27.60% |  |
Stock Options | Valuation Technique, Option Pricing Model |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Risk-free interest rate, minimum |  |  |  | 0.71% |  |  |  |
Risk-free interest rate, maximum |  |  |  | 2.38% |  |  |  |
Estimated volatility, minimum |  |  |  | 25.20% |  |  |  |
Estimated volatility, maximum |  |  |  | 25.70% |  |  |  |
Restricted Stock | Minimum |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Award vesting period |  |  |  | 2 years |  |  |  |
Restricted Stock | Maximum |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Award vesting period |  |  |  | 5 years |  |  |  |
Stock Repurchase Program 2011 |  |  |  |  |  |  |  |
Stockholders' Equity, Number of Shares, Par Value and Other Disclosures [Abstract] |  |  |  |  |  |  |  |
Additional common stock authorized for repurchase (in shares) |  |  |  |  |  |  |  | 80,000,000
Common stock authorized for repurchase (in shares) |  |  |  |  |  |  |  | 196,000,000
Number of shares repurchased (in shares) |  |  |  |  |  |  | 114,549,198 |
Number of shares available for repurchase (in shares) | 81,450,802 |  |  | 81,450,802 |  |  |  |
Settlement with Taxing Authority |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |
Payments for employee stock-based tax withholdings |  |  |  | $ 0 | $ 3,800,000 | $ 101,300,000 |  |

X
- Definition Represents limit of percentage of compensation contribution with respect to increase in amount. + References No definition available. + Details
Name: | cprt_CompensationContributionLimitInPercentage
Namespace Prefix: | cprt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Employee Stock Purchase Plan, Maximum Annual Contributions Per Employee, Conditional Percent + References No definition available. + Details
Name: | cprt_EmployeeStockPurchasePlanMaximumAnnualContributionsPerEmployeeConditionalPercent
Namespace Prefix: | cprt_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition An entity may opt to disclose the highest amount maximum employee contribution permitted to utilize with respect to the plan. + References No definition available. + Details
Name: | cprt_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeContributionPermittedValue
Namespace Prefix: | cprt_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Represents percentage of salary employee to make contributions to purchase shares of common stock under employee stock purchase plan. + References No definition available. + Details
Name: | cprt_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumPercentageOfSalaryWithheldForEmployeeContribution
Namespace Prefix: | cprt_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-Based Compensation Arrangement by Share-Based Payment Award, Percentage of Trading Price Compared to Exercise Price + References No definition available. + Details
Name: | cprt_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfTradingPriceComparedToExercisePrice
Namespace Prefix: | cprt_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the maximum vesting term for incentive and non-qualified stock options determined by board of directors. + References No definition available. + Details
Name: | cprt_ShareBasedCompensationArrangementMaximumVestingTermDeterminedByDirectors
Namespace Prefix: | cprt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Term + References No definition available. + Details
Name: | cprt_SharebasedCompensationArrangementbySharebasedPaymentAwardTerm
Namespace Prefix: | cprt_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number additional shares approved under company's stock repurchase program by the entity's board of directors. + References No definition available. + Details
Name: | cprt_StockRepurchaseProgramAdditionalNumberOfSharesAuthorizedApproved
Namespace Prefix: | cprt_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Aggregate number of common shares reserved for future issuance. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.29) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockCapitalSharesReservedForFutureIssuance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face amount or stated value per share of common stock. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of common shares permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommonStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The carrying amount of the liability as of the balance sheet date to an individual under a deferred compensation arrangement. This amount may be the result of periodic accruals made over the period of active employment, or reflect termination benefits resulting contractual terms or a death benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 30 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6409875&loc=d3e20015-108363 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum period the individual is required to perform services to be fully vested under the deferred compensation arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 710 -SubTopic 10 -Section 55 -Paragraph 7 -URI https://asc.fasb.org/extlink&oid=6409961&loc=d3e20487-108367 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum percentage of employee gross pay the employee may contribute to a defined contribution plan. + References No definition available. + Details
Name: | us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of contingently issuable shares. Contingently issuable shares are those shares that are issuable for little or no cash contingent on certain conditions being met. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 54 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2603-109256 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 44 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2062-109256 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 26 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e1828-109256 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 53 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2600-109256 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 52 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2597-109256 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 48 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2538-109256 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 48 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2538-109256 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 23 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e1757-109256 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 51 -URI https://asc.fasb.org/extlink&oid=126958026&loc=d3e2574-109256 + Details
Name: | us-gaap_IncrementalCommonSharesAttributableToContingentlyIssuableShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644 + Details
Name: | us-gaap_PreferredStockParOrStatedValuePerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders. Does not include preferred shares that have been repurchased. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_PreferredStockSharesOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Discount rate from fair value on purchase date that participants pay for shares. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPricePurchaseDate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated measure of the maximum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The estimated measure of the minimum percentage by which a share price is expected to fluctuate during a period. Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean. The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period. That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The maximum risk-free interest rate assumption that is used in valuing an option on its own shares. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum risk-free interest rate assumption that is used in valuing an option on its own shares. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage of vesting of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Weighted average remaining contractual term for fully vested and expected to vest exercisable or convertible options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (e)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of an employee stock purchase plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The remaining number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares that have been repurchased and retired during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 + Details
Name: | us-gaap_StockRepurchasedAndRetiredDuringPeriodShares
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_StockholdersEquityNumberOfSharesParValueAndOtherDisclosuresAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_VestingAxis=cprt_StockPriceIncreaseThresholdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=srt_ChiefExecutiveOfficerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=cprt_EquityIncentive2007PlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=cprt_OctoberGrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationTechniqueAxis=us-gaap_ValuationTechniqueOptionPricingModelMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=cprt_StockRepurchaseProgram2011Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeTaxAuthorityAxis=us-gaap_SettlementWithTaxingAuthorityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |