<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cpuh="http://www.computehealthacquisitioncorp.com/20230728"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2022"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cpuh-20230728.xsd" xlink:type="simple"/>
    <context id="duration_2023-07-28_to_2023-07-28">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001828608</identifier>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-UnitsEachConsistingOfOneShareOfClassACommonStockAndOnequarterOfOneRedeemableWarrantMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001828608</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">cpuh:UnitsEachConsistingOfOneShareOfClassACommonStockAndOnequarterOfOneRedeemableWarrantMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_us-gaap-CapitalUnitClassAMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001828608</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CapitalUnitClassAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <context id="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-RedeemableWarrantsEachWholeWarrantExercisableForOneShareOfClassACommonStockAtAnExercisePriceOf1150Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001828608</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">cpuh:RedeemableWarrantsEachWholeWarrantExercisableForOneShareOfClassACommonStockAtAnExercisePriceOf1150Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-07-28</startDate>
            <endDate>2023-07-28</endDate>
        </period>
    </context>
    <dei:Security12bTitle
      contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-UnitsEachConsistingOfOneShareOfClassACommonStockAndOnequarterOfOneRedeemableWarrantMember"
      id="Hidden_dei_Security12bTitle_duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-UnitsEachConsistingOfOneShareOfClassACommonStockAndOnequarterOfOneRedeemableWarrantMember">Units, each consisting of one share of Class A common stock and one-quarter of one redeemable warrant</dei:Security12bTitle>
    <dei:AmendmentFlag
      contextRef="duration_2023-07-28_to_2023-07-28"
      id="Hidden_dei_AmendmentFlag_duration_2023-07-28_to_2023-07-28">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2023-07-28_to_2023-07-28"
      id="Hidden_dei_EntityCentralIndexKey_duration_2023-07-28_to_2023-07-28">0001828608</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2023-07-28_to_2023-07-28">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2023-07-28_to_2023-07-28">2023-07-28</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="duration_2023-07-28_to_2023-07-28">Compute Health Acquisition Corp.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2023-07-28_to_2023-07-28">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2023-07-28_to_2023-07-28">001-40001</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2023-07-28_to_2023-07-28">85-3449307</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2023-07-28_to_2023-07-28">1100 North Market Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2023-07-28_to_2023-07-28">4th Floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2023-07-28_to_2023-07-28">Wilmington</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2023-07-28_to_2023-07-28">DE</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2023-07-28_to_2023-07-28">19890</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2023-07-28_to_2023-07-28">212</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2023-07-28_to_2023-07-28">829-3500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2023-07-28_to_2023-07-28">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2023-07-28_to_2023-07-28">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2023-07-28_to_2023-07-28">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2023-07-28_to_2023-07-28">false</dei:PreCommencementIssuerTenderOffer>
    <dei:TradingSymbol contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-UnitsEachConsistingOfOneShareOfClassACommonStockAndOnequarterOfOneRedeemableWarrantMember">CPUH.U</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-UnitsEachConsistingOfOneShareOfClassACommonStockAndOnequarterOfOneRedeemableWarrantMember">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_us-gaap-CapitalUnitClassAMember">Class A common stock, par value $0.0001 per share, included as part of the Units</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_us-gaap-CapitalUnitClassAMember">CPUH</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_us-gaap-CapitalUnitClassAMember">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-RedeemableWarrantsEachWholeWarrantExercisableForOneShareOfClassACommonStockAtAnExercisePriceOf1150Member">Redeemable Warrants included as part of the Units, each exercisable for one share of Class A common stock for $11.50 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-RedeemableWarrantsEachWholeWarrantExercisableForOneShareOfClassACommonStockAtAnExercisePriceOf1150Member">CPUH WS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2023-07-28_to_2023-07-28_us-gaap-StatementClassOfStockAxis_cpuh-RedeemableWarrantsEachWholeWarrantExercisableForOneShareOfClassACommonStockAtAnExercisePriceOf1150Member">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2023-07-28_to_2023-07-28">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="duration_2023-07-28_to_2023-07-28">false</dei:EntityExTransitionPeriod>
</xbrl>
