Bottom line
DMIDX vs XJH: the short answer
DMIDX (BNY Mellon Midcap Index Fund, Inc.) and XJH (iShares ESG Select Screened S&P Mid-Cap ETF) are both mutual funds.
XJH is cheaper at 0.12% vs 0.25% — a difference of $13 a year per $10,000 invested.
Over five years, DMIDX returned +8.9% a year vs +8.4% for XJH.
Updated Nov 19, 2026
DMIDX vs XJH side by side
| DMIDX | XJH | |
|---|---|---|
| Type | Mutual fund | ETF |
| Fund family | BNY Mellon / Dreyfus | iShares |
| Category | Mid-Cap | Mid-Cap |
| Expense ratio | 0.25% | 0.12% |
| Annual cost per $10k | $25 | $12 |
| 10-yr cost on $10k (prospectus) | $318 | $154 |
| Max front load | — | None |
| 12b-1 fee | — | 0% |
| 1-yr return | +7.2% | +8.1% |
| 5-yr return (annualized) | +8.9% | +8.4% |
| 10-yr return (annualized) | +10.4% | — |
| Best quarter | — | +13.2% |
| Worst quarter | — | −15.9% |
| Net assets (fund) | $1.3B | $419.5M |
| Number of holdings | 402 | 362 |
| Portfolio turnover | 14% | 2% |
| Returns as of | Dec 31, 2025 | Dec 31, 2025 |
Source: SEC Form N-PORT and fund prospectuses
Holdings overlap
19 of DMIDX's top 25 holdings also appear in XJH's top 25.
| Holding | DMIDX | XJH |
|---|---|---|
| Illumina Inc | 0.86% | 0.82% |
| Twilio Inc | 0.83% | 0.97% |
| Technipfmc Plc | 0.80% | 0.82% |
| Curtiss-wright Corp | 0.74% | 0.87% |
| Carpenter Technology Corp | 0.72% | 0.95% |
| Ati Inc | 0.71% | 0.83% |
| Nvent Electric Plc | 0.69% | 0.85% |
| Everpure Inc | 0.68% | 0.77% |
| Okta Inc | 0.66% | 0.71% |
| Xpo Inc | 0.66% | 0.75% |
| Burlington Stores Inc | 0.64% | 0.62% |
| US Foods Holding Corp | 0.62% | 0.70% |
| United Therapeutics Corp | 0.61% | 0.71% |
| Woodward Inc | 0.60% | 0.79% |
| Rb Global Inc | 0.57% | 0.67% |
Source: SEC Form N-PORT
DMIDX top 10
- Dreyfus Institutional Preferred Money Market Funds — 0.88%
- Illumina Inc — 0.86%
- Twilio Inc — 0.83%
- Technipfmc Plc — 0.80%
- Curtiss-wright Corp — 0.74%
- Carpenter Technology Corp — 0.72%
- Ati Inc — 0.71%
- Nvent Electric Plc — 0.69%
- Everpure Inc — 0.68%
- Okta Inc — 0.66%
XJH top 10
- Blackrock Global — 3.40%
- Twilio Inc — 0.97%
- Carpenter Technology Corp — 0.95%
- Mks Inc — 0.93%
- Curtiss-wright Corp — 0.87%
- Nvent Electric Plc — 0.85%
- Entegris Inc — 0.85%
- Ati Inc — 0.83%
- Illumina Inc — 0.82%
- Technipfmc Plc — 0.82%
FAQ
What is the difference between DMIDX and XJH?
DMIDX (BNY Mellon Midcap Index Fund, Inc.) and XJH (iShares ESG Select Screened S&P Mid-Cap ETF) are both mutual funds. XJH is cheaper at 0.12% vs 0.25% — a difference of $13 a year per $10,000 invested.
Which is cheaper, DMIDX or XJH?
XJH has the lower expense ratio (0.12%).
Should I own both DMIDX and XJH?
Because their portfolios differ, owning both can add diversification — check how they fit your overall allocation.
Educational comparison based on public filings; not investment advice. Past performance does not guarantee future results.