Trailing P/E uses historical earnings data, typically the past four quarters, to calculate the ratio. Forward P/E uses estimated future earnings to determine the ratio. Forward P/E is useful for evaluating a company's valuation based on anticipated future performance.