PortfoliosLab logoPortfoliosLab logo
MSFT vs. LMT
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

MSFT vs. LMT - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Microsoft Corporation (MSFT) and Lockheed Martin Corporation (LMT). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, MSFT achieves a -11.10% return, which is significantly lower than LMT's 8.59% return. Over the past 10 years, MSFT has outperformed LMT with an annualized return of 24.97%, while LMT has yielded a comparatively lower 10.94% annualized return.


MSFT

1D
0.17%
1M
4.28%
YTD
-11.10%
6M
-10.58%
1Y
-6.98%
3Y*
9.26%
5Y*
12.20%
10Y*
24.97%

LMT

1D
1.37%
1M
2.66%
YTD
8.59%
6M
17.14%
1Y
10.54%
3Y*
7.35%
5Y*
8.55%
10Y*
10.94%
*Multi-year figures are annualized to reflect compound growth (CAGR)

MSFT vs. LMT - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
MSFT
Microsoft Corporation
-11.10%15.58%12.93%58.19%-28.02%52.48%42.53%57.56%20.80%40.73%
LMT
Lockheed Martin Corporation
8.59%2.47%10.02%-4.31%40.48%3.15%-6.49%52.55%-16.35%31.77%

Correlation

The correlation between MSFT and LMT is -0.05, meaning there is essentially no relationship between their price movements. Each responds to its own set of market drivers, making them strong candidates for combining in a diversified portfolio.


Correlation
Correlation (1Y)
Calculated over the trailing 1-year period

-0.05

Correlation (3Y)
Calculated over the trailing 3-year period

-0.07

Correlation (5Y)
Calculated over the trailing 5-year period

0.04

Correlation (10Y)
Calculated over the trailing 10-year period

0.17

Correlation (All Time)
Calculated using the full available price history since Mar 14, 1986

0.21

The correlation between MSFT and LMT shifts across timeframes, from -0.07 (3 years) to 0.21 (all time), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

MSFT:

$3.19T

LMT:

$119.95B

EPS

MSFT:

$16.79

LMT:

$20.61

PE Ratio

MSFT:

25.50

LMT:

25.18

PS Ratio

MSFT:

10.03

LMT:

1.61

PB Ratio

MSFT:

7.69

LMT:

16.02

Total Revenue (TTM)

MSFT:

$318.27B

LMT:

$75.12B

Gross Profit (TTM)

MSFT:

$217.41B

LMT:

$7.37B

EBITDA (TTM)

MSFT:

$200.96B

LMT:

$8.09B

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

MSFT vs. LMT — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

MSFT
MSFT Risk / Return Rank: 3030
Overall Rank
MSFT Sharpe Ratio Rank: 3030
Sharpe Ratio Rank
MSFT Sortino Ratio Rank: 2626
Sortino Ratio Rank
MSFT Omega Ratio Rank: 2626
Omega Ratio Rank
MSFT Calmar Ratio Rank: 3535
Calmar Ratio Rank
MSFT Martin Ratio Rank: 3434
Martin Ratio Rank

LMT
LMT Risk / Return Rank: 5151
Overall Rank
LMT Sharpe Ratio Rank: 5656
Sharpe Ratio Rank
LMT Sortino Ratio Rank: 4747
Sortino Ratio Rank
LMT Omega Ratio Rank: 4848
Omega Ratio Rank
LMT Calmar Ratio Rank: 5252
Calmar Ratio Rank
LMT Martin Ratio Rank: 5353
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

MSFT vs. LMT - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Microsoft Corporation (MSFT) and Lockheed Martin Corporation (LMT). 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.


MSFTLMTDifference
Sharpe ratioReturn per unit of total volatility

-0.68

Sortino ratioReturn per unit of downside risk

-0.91

Omega ratioGain probability vs. loss probability

0.97

1.09

-0.12

Calmar ratioReturn relative to maximum drawdown

-0.21

0.42

-0.63

Martin ratioReturn relative to average drawdown

-0.44

1.02

-1.46

MSFT vs. LMT - Sharpe Ratio Comparison

The current MSFT Sharpe Ratio is -0.28, which is lower than the LMT Sharpe Ratio of 0.40. The chart below compares the historical Sharpe Ratios of MSFT and LMT, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Sharpe Ratios by Period


MSFTLMTDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

-0.28

0.40

-0.68

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

0.46

0.38

+0.09

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

