2.2.0.7 false Balance Sheet Accounts (Schedule of Convertible Senior Notes) (Details) (USD $) 40215 - Disclosure - Balance Sheet Accounts (Schedule of Convertible Senior Notes) (Details) true false false false 1 USD false false Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 Unit13 Standard http://www.xbrl.org/2003/instance pure xbrli 0 Unit12 Standard http://www.xbrl.org/2003/instance shares xbrli 0 Unit14 Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares xbrli 0 $ 5 3 us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent us-gaap true credit instant No definition available. false false false false false false false false false false false terselabel false 1 true true false false 125530000 125530000 [1] false false false xbrli:monetaryItemType monetary The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number APB14-1 -Paragraph 31 -Subparagraph a false 6 3 us-gaap_DebtInstrumentCarryingAmount us-gaap true credit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 575000000 575000000 false false false xbrli:monetaryItemType monetary Including current and noncurrent portions, aggregate carrying amount of long-term borrowings as of the balance sheet date before deducting unamortized discount or premiums (if any). May include notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt, which had initial maturities beyond one year or beyond the normal operating cycle, if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number APB14-1 -Paragraph 31 -Subparagraph b Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 false 7 3 us-gaap_DebtInstrumentUnamortizedDiscount us-gaap true debit instant No definition available. false false false false false false false false false false true negated false 1 false true false false -113818000 -113818000 [2] false false false xbrli:monetaryItemType monetary The amount of debt discount that was originally recognized at the issuance of the instrument that has yet to be amortized. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number APB14-1 -Paragraph 31 -Subparagraph b Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Principles Board Opinion (APB) -Number 21 -Paragraph 16, 20 false 8 3 us-gaap_ConvertibleNotesPayable us-gaap true credit instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 461182000 461182000 false false false xbrli:monetaryItemType monetary Including the current and noncurrent portions, carrying value as of the balance sheet date of a written promise to pay a note, initially due after one year or beyond the operating cycle if longer, which can be exchanged for a specified amount of one or more securities (typically common stock), at the option of the issuer or the holder. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 16 -Article 9 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 20, 22 -Article 5 false 9 3 crm_EquityIssuanceCosts crm false debit duration Equity issuance costs false false false false false false false false false false false terselabel false 1 true true false false 1800000 1800000 false false false xbrli:monetaryItemType monetary Equity issuance costs No authoritative reference available. false 10 3 us-gaap_DebtInstrumentInterestRateStatedPercentage us-gaap true na instant No definition available. false false false false false false false false false false false terselabel false 1 false true false false 0.0075 0.0075 false false false us-types:percentItemType pure Interest rate stated in the contractual debt agreement. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 22 -Article 5 false 1 Included in the condensed consolidated balance sheets within additional paid-in capital, net of the $1.8 million in equity issuance costs. 2 Included in the condensed consolidated balance sheets within 0.75% convertible senior notes and is amortized over the remaining life of the Notes using the effective interest rate method. 1 6 false NoRounding UnKnown UnKnown false true