Vanguard SP Mid-Cap 400 Growth Index Fund Average Annual Total Returns - Institutional Prospectus [Member] |
12 Months Ended | 60 Months Ended | 69 Months Ended | 118 Months Ended | 120 Months Ended |
|---|---|---|---|---|---|
Dec. 31, 2024 |
Dec. 31, 2024 |
Dec. 31, 2024 |
Dec. 31, 2024 |
Dec. 31, 2024 |
|
| S&P MidCap 400 Growth Index (reflects no deduction for fees, expenses, or taxes)[Member] | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 15.94% | 10.01% | 9.86% | ||
| Dow Jones U.S. Total Stock Market Float Adjusted Index (reflects no deduction for fees, expenses, or taxes)[Member] | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 23.88% | 13.78% | 14.20% | 12.36% | 12.48% |
| Institutional Shares | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 15.86% | 9.93% | 9.79% | ||
| Institutional Shares | After Taxes on Distributions | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 15.63% | 9.69% | 9.50% | ||
| Institutional Shares | After Taxes on Distributions and Sales | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 9.55% | 7.85% | 7.99% |