HPvsMicrosoft

HPQ and MSFT stock compared: price, dividend, valuation and results, from SEC filings.

MSFT

Microsoft Corporation

$517.99

Value $3.85T

-1.12%
MSFT's page

HP (HPQ) has a market value of $26.2B and Microsoft (MSFT) $3.85T. Over the last year, with dividends, HPQ moved +22.1% and MSFT +2.4%. The P/E is 10.7 for HPQ and 27.0 for MSFT. Dividend yield: HPQ 4.18%, MSFT 0.70%.

At a glance

The main figures of both. A bar only shows which number is larger, not which is better.

  • Market value

    HPQ$26.2B

    MSFT$3.85T

    MSFT is 147 times HPQ

  • Revenue, 12 months

    HPQ$59.2B

    MSFT$346B

    MSFT is 5.9 times HPQ

  • Net income, 12 months

    HPQ$2.5B

    MSFT$143B

    MSFT is 58 times HPQ

  • Operating margin

    HPQ5.5%

    MSFT47.1%

    41.6 points apart

  • ROIC

    HPQ31.0%

    MSFT28.7%

    2.3 points apart

  • P/E

    HPQ10.7

    MSFT27.0

    MSFT is 2.5 times HPQ

  • Dividend yield

    HPQ4.2%

    MSFT0.7%

    3.5 points apart

  • 5-year return

    HPQ+9.8%

    MSFT+60.6%

    50.8 points apart

A fainter bar means a negative number. The 5-year return includes dividends.

The price over time

Both start at 100 at the beginning of the period, so the lines show how much each changed. With dividends means each dividend buys more shares.

HPQ+9.8%

MSFT+60.6%

10015020222023202420252026
Returns by period
PeriodHPQWith dividendsMSFTWith dividends
1 year since November 14, 2025+22.1%Price +16.3%+2.4%Price +1.5%
3 years since November 16, 2023+14.4%+4.6% a yearPrice +1.1%+40.6%+12.0% a yearPrice +37.7%
5 years since November 15, 2021+9.8%+1.9% a yearPrice -9.0%+60.6%+9.9% a yearPrice +54.1%
10 years since November 16, 2016+153.3%+9.7% a yearPrice +80.5%+871.5%+25.5% a yearPrice +768.4%

Each cell: the total return with dividends, its yearly rate, and the price change alone. Before taxes and costs. Past returns do not predict future ones.

Every figure

As on each company's page. A description, not a recommendation: no one figure says which is better.

HPQHPMSFTMicrosoft

Valuation

HPQMSFT
Valuation
Price$28.52$517.99
Market value$26.2B$3.85T
Enterprise value (EV)$31.2B$3.89T
P/E10.727.0
P/E, 5-year median9.335.2
P/B–8.2
EV/EBIT9.723.8
Free cash flow yield14.8%1.6%

Results and growth

HPQMSFT
Results and growth
Revenue, 12 months$59.2B$346B
Net income, 12 months$2.5B$143B
Free cash flow, 12 months$3.9B$60.0B
Earnings per share, 12 months$2.61$19.16
Revenue growth, year on year3.2%17.8%
Revenue growth a year, past-0.5%over 5 years+14.6%over 5 years
EPS growth a year, past+6.0%over 5 years+17.4%over 5 years

Margins and returns on capital

HPQMSFT
Margins and returns on capital
Gross margin19.9%67.7%
Operating margin5.5%47.1%
Net margin4.1%41.2%
ROIC31.0%28.7%
ROE–34.3%

Balance sheet

HPQMSFT
Balance sheet
Cash$4.2B$64.5B
Total debt$10.3B$134B
Net debt / EBITDA1.20.2
Interest cover8.2×50.6×

Dividends and buybacks

HPQMSFT
Dividends and buybacks
Dividend yield4.2%0.7%
Dividend per share, 12 months$1.19$3.64
Dividend growth a year, past+10.6%over 5 years+10.2%over 5 years
Buyback yield3.3%0.6%
Shareholder yield7.4%1.3%

Last 12 months from the latest 10-Q and 10-K. Value, P/E and yields at today's price. A dash means the figure does not exist or did not pass our checks.

Questions: HPQ or MSFT

Didn't find what you were looking for?

Ask us
Which is bigger, HP or Microsoft?

By market value, Microsoft ($3.85T) is about 146.9 times HP ($26.2B), at today's prices.

How did HPQ and MSFT stock do over the last 10 years?

Since November 16, 2016, HPQ's price moved +80.5% and MSFT's +768.4%. With dividends: HPQ +153.3% (+9.7% a year), MSFT +871.5% (+25.5% a year). Past returns do not predict future ones.

Which pays the higher dividend, HPQ or MSFT?

The dividend yield at today's price is 4.18% for HP and 0.70% for Microsoft. Over the last twelve months they paid $1.19 and $3.64 per share.

What is the P/E of HPQ and MSFT?

At today's price, the P/E is 10.7 for HPQ and 27.0 for MSFT. The median of the last five years was 9.3 and 35.2, which shows where each stands against its own past.

Which has the higher profit margins, HP or Microsoft?

Over the last twelve months, the net margin was 4.1% for HP and 41.2% for Microsoft, and the operating margin 5.5% and 47.1%. Revenue was $59.2B and $346B.

Which is the better investment, HP or Microsoft?

The page does not answer that and does not suggest buying or selling. It puts the two companies' numbers side by side, from their SEC filings, for you to read and form your own view. The decision depends on your goals and situation.

Other comparisons

With each of the two, and with the largest in its sector.

Related pages

The other pages on US stocks, free to read. On the company pages, the last three fiscal years are open to everyone, five with a free account, and every year with Ploutos Investor.

Descriptive data from SEC filings and market prices.