DLR vs MSFT: Digital Realty Trust, Inc. vs Microsoft Corporation Historical Returns & Investment Comparison

This DLR vs MSFT comparison analyzes the historical stock performance of Digital Realty Trust, Inc. and Microsoft Corporation side-by-side. Using real, adjusted market data, this tool shows how identical investments in both stocks would have performed over time—highlighting differences in returns, volatility, and consistency across market cycles.

Use the interactive calculator below to adjust the investment amount and time period, visualizing how Digital Realty Trust, Inc. and Microsoft Corporation have historically performed against each other.

Compare Stock Performance

Select two stocks and an investment amount to see how they compare over time.

Compare any two stocks to see which performed better historically

Performance Summary

$10,000 invested from 2004 to 2025 (22 years)

Head-to-Head Record

11
DLR Wins
0
Ties
11
MSFT Wins

Over the 22-year comparison period, Digital Realty Trust, Inc. outperformed Microsoft Corporation in 11 years, while Microsoft Corporation outperformed Digital Realty Trust, Inc. in 11 years.

DLR - Digital Realty Trust, Inc.

Average Annual Return:+20.35%
Best Year:+76.28% (2005)
Worst Year:-40.40% (2022)
Win Rate:77.3% (17/22 years)
Total Value:$310,674.38
Total Gain:+$300,674.38 (+3006.74%)

MSFT - Microsoft Corporation

Average Annual Return:+31.68%
Best Year:+127.22% (1987)
Worst Year:-62.79% (2000)
Win Rate:77.5% (31/40 years)
Total Value:$63,781,897.96
Total Gain:+$63,771,897.96 (+637718.98%)

Overall Winner: MSFT with an average annual return of 31.68% (vs 20.35% for DLR)

Understanding DLR vs MSFT Performance

When comparing Digital Realty Trust, Inc. and Microsoft Corporation, investors should consider multiple factors beyond just total returns. Volatility, consistency of growth, dividend payments, and sector-specific risks all play crucial roles in determining which stock might be better suited for your investment strategy and risk tolerance.

Historical performance data shows how each stock responded to market downturns, economic expansions, and company-specific events. While past performance doesn't guarantee future results, understanding these patterns can help inform investment decisions and portfolio allocation strategies.

Cumulative Growth Comparison

A $10,000 investment in Digital Realty Trust, Inc. grew to $310,674, compared to $63,781,898 for Microsoft Corporation over the same period.

Year-by-Year Comparison

YearDLR ReturnDLR CumulativeMSFT ReturnMSFT CumulativeDifferenceWinner
2004 (Start)-$10,000.00-$10,000.00-Initial Investment
2005+13.56%$11,355.93+8.81%$2,710,135.61+4.75% (DLR)DLR
2006+76.28%$20,017.77-1.01%$2,682,698.63+77.29% (DLR)DLR
2007+56.31%$31,288.96+12.86%$3,027,729.87+43.44% (DLR)DLR
2008+14.41%$35,797.21+20.84%$3,658,796.67-6.43% (MSFT)MSFT
2009-11.63%$31,633.57-43.79%$2,056,771.16+32.15% (DLR)DLR
2010+66.29%$52,602.84+53.44%$3,155,957.24+12.85% (DLR)DLR
2011+6.45%$55,993.34-7.94%$2,905,242.80+14.39% (DLR)DLR
2012+33.92%$74,988.59-4.75%$2,767,111.96+38.68% (DLR)DLR
2013+6.64%$79,967.72+2.60%$2,838,991.28+4.04% (DLR)DLR
2014-24.46%$60,409.30+39.54%$3,961,633.63-64.00% (MSFT)MSFT
2015+41.57%$85,518.43+28.42%$5,087,641.85+13.14% (DLR)DLR
2016+20.00%$102,619.15+21.88%$6,200,739.95-1.88% (MSFT)MSFT
2017+33.86%$137,367.52+16.51%$7,224,217.07+17.36% (DLR)DLR
2018+18.47%$162,738.18+39.74%$10,095,202.03-21.27% (MSFT)MSFT
2019-1.93%$159,589.62+20.22%$12,136,360.37-22.15% (MSFT)MSFT
2020+20.31%$192,003.19+58.26%$19,206,911.25-37.95% (MSFT)MSFT
2021+22.15%$234,524.98+39.94%$26,878,701.70-17.80% (MSFT)MSFT
2022+34.73%$315,983.30+55.79%$41,874,319.16-21.06% (MSFT)MSFT
2023-40.40%$188,325.96-27.69%$30,280,494.98-12.71% (MSFT)MSFT
2024+36.46%$256,995.11+58.35%$47,949,092.29-21.89% (MSFT)MSFT
2025+35.24%$347,566.63+14.50%$54,902,457.42+20.74% (DLR)DLR
2026-10.61%$310,674.38+16.17%$63,781,897.96-26.79% (MSFT)MSFT

