2.2.0.7 false Share-Based Compensation Expense Recognized in the Condensed Consolidated Statements of Income (Detail) (USD $) 140 - Disclosure - Share-Based Compensation Expense Recognized in the Condensed Consolidated Statements of Income (Detail) true false In Millions false false 1 USD false false iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ false 2 USD false false iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ false 3 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ false 4 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ 5 3 gps_CompensationExpenseRelatedStockUnits gps false credit duration Value of share-based compensation expense related to stock units recorded during the period. false false false false false false false false false false true negated false 1 true true false false 14000000 14 false false false 2 true true false false 9000000 9 false false false 3 true true false false 36000000 36 false false false 4 true true false false 20000000 20 false false false xbrli:monetaryItemType monetary Value of share-based compensation expense related to stock units recorded during the period. No authoritative reference available. false 6 3 us-gaap_StockOptionPlanExpense us-gaap true debit duration No definition available. false false false false false false false false false false false false 1 false true false false 3000000 3 false false false 2 false true false false 3000000 3 false false false 3 false true false false 7000000 7 false false false 4 false true false false 3000000 3 false false false xbrli:monetaryItemType monetary The noncash expense that accounts for the value of stock options distributed to employees as compensation. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph 64 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph i false 7 3 gps_CompensationExpenseRelatedEmployeeStockPurchasePlan gps false credit duration Value of share-based compensation expense related to employee stock purchase plan recorded during the period. false false false false false false false false false false true negated false 1 false true false false 1000000 1 false false false 2 false true false false 1000000 1 false false false 3 false true false false 2000000 2 false false false 4 false true false false 2000000 2 false false false xbrli:monetaryItemType monetary Value of share-based compensation expense related to employee stock purchase plan recorded during the period. No authoritative reference available. false 8 3 us-gaap_ShareBasedCompensation us-gaap true debit duration No definition available. false false false false false false false false false false false totallabel false 1 false true false false 18000000 18 false false false 2 false true false false 13000000 13 false false false 3 false true false false 45000000 45 false false false 4 false true false false 25000000 25 false false false xbrli:monetaryItemType monetary The aggregate amount of noncash, equity-based employee remuneration. This may include the value of stock options, amortization of restricted stock, and adjustment for officers compensation. As noncash, this element is an add back when calculating net cash generated by operating activities using the indirect method. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 95 -Paragraph 28 true 9 3 us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense us-gaap true credit duration No definition available. false false false false false false false false false false true negated false 1 false true false false -8000000 -8 false false false 2 false true false false -5000000 -5 false false false 3 false true false false -18000000 -18 false false false 4 false true false false -10000000 -10 false false false xbrli:monetaryItemType monetary The total recognized tax benefit related to compensation cost for share-based payment arrangements recognized in income during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 123R -Paragraph A240 -Subparagraph g(1) false 10 3 gps_ShareBasedCompensationNetOfTax gps false debit duration Share-based Compensation, Net of tax false false false false false false false false false false false totallabel false 1 true true false false 10000000 10 false false false 2 true true false false 8000000 8 false false false 3 true true false false 27000000 27 false false false 4 true true false false 15000000 15 false false false xbrli:monetaryItemType monetary Share-based Compensation, Net of tax No authoritative reference available. true 4 6 false Millions UnKnown UnKnown false true