<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:pg="http://pg.com/20230728"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pg-20230728.xsd" xlink:type="simple"/>
    <context id="c20230728to20230728">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2031Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Three25NotesDue2031Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_One800NotesDue2029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:One800NotesDue2029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2026Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Three25NotesDue2026Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_One250NotesDue2029Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:One250NotesDue2029Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Zero110NotesDue2026Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Zero110NotesDue2026Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Zero230NotesDue2031Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Zero230NotesDue2031Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_One125NotesDue2023Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:One125NotesDue2023Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_One375NotesDue2025Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:One375NotesDue2025Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Zero625NotesDue2024Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Zero625NotesDue2024Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_One875NotesDue2038Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:One875NotesDue2038Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Five250GBPNotesDueJanuary2033Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Five250GBPNotesDueJanuary2033Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Zero900NotesDue2041Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Zero900NotesDue2041Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_One200NotesDue2028Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:One200NotesDue2028Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Zero350NotesDue2030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Zero350NotesDue2030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Six250GBPNotesDueJanuary2030Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Six250GBPNotesDueJanuary2030Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Zero500NotesDue2024Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Zero500NotesDue2024Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="c20230728to20230728_DebtInstrumentAxis_Four875EURNotesDueMay2027Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000080424</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">pg:Four875EURNotesDueMay2027Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20230728to20230728"
      id="Fact_b3f7502b849543e2badad7c5958945f8">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20230728to20230728"
      id="Fact_d5c3ddff0e094f1a8f33a73c22a47bb5">0000080424</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20230728to20230728"
      id="Fact_39d50433eeda4ed09de2ed6d2a113652">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20230728to20230728"
      id="Fact_52ef4278a7f24507977cb921dd533b66">2023-07-28</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20230728to20230728"
      id="Fact_7ea0ee5034274be687e56174f9fbe515">THE PROCTER &amp; GAMBLE COMPANY</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20230728to20230728"
      id="Fact_ff136d06938746e99131abf7de42b413">OH</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20230728to20230728"
      id="Fact_aecce5455a1c4e668ba85089991a2975">001-00434</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20230728to20230728"
      id="Fact_83f37f098f8e4f48be2e84ca7f92ceab">31-0411980</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20230728to20230728"
      id="Fact_7da21a49a8a64701961bbc0bd4f315c5">One Procter &amp; Gamble Plaza</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20230728to20230728"
      id="Fact_d162c67afede4b7a8254948519e52530">Cincinnati</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20230728to20230728"
      id="Fact_f1c85350fefd4d2f97a34e5575a2e780">OH</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20230728to20230728"
      id="Fact_223af3934db443178e82db300bdc9ef5">45202</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20230728to20230728"
      id="Fact_dcf61b6f1b73472993d113f883270671">513</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20230728to20230728"
      id="Fact_dabe3cbba1d84e59b33a1155be388d16">983-1100</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20230728to20230728"
      id="Fact_37fa4743970843dd873e248e328ce0b9">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20230728to20230728"
      id="Fact_2e231a2b385a407d8f4e541446235bbb">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20230728to20230728"
      id="Fact_4e6452f93067418399b5aaeb15f94242">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20230728to20230728"
      id="Fact_854cc1a505cb4f5e9b92cd4aff4d8bc6">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20230728to20230728"
      id="Fact_ac0f452c8d964becba4261916a0e06d4">Common Stock without Par Value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728"
      id="Fact_9b1f5eb3e8a541f6a91536a83217c760">PG</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728"
      id="Fact_07e847d8d3b74e1a98855f1ba68f80ce">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_One125NotesDue2023Member"
      id="Fact_ebca519822e2471c8f3bc7818651f717">1.125% Notes due 2023</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_One125NotesDue2023Member"
      id="Fact_77f7fd5adc20478592d95cb17a56dda4">PG23A</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_One125NotesDue2023Member"
      id="Fact_8dcf180739754c83932e9d041981146f">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero500NotesDue2024Member"
      id="Fact_616b4ab538b9441997b507aef1e1f56a">0.500% Notes due 2024</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero500NotesDue2024Member"
      id="Fact_b732efa322144953b7048272fc7b5513">PG24A</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero500NotesDue2024Member"
      id="Fact_7858b3cc931d4a03837369690ed212c3">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero625NotesDue2024Member"
      id="Fact_561ce3cb1412408793afbc5c9a2457c1">0.625% Notes due 2024</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero625NotesDue2024Member"
      id="Fact_e6e6df8e9c794824bbc853e846135646">PG24B</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero625NotesDue2024Member"
      id="Fact_85cc101b41f24c2aa36978dd51a73b80">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_One375NotesDue2025Member"
      id="Fact_cff864d3e7e347ae8f5a5916293c2cab">1.375% Notes due 2025</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_One375NotesDue2025Member"
      id="Fact_e28e9398abab487799d75ce6c99b2a0b">PG25</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_One375NotesDue2025Member"
      id="Fact_dfeda2672f6d431b8c00581265230df1">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero110NotesDue2026Member"
      id="Fact_ebd5096e12704afe8eb823b96ff1c446">0.110% Notes due 2026</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero110NotesDue2026Member"
      id="Fact_d27573c7109142baa7077540b4cc8676">PG26D</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero110NotesDue2026Member"
      id="Fact_e28eb1f3c4f24e07aeaeeb70d4c77985">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2026Member"
      id="Fact_7a878c021b204940ad6996574317f163">3.25% Notes due 2026</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2026Member"
      id="Fact_dd8f331eb99342a98ba448d87fcc57cc">PG26E</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2026Member"
      id="Fact_3cb37658968c4e49980d7807e6f6b647">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Four875EURNotesDueMay2027Member"
      id="Fact_3f316ff4df904f6fab4a125f0934c3b0">4.875% EUR notes due May 2027</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Four875EURNotesDueMay2027Member"
      id="Fact_43f5acdc636446469e8626c5f3677031">PG27A</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Four875EURNotesDueMay2027Member"
      id="Fact_f32d135177c54dda8fd1b8a857f497f2">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_One200NotesDue2028Member"
      id="Fact_09a1cf3efcde464a96d3736f54ef0c83">1.200% Notes due 2028</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_One200NotesDue2028Member"
      id="Fact_86ccd299f4494664840bcb47b86577a0">PG28</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_One200NotesDue2028Member"
      id="Fact_27f4b591832b4e7586e2ec8a4a3bad53">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_One250NotesDue2029Member"
      id="Fact_9d5c013614874430b3fc6ac18395ad4f">1.250% Notes due 2029</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_One250NotesDue2029Member"
      id="Fact_a080bac643d04fb2b972064ebca0ada5">PG29B</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_One250NotesDue2029Member"
      id="Fact_914f0a99550742cfa623c7d6de6d0dee">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_One800NotesDue2029Member"
      id="Fact_dd65b89675bf49ec976f526564e3b985">1.800% Notes due 2029</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_One800NotesDue2029Member"
      id="Fact_696ee8c17c234c78bb6ae7c02b42c52b">PG29A</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_One800NotesDue2029Member"
      id="Fact_8d55ed8462254db1ab2e1fff4f605b48">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Six250GBPNotesDueJanuary2030Member"
      id="Fact_5ad242ff812f4082b8d7e1051cb806ac">6.250% GBP notes due January 2030</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Six250GBPNotesDueJanuary2030Member"
      id="Fact_ab3ce19eb40c4a0c838344e487fd4a87">PG30</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Six250GBPNotesDueJanuary2030Member"
      id="Fact_c59c990bd33f4ceba242650a71444301">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero350NotesDue2030Member"
      id="Fact_d6be96afb41d4b21bc70bc21d2799d7b">0.350% Notes due 2030</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero350NotesDue2030Member"
      id="Fact_6c7eee139dcc4d94a636f1405ee006c5">PG30C</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero350NotesDue2030Member"
      id="Fact_f3789d6ee385485a99c6e4744b4af70f">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero230NotesDue2031Member"
      id="Fact_c20d898fff6a4b6787a507f59f95b11f">0.230% Notes due 2031</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero230NotesDue2031Member"
      id="Fact_68b579f1bf4a42aab4f21b528d4d3f82">PG31A</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero230NotesDue2031Member"
      id="Fact_e8e9c9dcd53d430c9e91626b3fdd0603">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2031Member"
      id="Fact_20f39cf6fd204bcfa4fbc8bbaf4eac23">3.25% Notes due 2031</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2031Member"
      id="Fact_fd86970b30ab4026ae57642bef08b12a">PG31B</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Three25NotesDue2031Member"
      id="Fact_82ec312263fb48209c1363d7a01802b9">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Five250GBPNotesDueJanuary2033Member"
      id="Fact_751bc026d0cf4339b72cfc0c50732e1a">5.250% GBP notes due January 2033</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Five250GBPNotesDueJanuary2033Member"
      id="Fact_b8e6a98eb5b649509d85c0ff6b21ab3e">PG33</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Five250GBPNotesDueJanuary2033Member"
      id="Fact_c709d462018f4a85a9dc3b33c00f7268">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_One875NotesDue2038Member"
      id="Fact_0db281d498b941308db4c74a281b4b5e">1.875% Notes due 2038</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_One875NotesDue2038Member"
      id="Fact_6493f9a3ca74454e918a70487c72f9fd">PG38</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_One875NotesDue2038Member"
      id="Fact_55a5891f89f542388bd671490011abe8">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero900NotesDue2041Member"
      id="Fact_e9b44c73bee6446c82227eb521ce6dc8">0.900% Notes due 2041</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero900NotesDue2041Member"
      id="Fact_6dd097d4fbd84eafb8535ce4cb861753">PG41</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20230728to20230728_DebtInstrumentAxis_Zero900NotesDue2041Member"
      id="Fact_190be70cb47b4ee880e5790990f47a65">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20230728to20230728"
      id="Fact_31fc840300364c228e89c384e6e5f528">false</dei:EntityEmergingGrowthCompany>
</xbrl>
