2.2.0.7 false Stockholders' Equity (Schedule of Stock Plan Activity) (Details) (USD $) 40302 - Disclosure - Stockholders' Equity (Schedule of Stock Plan Activity) (Details) true false In Thousands, except Share data 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 $ 2 0 us-gaap_StockholdersEquityAbstract us-gaap true na duration No definition available. false false false false false true false false false false false false 1 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 3 1 crm_SharesAvailableForGrant crm false na instant Shares available for grant false false false false false false false false true false false periodstartlabel false 1 false true false false 4607929 4607929 false false false xbrli:sharesItemType shares Shares available for grant No authoritative reference available. false 4 1 crm_IncreaseInOptionsAuthorizedUnder2004EquityIncentivePlan crm false na instant Increase in options authorized under 2004 Equity Incentive Plan false false false false false false false false false false false label false 1 false true false false 3500000 3500000 false false false xbrli:sharesItemType shares Increase in options authorized under 2004 Equity Incentive Plan No authoritative reference available. false 5 1 crm_OptionsGrantedDuringPeriod crm false na instant Options granted during period false false false false false false false false false false false terselabel false 1 false true false false -724675 -724675 false false false xbrli:sharesItemType shares Options granted during period No authoritative reference available. false 6 1 crm_RestrictedStockUnitActivity crm false na instant Restricted stock unit activity false false false false false false false false false false false label false 1 false true false false -93190 -93190 false false false xbrli:sharesItemType shares Restricted stock unit activity No authoritative reference available. false 7 1 crm_StockGrantsToBoardMembersForBoardServicesAndAdvisoryBoardMembers crm false na instant Stock grants to board members for board services and advisory board members false false false false false false false false false false false label false 1 false true false false -37650 -37650 false false false xbrli:sharesItemType shares Stock grants to board members for board services and advisory board members No authoritative reference available. false 8 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false true false false -89804 -89804 false false false xbrli:sharesItemType shares The decrease in the number of shares that could be issued attributable to the lapse of rights to exercise previously issued stock options under the terms of the option agreements under the plan during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(g) false 9 1 crm_SharesAvailableForGrantCancelledDuringPeriod crm false na instant Shares available for grant cancelled during the period false false false false false false false false false false false terselabel false 1 false true false false 687605 687605 false false false xbrli:sharesItemType shares Shares available for grant cancelled during the period No authoritative reference available. false 10 1 crm_SharesAvailableForGrant crm false na instant Shares available for grant false false false false false false false false false true false periodendlabel false 1 false true false false 7850215 7850215 false false false xbrli:sharesItemType shares Shares available for grant No authoritative reference available. false 11 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber us-gaap true na instant No definition available. false false false false false false false false true false false periodstartlabel false 1 false true false false 14036371 14036371 false false false xbrli:sharesItemType shares The number of shares reserved for issuance under stock option agreements awarded under the plan that validly exist and are outstanding as of the balance-sheet date, including vested options. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(b) false 12 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false true false false 724675 724675 false false false xbrli:sharesItemType shares The quantity of shares issuable on stock options awarded under the plan during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(d) false 13 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false true false false -3631390 -3631390 false false false xbrli:sharesItemType shares The decrease in the number of reserved shares that could potentially be issued attributable to the exercise or conversion during the reporting period of previously issued stock options under the option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(e) false 14 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false true false false -687605 -687605 false false false xbrli:sharesItemType shares The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(f) false 15 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber us-gaap true na instant No definition available. false false false false false false false false false true false periodendlabel false 1 false true false false 10442051 10442051 false false false xbrli:sharesItemType shares The number of shares reserved for issuance under stock option agreements awarded under the plan that validly exist and are outstanding as of the balance-sheet date, including vested options. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(b) false 16 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber us-gaap true na instant No definition available. false false false false false false false false false false false false 1 false true false false 10117020 10117020 false false false xbrli:sharesItemType shares As of the balance sheet date, the number of shares into which fully vested and expected to vest stock options outstanding can be converted under the option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(1) false 17 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber 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 4122901 4122901 false false false xbrli:sharesItemType shares As of the balance sheet date, the number of shares for which fully vested and expected to vest stock options can be exercised under the option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(2) false 18 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false true false false periodstartlabel true 1 true true false false 40.36 40.36 false false false us-types:perShareItemType decimal The weighted average price as of the beginning of the year at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) false 19 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 true true false false 83.53 83.53 false false false us-types:perShareItemType decimal The weighted average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on stock options awarded under the plan during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(d) false 20 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 true true false false 31.94 31.94 false false false us-types:perShareItemType decimal The weighted average price at which option holders acquired shares when converting their stock options into shares under the plan during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(e) false 21 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 true true false false 49.00 49.00 false false false us-types:perShareItemType decimal The weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated during the reporting period due to noncompliance with plan terms during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(f) false 22 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false true false periodendlabel true 1 true true false false 45.71 45.71 false false false us-types:perShareItemType decimal The weighted average price as of the beginning of the year at which grantees can acquire the shares reserved for issuance under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(a) false 23 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 true true false false 45.36 45.36 false false false us-types:perShareItemType decimal As of the balance sheet date, the weighted-average exercise price for outstanding stock options that are fully vested or expected to vest. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(1) false 24 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice us-gaap true na instant No definition available. false false false false false false false false false false false true 1 true true false false 32.22 32.22 false false false us-types:perShareItemType decimal The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph b(1)(c) false 25 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue us-gaap true debit instant No definition available. false false false false false false false false false false false terselabel false 1 true true false false 734664000 734664 false false false xbrli:monetaryItemType monetary The total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices pertaining to options outstanding under the plan as of the balance-sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(1) false 26 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAggregateIntrinsicValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false true false false 715411000 715411 false false false xbrli:monetaryItemType monetary As of the balance sheet date, the total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices of fully vested and expected to vest options outstanding. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph d(1) false 27 1 us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableIntrinsicValue us-gaap true debit duration No definition available. false false false false false false false false false false false terselabel false 1 true true false false 345720000 345720 false false false xbrli:monetaryItemType monetary The total dollar difference between fair values of the underlying shares reserved for issuance and exercise prices of vested portions of options outstanding and currently exercisable under the option plan as of the balance-sheet date. No authoritative reference available. false 1 26 false Thousands NoRounding NoRounding false true