v3.22.0.1
Cover Page - USD ($)
$ in Billions
12 Months Ended
Dec. 31, 2021
Feb. 11, 2022
Jun. 30, 2021
Document Information [Line Items]      
Document Type 10-K    
Amendment Flag false    
Document Fiscal Year Focus 2021    
Document Period End Date Dec. 31, 2021    
Entity Central Index Key 0000886982    
Document Fiscal Period Focus FY    
Document Annual Report true    
Document Transition Report false    
Entity Interactive Data Current Yes    
Current Fiscal Year End Date --12-31    
Entity Registrant Name The Goldman Sachs Group, Inc.    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
Entity Shell Company false    
Entity Common Stock, Shares Outstanding   337,922,970  
Entity File Number 001-14965    
Entity Tax Identification Number 13-4019460    
Entity Current Reporting Status Yes    
Entity Address, Address Line One 200 West Street    
Entity Address, City or Town New York    
Entity Address, State or Province NY    
Entity Address, Postal Zip Code 10282    
City Area Code 212    
Local Phone Number 902-1000    
Entity Incorporation, State or Country Code DE    
Entity Public Float     $ 127.4
Entity Well-known Seasoned Issuer No    
Entity Voluntary Filers No    
ICFR Auditor Attestation Flag true    
Auditor Name PricewaterhouseCoopers LLP    
Auditor Firm ID 238    
Auditor Location New York    
Common Stock [Member]      
Document Information [Line Items]      
Title of 12(b) Security Common stock, par value $.01 per share    
Trading Symbol GS    
Security Exchange Name NYSE    
Series A Floating Rate Preferred Stock [Member]      
Document Information [Line Items]      
Title of 12(b) Security Depositary Shares, Each Representing 1/1,000th Interest in a Share    
Trading Symbol GS PrA    
Security Exchange Name NYSE    
Series C Floating Rate Preferred Stock [Member]      
Document Information [Line Items]      
Title of 12(b) Security Depositary Shares, Each Representing 1/1,000th Interest in a Share    
Trading Symbol GS PrC    
Security Exchange Name NYSE    
Series D Floating Rate Preferred Stock [Member]      
Document Information [Line Items]      
Title of 12(b) Security Depositary Shares, Each Representing 1/1,000th Interest in a Share    
Trading Symbol GS PrD    
Security Exchange Name NYSE    
Series J 5.50% Fixed-to-Floating Rate Preferred Stock [Member]      
Document Information [Line Items]      
Title of 12(b) Security Depositary Shares, Each Representing 1/1,000th Interest in a Share    
Trading Symbol GS PrJ    
Security Exchange Name NYSE    
Series K 6.375% Fixed-to-Floating Rate Preferred Stock [Member]      
Document Information [Line Items]      
Title of 12(b) Security Depositary Shares, Each Representing 1/1,000th Interest in a Share    
Trading Symbol GS PrK    
Security Exchange Name NYSE    
5.793% Fixed-to-Floating Rate Normal APEX [Member]      
Document Information [Line Items]      
Title of 12(b) Security Normal Automatic Preferred Enhanced Capital Securities of Goldman Sachs Capital II    
Trading Symbol GS/43PE    
Security Exchange Name NYSE    
Floating Rate Normal APEX [Member]      
Document Information [Line Items]      
Title of 12(b) Security Normal Automatic Preferred Enhanced Capital Securities of Goldman Sachs Capital III    
Trading Symbol GS/43PF    
Security Exchange Name NYSE    
Series F Medium Term Notes Callable Fixed and Floating Rate Notes due 2031 of GS Finance Corp. [Member]      
Document Information [Line Items]      
Title of 12(b) Security Medium-Term Notes    
Trading Symbol GS/31B    
Security Exchange Name NYSE