MDY vs. MUB
MDY (SPDR S&P MidCap 400 ETF) and MUB (iShares National AMT-Free Muni Bond ETF) are both exchange-traded funds - MDY is a Mid Cap Blend Equities fund tracking the S&P MidCap 400 Index, while MUB is a Municipal Bonds fund tracking the S&P National AMT-Free Municipal Bond Index. Both are passively managed. Over the past 10 years, MDY returned 11.33%/yr vs 1.92%/yr for MUB. At a correlation of -0.04, they often move in opposite directions. MDY charges 0.23%/yr vs 0.07%/yr for MUB.
Performance
MDY vs. MUB - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, MDY achieves a 15.28% return, which is significantly higher than MUB's 1.28% return. Over the past 10 years, MDY has outperformed MUB with an annualized return of 11.33%, while MUB has yielded a comparatively lower 1.92% annualized return.
MDY
- 1D
- 0.71%
- 1M
- 3.51%
- YTD
- 15.28%
- 6M
- 13.84%
- 1Y
- 27.52%
- 3Y*
- 15.07%
- 5Y*
- 7.99%
- 10Y*
- 11.33%
MUB
- 1D
- -0.01%
- 1M
- 0.63%
- YTD
- 1.28%
- 6M
- 1.80%
- 1Y
- 6.40%
- 3Y*
- 3.35%
- 5Y*
- 0.80%
- 10Y*
- 1.92%
MDY vs. MUB - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
MDY SPDR S&P MidCap 400 ETF | 15.28% | 7.19% | 13.64% | 16.07% | -13.28% | 24.53% | 13.50% | 25.78% | -11.29% | 15.93% |
MUB iShares National AMT-Free Muni Bond ETF | 1.28% | 3.78% | 1.26% | 5.56% | -7.34% | 1.02% | 5.12% | 7.06% | 0.93% | 4.72% |
Correlation
The correlation between MDY and MUB is 0.33, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.33 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.26 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.18 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.05 |
Correlation (All Time) Calculated using the full available price history since Sep 10, 2007 | -0.04 |
The correlation between MDY and MUB shifts across timeframes, from -0.04 (all time) to 0.33 (1 year), reflecting how their relationship changes across market environments.
Compare stocks, funds, or ETFs
Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.
Return for Risk
MDY vs. MUB — Risk / Return Rank
MDY
MUB
MDY vs. MUB - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for SPDR S&P MidCap 400 ETF (MDY) and iShares National AMT-Free Muni Bond ETF (MUB). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.
Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.
| MDY | MUB | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -0.54 | ||
| Sortino ratioReturn per unit of downside risk | -0.75 | ||
| Omega ratioGain probability vs. loss probability | 1.29 | 1.44 | -0.16 |
| Calmar ratioReturn relative to maximum drawdown | 2.91 | 2.22 | +0.69 |
| Martin ratioReturn relative to average drawdown | 10.60 | 7.77 | +2.83 |
Loading charts...
Drawdowns
MDY vs. MUB - Drawdown Comparison
The maximum MDY drawdown since its inception was -55.33%, which is greater than MUB's maximum drawdown of -13.68%. Use the drawdown chart below to compare losses from any high point for MDY and MUB.
Loading charts...
Drawdown Indicators
| MDY | MUB | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -55.33% | -13.68% | -41.65% |
Max Drawdown (1Y)Largest decline over 1 year | -8.82% | -2.79% | -6.03% |
Max Drawdown (3Y)Largest decline over 3 years | -24.03% | -5.34% | -18.69% |
Max Drawdown (5Y)Largest decline over 5 years | -24.03% | -11.88% | -12.15% |
Max Drawdown (10Y)Largest decline over 10 years | -42.22% | -13.68% | -28.54% |
Current DrawdownCurrent decline from peak | 0.00% | -0.66% | +0.66% |
Average DrawdownAverage peak-to-trough decline | -7.02% | -2.23% | -4.79% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 2.42% | 0.80% | +1.62% |
Volatility
MDY vs. MUB - Volatility Comparison
SPDR S&P MidCap 400 ETF (MDY) has a higher volatility of 5.04% compared to iShares National AMT-Free Muni Bond ETF (MUB) at 1.01%. This indicates that MDY's price experiences larger fluctuations and is considered to be riskier than MUB based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| MDY | MUB | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 5.04% | 1.01% | +4.03% |
Volatility (6M)Calculated over the trailing 6-month period | 11.68% | 2.25% | +9.43% |
Volatility (1Y)Calculated over the trailing 1-year period | 15.83% | 2.90% | +12.93% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 19.82% | 4.06% | +15.76% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 21.21% | 4.92% | +16.29% |
MDY vs. MUB - Expense Ratio Comparison
MDY has a 0.23% expense ratio, which is higher than MUB's 0.07% expense ratio. However, both funds are considered low-cost compared to the broader market, where average expense ratios usually range from 0.3% to 0.9%.
Dividends
MDY vs. MUB - Dividend Comparison
MDY's dividend yield for the trailing twelve months is around 1.03%, less than MUB's 3.17% yield.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
MDY SPDR S&P MidCap 400 ETF | 1.03% | 1.15% | 1.18% | 1.21% | 1.37% | 0.96% | 1.12% | 1.34% | 1.39% | 1.18% | 1.31% | 1.35% |
MUB iShares National AMT-Free Muni Bond ETF | 3.17% | 3.14% | 3.01% | 2.65% | 2.11% | 1.81% | 2.11% | 2.42% | 2.46% | 2.26% | 2.21% | 2.51% |
Frequently Asked Questions
MDY and MUB have a correlation of 0.33, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
MDY has higher volatility (5.04%) compared to MUB (1.01%). In terms of maximum drawdown, MDY dropped -55.33% vs MUB's -13.68%.
On 10-year performance, MDY leads with 11.33% vs 1.92% for MUB. On fees, MUB is cheaper at 0.07% per year. On volatility, MUB has been the lower-risk option at 1.01%. The better choice depends on whether you care most about return, fees, risk, or income.
Over the 10-year period, MDY has performed better with a 11.33% return vs 1.92%. Past performance does not guarantee future results, so compare this with risk, fees, and fund exposure.
MUB is cheaper with a 0.07% expense ratio, compared with 0.23% for MDY.
MUB has the higher dividend yield at 3.17%, compared with 1.03% for MDY.
MDY is categorized as Mid Cap Blend Equities, while MUB is Municipal Bonds. MDY tracks S&P MidCap 400 Index, while MUB tracks S&P National AMT-Free Municipal Bond Index. They also come from different issuers: State Street and iShares. Their fees differ too: 0.23% for MDY and 0.07% for MUB.
MUB currently has the higher Sharpe Ratio (2.16 vs 1.62), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.
Find the right allocation for MDY and MUB
Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.
Open Portfolio Optimizer