2.2.0.7 true Balance Sheet Accounts (Schedule of Marketable Securities in an Unrealized Loss Position) (Details) (USD $) 40204 - Disclosure - Balance Sheet Accounts (Schedule of Marketable Securities in an Unrealized Loss Position) (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 $ 2 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 true true false false 136986000 136986000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 3 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -874000 -874000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 4 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue 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 398000 398000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 5 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -9000 -9000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 6 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue 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 137384000 137384000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 7 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -883000 -883000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 8 2 crm_UnrealizedLossesOnFixedRateInvestmentsLowerRangeValue crm false debit duration Unrealized losses on fixed rate investments, lower range value. false false false false false false false false false false false label false 1 false true false false 1000 1000 false false false xbrli:monetaryItemType monetary Unrealized losses on fixed rate investments, lower range value. No authoritative reference available. false 9 2 crm_UnrealizedLossesOnFixedRateInvestmentsUpperRangeValue crm false debit duration Unrealized losses on fixed rate investments, upper range value. false false false false false false false false false false false label false 1 false true false false 109000 109000 false false false xbrli:monetaryItemType monetary Unrealized losses on fixed rate investments, upper range value. No authoritative reference available. false 10 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesinunrealizedlosspositiondetails false 1 false false false false 0 0 false false false false 2 USD true false false false Municipal Securities [Member] us-gaap_InvestmentTypeAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MunicipalNotesMember us-gaap_InvestmentTypeAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 11 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue 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 4130000 4130000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 12 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -61000 -61000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 13 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 14 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 15 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue 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 4130000 4130000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 16 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -61000 -61000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 19 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesinunrealizedlosspositiondetails false 1 false false false false 0 0 false false false false 3 USD true false false false Corporate Notes and Obligations [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CorporateDebtSecuritiesMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 20 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue 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 63150000 63150000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 21 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -257000 -257000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 22 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue 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 398000 398000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 23 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -9000 -9000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 24 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue 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 63548000 63548000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 25 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -266000 -266000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 28 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesinunrealizedlosspositiondetails false 1 false false false false 0 0 false false false false 4 USD true false false false Collateralized Mortgage Obligations [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 29 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue 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 28825000 28825000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 30 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -143000 -143000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 31 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 32 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 33 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue 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 28825000 28825000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 34 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -143000 -143000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 37 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesinunrealizedlosspositiondetails false 1 false false false false 0 0 false false false false 5 USD true false false false Mortgage Backed Securities [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 38 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue 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 26877000 26877000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 39 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -410000 -410000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 40 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 41 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 42 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue 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 26877000 26877000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 43 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -410000 -410000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 46 0 na true na na No definition available. false true false false false false false false false false false http://www.salesforce.com/taxonomy/role/disclosurebalancesheetaccountsscheduleofmarketablesecuritiesinunrealizedlosspositiondetails false 1 false false false false 0 0 false false false false 6 USD true false false false U.S. Agency Obligations [Member] us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_USGovernmentAgenciesDebtSecuritiesMember us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsMajorTypesOfTradingSecuritiesAndAssetsAxis explicitMember Unit1 Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 $ na No definition available. No authoritative reference available. false 47 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue 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 14004000 14004000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 48 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -3000 -3000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 49 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 50 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 false false false false 0 0   false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for twelve months or longer for those securities which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 51 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue 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 14004000 14004000 false false false xbrli:monetaryItemType monetary This item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 52 2 us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLosses us-gaap true debit duration No definition available. false false false false false false false false false false true negated false 1 true true false false -3000 -3000 false false false xbrli:monetaryItemType monetary This item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Emerging Issues Task Force (EITF) -Number 03-1 -Paragraph 21 -Subparagraph a(2) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 17 -Subparagraph a(1) false 1 43 false NoRounding UnKnown UnKnown false true