<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000773485="http://troweprice.com/20210531"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2018-01-31"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="c497-20210628.xsd" xlink:type="simple"/>
    <context id="Context">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000773485</identifier>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="Context_S000002096Member_S000002096SummaryMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000773485</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000773485:S000002096Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <rr:SupplementToProspectusTextBlock contextRef="Context_S000002096Member_S000002096SummaryMember">&lt;div style="border-bottom:1pt; border-bottom-color:#000000; border-bottom-style:solid; padding: 0pt 0pt 1pt 0pt;"&gt;&lt;div style="font-family:Sans-Serif; font-size:9.0pt; font-style:normal; font-weight:bold; text-align:left;"&gt;Supplement to Prospectus and Summary Prospectus,
dated May 1, 2021, and Statement of Additional Information (&#x201c;SAI&#x201d;), dated May 24, 2021, as supplemented&lt;/div&gt;&lt;/div&gt;&lt;p style="font-family:Serif; font-size:9.0pt; font-style:normal; font-weight:normal; text-align:left;"&gt;On
June 25, 2021, the T. Rowe Price Institutional Large-Cap Core Growth Fund (&#x201c;Fund&#x201d;) shareholders approved
a proposal to reclassify the Fund&#x2019;s diversification status from diversified to nondiversified and eliminate
a related fundamental investment policy. The change to the Fund&#x2019;s diversification status and the elimination
of the fundamental policy becomes effective on June 28, 2021. Accordingly, all of the following changes
are effective June 28, 2021.&lt;/p&gt;&lt;p style="font-family:Serif; font-size:9.0pt; font-style:normal; font-weight:normal; text-align:left;"&gt;Under &#x201c;Principal Investment Strategies&#x201d; in Sections 1 and 2 of the Fund&#x2019;s prospectus,
the following is added: &lt;/p&gt;&lt;p style="font-family:Serif; font-size:9.0pt; font-style:normal; font-weight:normal; margin-left:36.00pt; text-align:left;"&gt;The fund is &#x201c;nondiversified,&#x201d; meaning it may invest a greater
portion of its assets in fewer issuers than is permissible for a &#x201c;diversified&#x201d; fund.&lt;/p&gt;&lt;p style="font-family:Serif; font-size:9.0pt; font-style:normal; font-weight:normal; text-align:left;"&gt;Under &#x201c;Principal Risks&#x201d;
in Section 1 of the Fund&#x2019;s prospectus, the following risk is added:&lt;/p&gt;&lt;p style="font-family:Serif; font-size:9.0pt; font-style:normal; font-weight:normal; margin-left:36.00pt; text-align:left;"&gt;&lt;span style="font-family:Sans-Serif; font-weight:bold;"&gt;Nondiversification&lt;/span&gt;  As a nondiversified fund,
the fund has the ability to invest a larger percentage of its assets in the securities of a smaller number
of issuers than a diversified fund. As a result, poor performance by a single issuer could adversely
affect fund performance more than if the fund were invested in a larger number of issuers. The fund&#x2019;s
share price can be expected to fluctuate more than that of a similar fund that is more broadly diversified.&lt;/p&gt;</rr:SupplementToProspectusTextBlock>
    <rr:ProspectusDate contextRef="Context">2021-06-28</rr:ProspectusDate>
    <dei:EntityRegistrantName contextRef="Context">T. Rowe Price All-Cap Opportunities Fund, Inc.</dei:EntityRegistrantName>
    <dei:DocumentType contextRef="Context">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context">2021-05-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context">0000773485</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context">2021-06-28</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="Context">2021-06-28</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="Context">N-1A</dei:EntityInvCompanyType>
</xbrl>
