| Fact | Value | Period | Source |
|---|
| ats_provider | {"via": "html", "board": null, "provider": "phenom", "verified": true, "countable": false, | | jobs_obs |
| common_shares_outstanding | {"unit": "shares", "value": 1400635338, "concept": "dei:EntityCommonStockSharesOutstanding | 2025-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 1415080299, "concept": "dei:EntityCommonStockSharesOutstanding | 2024-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 1402372572, "concept": "dei:EntityCommonStockSharesOutstanding | 2023-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 1385591247, "concept": "dei:EntityCommonStockSharesOutstanding | 2022-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 1425187410, "concept": "dei:EntityCommonStockSharesOutstanding | 2021-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 0, "concept": "dei:EntityCommonStockSharesOutstanding"} | 2020-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 1430678036, "concept": "dei:EntityCommonStockSharesOutstanding | 2019-10-31 | sec_edgar |
| common_shares_outstanding | {"unit": "shares", "value": 1439343359, "concept": "dei:EntityCommonStockSharesOutstanding | 2018-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1400635338} | 2025-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1415080299} | 2024-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1402372572} | 2023-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1385591247} | 2022-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1425187410} | 2021-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 0} | 2020-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1430678036} | 2019-10-31 | sec_edgar |
| dei:EntityCommonStockSharesOutstanding | {"unit": "shares", "value": 1439343359} | 2018-10-31 | sec_edgar |
| industry_sic | {"code": "6029", "scheme": "SIC", "description": "Commercial Banks, NEC"} | | sec_edgar |
| observed_web_domain | {"via": "wikidata:P856", "domain": "rbc.com"} | | robots_obs |
| website | {"qid": "Q735261", "url": "https://rbc.com", "via": "wikidata"} | | wikidata |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 1556000000} | 2025-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 340000000} | 2024-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": -1083000000} | 2023-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": -1883000000} | 2022-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 488000000} | 2021-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 588000000} | 2020-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 232000000} | 2019-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 304000000} | 2018-10-31 | sec_edgar |
| xbrl:AccumulatedChangesInFairValueOfFinancialLiabilityAttributableToChangesInCreditRiskOfLiability | {"unit": "CAD", "value": 482000000} | 2017-10-31 | sec_edgar |
| xbrl:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets | {"unit": "CAD", "value": -1307000000} | 2018-10-31 | sec_edgar |
| xbrl:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets | {"unit": "CAD", "value": -1150000000} | 2017-10-31 | sec_edgar |
| xbrl:AdditionalRecognitionGoodwill | {"unit": "CAD", "value": 6536000000} | 2024-10-31 | sec_edgar |
| xbrl:AdditionalRecognitionGoodwill | {"unit": "CAD", "value": 70000000} | 2023-10-31 | sec_edgar |
| xbrl:AdditionalRecognitionGoodwill | {"unit": "CAD", "value": 930000000} | 2022-10-31 | sec_edgar |
| xbrl:AdditionalRecognitionGoodwill | {"unit": "CAD", "value": 9000000} | 2020-10-31 | sec_edgar |
| xbrl:AdditionalRecognitionGoodwill | {"unit": "CAD", "value": 98000000} | 2019-10-31 | sec_edgar |
| xbrl:AdditionalRecognitionGoodwill | {"unit": "CAD", "value": 81000000} | 2018-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1401884000} | 2026-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1411589000} | 2025-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1409680000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1413235000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1415037000} | 2025-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1413517000} | 2025-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1416502000} | 2025-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1413755000} | 2024-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1416149000} | 2024-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1412644000} | 2024-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1414166000} | 2024-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1410842000} | 2024-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1407641000} | 2024-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1392529000} | 2023-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1394939000} | 2023-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1389857000} | 2023-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1390149000} | 2023-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1387295000} | 2023-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1384536000} | 2023-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1406034000} | 2022-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1398667000} | 2022-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1411934000} | 2022-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1412552000} | 2022-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1418676000} | 2022-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1424602000} | 2022-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1426735000} | 2021-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1427198000} | 2021-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1426548000} | 2021-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1427107000} | 2021-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1426183000} | 2021-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1425280000} | 2021-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1428770000} | 2020-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1429543000} | 2020-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1427777000} | 2020-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1427871000} | 2020-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1430468000} | 2020-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1433060000} | 2020-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1440682000} | 2019-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1441499000} | 2019-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1440130000} | 2019-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1441163000} | 2019-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1442194000} | 2019-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1443195000} | 2019-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1450485} | 2018-10-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1446956} | 2018-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1451823} | 2018-07-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1449737} | 2018-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1454299} | 2018-04-30 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1458714} | 2018-01-31 | sec_edgar |
| xbrl:AdjustedWeightedAverageShares | {"unit": "shares", "value": 1474421} | 2017-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": 106000000} | 2025-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": 298000000} | 2024-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": 851000000} | 2023-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": -230000000} | 2022-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": -92000000} | 2021-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": -106000000} | 2020-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": -26000000} | 2019-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": -212000000} | 2018-10-31 | sec_edgar |
| xbrl:AdjustmentsForCurrentTaxOfPriorPeriod | {"unit": "CAD", "value": -22000000} | 2017-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 6376000000} | 2026-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -26594000000} | 2025-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 33188000000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -4411000000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -34525000000} | 2025-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -37599000000} | 2025-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -3074000000} | 2025-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -4797000000} | 2024-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 14540000000} | 2024-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 30156000000} | 2024-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -21796000000} | 2024-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 15616000000} | 2024-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 37412000000} | 2024-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 11826000000} | 2023-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 8235000000} | 2023-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 38362000000} | 2023-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 30127000000} | 2023-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 5971000000} | 2023-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 24156000000} | 2023-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -58898000000} | 2022-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 34146000000} | 2022-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -26517000000} | 2022-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -60663000000} | 2022-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -63885000000} | 2022-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 3222000000} | 2022-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 17947000000} | 2021-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 11455000000} | 2021-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -4797000000} | 2021-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 16252000000} | 2021-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 13681000000} | 2021-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 2571000000} | 2021-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -11928000000} | 2020-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -55818000000} | 2020-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -16571000000} | 2020-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -39247000000} | 2020-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -46825000000} | 2020-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 7578000000} | 2020-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -7521000000} | 2019-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -13962000000} | 2019-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -4735000000} | 2019-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 4000000} | 2019-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 9227000000} | 2019-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 9223000000} | 2019-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 984000000} | 2018-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 6520000000} | 2018-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 5672000000} | 2018-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 848000000} | 2018-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 11337000000} | 2018-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": -10489000000} | 2018-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInDerivativeFinancialAssets | {"unit": "CAD", "value": 23921000000} | 2017-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 29883000000} | 2026-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 41120000000} | 2025-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 36095000000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 84971000000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 48876000000} | 2025-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -21476000000} | 2025-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 70352000000} | 2025-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -10168000000} | 2024-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -23604000000} | 2024-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 15234000000} | 2024-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 46518000000} | 2024-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 38838000000} | 2024-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -7680000000} | 2024-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -22346000000} | 2023-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -11912000000} | 2023-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -29306000000} | 2023-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -6860000000} | 2023-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -17394000000} | 2023-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -10534000000} | 2023-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -9942000000} | 2022-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -1867000000} | 2022-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -10662000000} | 2022-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -4572000000} | 2022-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -8795000000} | 2022-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -4223000000} | 2022-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 5112000000} | 2021-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -11865000000} | 2021-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -6881000000} | 2021-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 3002000000} | 2021-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 4984000000} | 2021-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 1982000000} | 2021-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -6054000000} | 2020-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": 17319000000} | 2020-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -1254000000} | 2020-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -1347000000} | 2020-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -18573000000} | 2020-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -17226000000} | 2020-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -12359000000} | 2019-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -120000000} | 2019-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -15038000000} | 2019-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -14918000000} | 2019-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -11860000000} | 2019-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -3058000000} | 2019-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -73626000000} | 2018-10-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -43194000000} | 2018-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -2986000000} | 2018-07-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -1419000000} | 2018-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -40208000000} | 2018-04-30 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -38789000000} | 2018-01-31 | sec_edgar |
| xbrl:AdjustmentsForDecreaseIncreaseInReverseRepurchaseAgreementsAndCashCollateralOnSecuritiesBorrowed | {"unit": "CAD", "value": -34675000000} | 2017-10-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "CAD", "value": 208000000} | 2026-01-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "CAD", "value": -216000000} | 2025-10-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "CAD", "value": 127000000} | 2025-07-31 | sec_edgar |
| xbrl:AdjustmentsForDeferredTaxExpense | {"unit": "CAD", "value": -105000000} | 2025-07-31 | sec_edgar |