Investments - Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | |||
|---|---|---|---|---|---|
Jul. 31, 2023 |
Jul. 31, 2022 |
Jul. 31, 2023 |
Jul. 31, 2022 |
Jan. 31, 2023 |
|
| Investments, Debt and Equity Securities [Abstract] | |||||
| Fair value of debt securities in an unrealized loss position | $ 4,100 | $ 4,100 | $ 3,100 | ||
| Credit and non-credit losses on debt securities | 0 | $ 0 | 0 | $ 0 | |
| Proceeds of sale of debt securities | 6 | 28 | 18 | 28 | |
| Impairment loss on non-marketable equity securities | 10 | 0 | 12 | 14 | |
| Upward price adjustment to non-marketable equity investments | 3 | 6 | |||
| Proceeds from sale of available-for-sale securities, equity | 20 | 0 | 30 | 5 | |
| Gain on sale of equity securities marketable equity investments | 2 | 1 | 1 | ||
| Equity securities, unrealized gain | $ 8 | $ 4 | |||
| Equity securities, unrealized loss | $ 20 | $ 17 | |||
| X | ||||||||||
- Definition Amount of realized loss on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), in unrealized loss position without allowance for credit loss. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of realized gain from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of unrealized gain on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of unrealized loss on investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of impairment loss on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cash inflow from sale of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash inflow from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as investing activity. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|