MSFT vs OXY: Microsoft Corporation vs Occidental Petroleum Corporation Historical Returns & Investment Comparison

This MSFT vs OXY comparison analyzes the historical stock performance of Microsoft Corporation and Occidental Petroleum 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 Microsoft Corporation and Occidental Petroleum 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 1986 to 2025 (40 years)

Head-to-Head Record

26
MSFT Wins
0
Ties
14
OXY Wins

Over the 40-year comparison period, Microsoft Corporation outperformed Occidental Petroleum Corporation in 26 years, while Occidental Petroleum Corporation outperformed Microsoft Corporation in 14 years.

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%)

OXY - Occidental Petroleum Corporation

Average Annual Return:+9.70%
Best Year:+104.50% (2022)
Worst Year:-58.03% (2020)
Win Rate:57.5% (23/40 years)
Total Value:$79,985.75
Total Gain:+$69,985.75 (+699.86%)

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

Understanding MSFT vs OXY Performance

When comparing Microsoft Corporation and Occidental Petroleum 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 Microsoft Corporation grew to $63,781,898, compared to $79,986 for Occidental Petroleum Corporation over the same period.

Year-by-Year Comparison

YearMSFT ReturnMSFT CumulativeOXY ReturnOXY CumulativeDifferenceWinner
1986 (Start)-$10,000.00-$10,000.00-Initial Investment
1987+72.32%$17,232.21-2.98%$9,701.78+75.30% (MSFT)MSFT
1988+127.22%$39,155.81-9.73%$8,757.65+136.96% (MSFT)MSFT
1989-4.91%$37,233.03+8.39%$9,492.65-13.30% (OXY)OXY
1990+62.24%$60,406.07+28.55%$12,202.78+33.69% (MSFT)MSFT
1991+69.58%$102,435.17-33.05%$8,170.35+102.62% (MSFT)MSFT
1992+123.24%$228,680.64-2.02%$8,005.29+125.26% (MSFT)MSFT
1993+12.34%$256,889.66-4.54%$7,641.52+16.88% (MSFT)MSFT
1994-5.29%$243,309.53+2.02%$7,796.22-7.31% (OXY)OXY
1995+52.57%$371,227.53+15.83%$9,030.31+36.74% (MSFT)MSFT
1996+45.79%$541,228.97+14.07%$10,301.27+31.72% (MSFT)MSFT
1997+84.12%$996,524.76+12.65%$11,604.76+71.47% (MSFT)MSFT
1998+58.35%$1,577,958.22+30.38%$15,129.85+27.97% (MSFT)MSFT
1999+111.53%$3,337,930.90-39.41%$9,166.77+150.95% (MSFT)MSFT
2000+65.60%$5,527,711.79+33.04%$12,195.03+32.57% (MSFT)MSFT
2001-62.79%$2,056,960.51+22.19%$14,900.98-84.98% (OXY)OXY
2002+52.74%$3,141,755.21+13.76%$16,951.57+38.98% (MSFT)MSFT
2003-22.88%$2,422,863.26+11.15%$18,842.14-34.03% (OXY)OXY
2004+2.80%$2,490,701.94+49.70%$28,206.87-46.90% (OXY)OXY
2005+8.81%$2,710,135.61+41.95%$40,039.86-33.14% (OXY)OXY
2006-1.01%$2,682,698.63+43.60%$57,495.78-44.61% (OXY)OXY
2007+12.86%$3,027,729.87+15.47%$66,388.12-2.60% (OXY)OXY
2008+20.84%$3,658,796.67+67.52%$111,215.53-46.68% (OXY)OXY
2009-43.79%$2,056,771.16-22.04%$86,702.32-21.74% (OXY)OXY
2010+53.44%$3,155,957.24+33.52%$115,762.91+19.92% (MSFT)MSFT
2011-7.94%$2,905,242.80+20.19%$139,135.72-28.13% (OXY)OXY
2012-4.75%$2,767,111.96-2.52%$135,625.82-2.23% (OXY)OXY
2013+2.60%$2,838,991.28-18.64%$110,343.92+21.24% (MSFT)MSFT
2014+39.54%$3,961,633.63+25.22%$138,168.45+14.33% (MSFT)MSFT
2015+28.42%$5,087,641.85-7.72%$127,507.03+36.14% (MSFT)MSFT
2016+21.88%$6,200,739.95-12.70%$111,316.40+34.58% (MSFT)MSFT
2017+16.51%$7,224,217.07+10.30%$122,776.44+6.21% (MSFT)MSFT
2018+39.74%$10,095,202.03+6.92%$131,278.05+32.82% (MSFT)MSFT
2019+20.22%$12,136,360.37-13.43%$113,653.92+33.64% (MSFT)MSFT
2020+58.26%$19,206,911.25-29.00%$80,693.94+87.26% (MSFT)MSFT
2021+39.94%$26,878,701.70-58.03%$33,868.75+97.97% (MSFT)MSFT
2022+55.79%$41,874,319.16+66.37%$56,345.87-10.58% (OXY)OXY
2023-27.69%$30,280,494.98+104.50%$115,225.33-132.18% (OXY)OXY
2024+58.35%$47,949,092.29-1.03%$114,038.93+59.38% (MSFT)MSFT
2025+14.50%$54,902,457.42-16.39%$95,352.39+30.89% (MSFT)MSFT
2026+16.17%$63,781,897.96-16.12%$79,985.75+32.29% (MSFT)MSFT

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

Company Profiles

1

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.
2

Occidental Petroleum Corporation

OXY

Occidental is an international energy company with assets in the United States, Middle East, and North Africa. It is one of the largest oil producers in the U.S., including a leading producer in the Permian and DJ basins.

Key Innovations

  • Direct Air Capture (DAC) technology
  • Enhanced Oil Recovery (EOR) using CO2

Business Segments

  • Oil and Gas
    Exploration and production.
  • Chemical (OxyChem)
    Manufacturing of PVC, caustic soda, and chlorine.
  • Midstream and Marketing
    Processing, transportation, and power generation.

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.