Annual returns include dividends and stock splits. Cumulative values show growth of $10,000 invested from the first year. Positive difference means DLR outperformed MSFT that year.

Company Profiles

1

Digital Realty Trust, Inc.

DLR

Digital Realty Trust Inc. is a real estate investment trust (REIT) that specializes in acquiring, owning, developing, and operating data centers globally. It provides essential digital infrastructure, focusing on building and managing the physical spaces where digital information resides, including land, buildings, power, cooling, and security systems for data centers. The company generates revenue primarily through leasing data center space and providing high-speed connectivity services.

Key Innovations

  • PlatformDIGITAL® and PDx® (Pervasive Datacenter Architecture) for global data center solutions.
  • Digital Realty Innovation Lab (DRIL) and ePlus AI Experience Center for advancing AI and hybrid cloud deployments, including optimizing AI infrastructure.
  • AI Infrastructure Advancement: Supporting NVIDIA AI Factory Research Center and NVIDIA DSX Blueprint; facilities designed for high-density power, cooling, and robust connectivity for AI.
  • Commitment to sustainability initiatives, including carbon emission reduction goals and climate neutrality.

Business Segments

  • Data Center Solutions
    Provides secure, reliable, and interconnected data center space, including colocation services.
  • Interconnection Services
    Offers high-speed connectivity and network services within and between its data centers.
2

Microsoft Corporation

MSFT

Microsoft Corporation is a global technology powerhouse that develops, licenses, and supports a wide range of software products, services, and devices. As of 2026, the company has successfully transitioned into an 'AI-first' organization, leveraging its strategic partnership with OpenAI to integrate generative AI across its entire tech stack. Microsoft is the dominant provider in enterprise computing through its Windows operating system and Office productivity suite, and it is a leading player in the global cloud market with Azure. Its business model centers on digital transformation, cloud infrastructure, and the emerging economy of autonomous AI agents.

Key Innovations

  • Azure AI Services & Copilot Ecosystem
  • Windows 11 and Next-Gen 'Copilot+' AI PC architecture
  • Microsoft 365 Copilot (Generative AI for productivity)
  • HoloLens and Mixed Reality (Industrial Metaverse)
  • Custom Silicon: Azure Maia AI Accelerator and Azure Cobalt CPU
  • Topological Quantum Computing (Majorana 1 chip)
  • Agentic AI: Autonomous digital coworkers built on Copilot Studio

Business Segments

  • Intelligent Cloud
    The company's primary growth engine, consisting of public, private, and hybrid server products and cloud services. Key offerings include Azure—a comprehensive cloud platform for computing, networking, and AI—as well as SQL Server, Windows Server, GitHub, and Nuance Healthcare. In 2026, this segment is heavily focused on scaling AI 'superfactories' and providing the infrastructure for large-scale generative AI workloads.
  • Productivity and Business Processes
    Focuses on productivity, communication, and information services. It includes Microsoft 365 (formerly Office), which has evolved into a Copilot-integrated subscription service for both commercial and consumer users. This segment also encompasses LinkedIn (talent and marketing solutions), Dynamics 365 (cloud-based ERP and CRM), and the Microsoft Power Platform for low-code development and hyperautomation.
  • More Personal Computing
    Encompasses products and services geared toward end-users and developers across devices. This includes Windows OEM and commercial licensing, Surface devices, Search and news advertising (Bing and Copilot), and Gaming. Following the acquisition of Activision Blizzard, the Gaming division includes Xbox hardware, content, and services like Game Pass, making Microsoft one of the largest video game publishers globally.

How This Comparison Works

Our stock comparison tool uses adjusted closing prices to calculate year-by-year returns for both stocks. This ensures an apples-to-apples comparison that accounts for:

  • Dividends: All dividend payments are reinvested
  • Stock splits: Historical prices are adjusted for all splits
  • Head-to-head record: Shows which stock outperformed each year
  • Statistical analysis: Average returns, best/worst years, and win rates

Share This Comparison

Important Disclaimer

This comparison tool is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Past performance is not indicative of future results. Historical returns include dividends and stock splits but do not account for taxes, fees, inflation, or individual circumstances. Stock market investments carry risk, including the potential loss of principal. Always consult with a qualified financial advisor before making investment decisions. The data presented is based on historical market data and may contain inaccuracies or delays.