The pe ratio for Microsoft (MSFT) stock is 22.72 as of Friday, July 24 2026. It’s improved by -21.86% from its 12-month average of 29.08. MSFT’s forward pe ratio is 19.53. The p/e ratio is calculated by taking the latest closing price and dividing it by the diluted eps for the past 12 months.