Numbers can lie -- but they're the best first step in determining whether a stock is a buy. In this series, we use some carefully chosen metrics to size up a stock's true value based on the following clues:

• The current price multiples
• The consistency of past earnings and cash flow
• How much growth we can expect

Let's see what those numbers can tell us about how expensive or cheap Cognizant Technology Solutions (Nasdaq: CTSH) might be.

The current price multiples
First, we'll look at most investors' favorite metric: the P/E ratio. It divides the company's share price by its earnings per share -- the lower, the better.

Then, we'll take things up a notch with a more advanced metric: enterprise value to unlevered free cash flow. This divides the company's enterprise value (basically, its market cap plus its debt, minus its cash) by its unlevered free cash flow (its free cash flow, adding back the interest payments on its debt). Like the P/E, the lower this number is, the better.

Analysts argue about which is more important -- earnings or cash flow. Who cares? A good buy ideally has low multiples on both.

Cognizant has a P/E ratio of 26.6 and an EV/FCF ratio of 35.9 over the trailing 12 months. If we stretch and compare current valuations to the five-year averages for earnings and free cash flow, Cognizant has a P/E ratio of 40.0 and a five-year EV/FCF ratio of 48.2.

A positive one-year ratio under 10 for both metrics is ideal (at least in my opinion). For a five-year metric, under 20 is ideal.

Cognizant is zero for four on hitting the ideal targets, but let's see how it compares against some competitors and industry-mates.

Company

1-Year P/E

1-Year EV/FCF

5-Year P/E

5-Year EV/FCF

Cognizant 26.6 35.9 40.0 48.2
Accenture 16.7 10.1 22.7 13.2
Computer Sciences Corporation NM 6.9 NM 6.1
Syntel 18.7 27.9 22.8 30.7

Source: S&P Capital IQ; NM = not meaningful due to losses.

Numerically, we've seen how Cognizant's valuation rates on both an absolute and relative basis. Next, let's examine...

The consistency of past earnings and cash flow
An ideal company will be consistently strong in its earnings and cash flow generation.

In the past five years, Cognizant's net income margin has ranged from 14.4% to 16.4%. In that same time frame, unlevered free cash flow margin has ranged from 7.6% to 18.2%.

How do those figures compare with those of the company's peers? See for yourself:

Source: S&P Capital IQ; margin ranges are combined.

Additionally, over the last five years, Cognizant has tallied up five years of positive earnings and five years of positive free cash flow.

Next, let's figure out...

How much growth we can expect
Analysts tend to comically overstate their five-year growth estimates. If you accept them at face value, you will overpay for stocks. But while you should definitely take the analysts' prognostications with a grain of salt, they can still provide a useful starting point when compared to similar numbers from a company's closest rivals.

Let's start by seeing what this company's done over the past five years. In that time period, Cognizant has put up past EPS growth rates of 29.9%. Meanwhile, Wall Street's analysts expect future growth rates of 20.8%.

Here's how Cognizant compares to its peers for trailing five-year growth (due to losses, CSC's trailing growth rate isn't meaningful):

Source: S&P Capital IQ; EPS growth shown.

And here's how it measures up with regard to the growth analysts expect over the next five years:

Source: S&P Capital IQ; estimates for EPS growth.

The bottom line
The pile of numbers we've plowed through has shown us the price multiples shares of Cognizant are trading at, the volatility of its operational performance, and what kind of growth profile it has -- both on an absolute and a relative basis.

The more consistent a company's performance has been and the more growth we can expect, the more we should be willing to pay. We've gone well beyond looking at a 26.6 P/E ratio, and we see premium price multiples both on an absolute basis and versus peers. We see a strong margin range, although Accenture and Syntel also have strong ranges. In terms of growth, Cognizant leads this group in both past growth and analyst expectations for future growth.

As another data point, our CAPS community rates Cognizant four stars (out of five). But all this is just a start. If you find Cognizant's numbers or story compelling, don't stop. Continue your due diligence process until you're confident one way or the other. As a start, add it to My Watchlist to find all of our Foolish analysis.

I wrote about a stock that's flying under the radar in our brand new free report: "The Stocks Only the Smartest Investors Are Buying." I invite you to take a free copy to find out the name of the company I believe Warren Buffett would be interested in if he could still invest in small companies.

Anand Chokkavelu owns shares of Accenture, but he holds no other position in any company mentioned. Motley Fool newsletter services have recommended buying shares of Accenture. The Motley Fool has a disclosure policy. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. Try any of our Foolish newsletter services free for 30 days.