Vanguard SP Mid-Cap 400 Value 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 Value Index (reflects no deduction for fees, expenses, or taxes)[Member] | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 11.71% | 10.21% | 9.13% | ||
| 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 | 11.65% | 10.16% | 9.08% | ||
| Institutional Shares | After Taxes on Distributions | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 11.15% | 9.60% | 8.57% | ||
| Institutional Shares | After Taxes on Distributions and Sales | |||||
| Prospectus [Line Items] | |||||
| Average Annual Return, Percent | 7.21% | 7.94% | 7.29% |