Independent fund research. Built on SEC filings.

How we research funds

Fund comparison

DMIDX vs. XJH: which is better?

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

DMIDXXJH
TypeMutual fundETF
Fund familyBNY Mellon / DreyfusiShares
CategoryMid-CapMid-Cap
Expense ratio0.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 holdings402362
Portfolio turnover14%2%
Returns as ofDec 31, 2025Dec 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.

Shared top holdings
HoldingDMIDXXJH
Illumina Inc0.86%0.82%
Twilio Inc0.83%0.97%
Technipfmc Plc0.80%0.82%
Curtiss-wright Corp0.74%0.87%
Carpenter Technology Corp0.72%0.95%
Ati Inc0.71%0.83%
Nvent Electric Plc0.69%0.85%
Everpure Inc0.68%0.77%
Okta Inc0.66%0.71%
Xpo Inc0.66%0.75%
Burlington Stores Inc0.64%0.62%
US Foods Holding Corp0.62%0.70%
United Therapeutics Corp0.61%0.71%
Woodward Inc0.60%0.79%
Rb Global Inc0.57%0.67%

Source: SEC Form N-PORT

DMIDX top 10

  1. Dreyfus Institutional Preferred Money Market Funds — 0.88%
  2. Illumina Inc — 0.86%
  3. Twilio Inc — 0.83%
  4. Technipfmc Plc — 0.80%
  5. Curtiss-wright Corp — 0.74%
  6. Carpenter Technology Corp — 0.72%
  7. Ati Inc — 0.71%
  8. Nvent Electric Plc — 0.69%
  9. Everpure Inc — 0.68%
  10. Okta Inc — 0.66%

XJH top 10

  1. Blackrock Global — 3.40%
  2. Twilio Inc — 0.97%
  3. Carpenter Technology Corp — 0.95%
  4. Mks Inc — 0.93%
  5. Curtiss-wright Corp — 0.87%
  6. Nvent Electric Plc — 0.85%
  7. Entegris Inc — 0.85%
  8. Ati Inc — 0.83%
  9. Illumina Inc — 0.82%
  10. 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.