0.93

0.46

+0.46

Sharpe Ratio (All Time)

Calculated using the full available price history

0.75

0.38

+0.37

Drawdowns

MSFT vs. LMT - Drawdown Comparison

The maximum MSFT drawdown since its inception was -69.38%, smaller than the maximum LMT drawdown of -79.29%. Use the drawdown chart below to compare losses from any high point for MSFT and LMT.


Loading charts...

Drawdown Indicators


MSFTLMTDifference

Max Drawdown

Largest peak-to-trough decline

-69.38%

-79.29%

+9.91%

Max Drawdown (1Y)

Largest decline over 1 year

-33.91%

-25.15%

-8.76%

Max Drawdown (3Y)

Largest decline over 3 years

-33.91%

-31.79%

-2.12%

Max Drawdown (5Y)

Largest decline over 5 years

-37.15%

-31.79%

-5.36%

Max Drawdown (10Y)

Largest decline over 10 years

-37.15%

-36.67%

-0.48%

Current Drawdown

Current decline from peak

-20.53%

-22.79%

+2.26%

Average Drawdown

Average peak-to-trough decline

-21.78%

-26.84%

+5.06%

Ulcer Index

Depth and duration of drawdowns from previous peaks

16.00%

10.32%

+5.68%

Volatility

MSFT vs. LMT - Volatility Comparison

Microsoft Corporation (MSFT) has a higher volatility of 9.93% compared to Lockheed Martin Corporation (LMT) at 5.29%. This indicates that MSFT's price experiences larger fluctuations and is considered to be riskier than LMT based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


MSFTLMTDifference

Volatility (1M)

Calculated over the trailing 1-month period

9.93%

5.29%

+4.64%

Volatility (6M)

Calculated over the trailing 6-month period

22.32%

19.59%

+2.73%

Volatility (1Y)

Calculated over the trailing 1-year period

25.12%

26.57%

-1.45%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

26.61%

22.88%

+3.73%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

27.03%

23.70%

+3.33%

Dividends

MSFT vs. LMT - Dividend Comparison

MSFT's dividend yield for the trailing twelve months is around 0.83%, less than LMT's 2.63% yield.


PositionTTM20252024202320222021202020192018201720162015
LMT
Lockheed Martin Corporation
2.63%2.76%2.62%2.68%2.34%2.98%2.76%2.31%3.13%2.32%2.71%2.83%
MSFT
Microsoft Corporation
0.83%0.70%0.73%0.74%1.06%0.68%0.94%1.20%1.69%1.86%2.37%2.33%

Financials

MSFT vs. LMT - Financials Comparison

This section allows you to compare key financial metrics between Microsoft Corporation and Lockheed Martin Corporation. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


20.00B40.00B60.00B80.00B20222023202420252026
82.89B
18.02B
(MSFT) Total Revenue
(LMT) Total Revenue
Values in USD except per share items

MSFT vs. LMT - Profitability Comparison

The chart below illustrates the profitability comparison between Microsoft Corporation and Lockheed Martin Corporation over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

0.0%20.0%40.0%60.0%80.0%20222023202420252026
67.6%
11.5%
Portfolio components
MSFT - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported a gross profit of 56.06B and revenue of 82.89B. Therefore, the gross margin over that period was 67.6%.

LMT - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Lockheed Martin Corporation reported a gross profit of 2.08B and revenue of 18.02B. Therefore, the gross margin over that period was 11.5%.

MSFT - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported an operating income of 38.40B and revenue of 82.89B, resulting in an operating margin of 46.3%.

LMT - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Lockheed Martin Corporation reported an operating income of 2.06B and revenue of 18.02B, resulting in an operating margin of 11.5%.

MSFT - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Microsoft Corporation reported a net income of 31.78B and revenue of 82.89B, resulting in a net margin of 38.3%.

LMT - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Lockheed Martin Corporation reported a net income of 1.49B and revenue of 18.02B, resulting in a net margin of 8.3%.


Frequently Asked Questions


MSFT and LMT have a correlation of -0.05, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

MSFT has higher volatility (9.93%) compared to LMT (5.29%). In terms of maximum drawdown, MSFT dropped -69.38% vs LMT's -79.29%.

LMT currently has the higher Sharpe Ratio (0.40 vs -0.28), 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.

Portfolio Optimizer

Find the right allocation for MSFT and LMT

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