Margins matter. The more Quality Systems (Nasdaq: QSII) keeps of each buck it earns in revenue, the more money it has to invest in growth, fund new strategic plans, or (gasp!) distribute to shareholders. Healthy margins often separate pretenders from the best stocks in the market. That's why I check on my holdings' margins at least once a quarter. I'm looking for the absolute numbers, comparisons to sector peers and competitors, and any trend that may tell me how strong Quality Systems' competitive position could be.

Here's the current margin snapshot for Quality Systems and some of its sector and industry peers and direct competitors.


TTM Gross Margin

TTM Operating Margin

TTM Net Margin

 Quality Systems 62.1% 25.5% 16.3%
 Cerner (Nasdaq: CERN) 83.3% 18.5% 12.2%
 Computer Programs & Systems (Nasdaq: CPSI) 40.4% 16.9% 10.9%
 Medidata Solutions (Nasdaq: MDSO) 66.6% 8.7% 5.4%

Source: Capital IQ, a division of Standard & Poor's. TTM = trailing 12 months.

Unfortunately, that table doesn't tell us much about where Quality Systems has been, or where it's going. A company with rising gross and operating margins often fuels its growth by increasing demand for its products. If it sells more units while keeping costs in check, its profitability increases. Conversely, a company with gross margins that inch downward over time is often losing out to competition and possibly engaging in a race to the bottom on prices. If it can't make up for this problem by cutting costs -- and most companies can't -- then both the business and its shares face a decidedly bleak outlook.

Of course, over the short term, the kind of economic shocks we recently experienced can drastically affect a company's profitability. That's why I like to look at five fiscal years' worth of margins, along with the results for the trailing 12 months (TTM), the last fiscal year, and the last fiscal quarter (LFQ). You can't always reach a hard conclusion about your company's health, but you can better understand what to expect and what to watch.

Here's the margin picture for Quality Systems over the past few years.

Source: Capital IQ, a division of Standard & Poor's. Dollar amounts in millions. FY= fiscal year. TTM = trailing 12 months.

(Because of seasonality in some businesses, the numbers for the last period on the right -- the TTM figures -- aren't always comparable to the FY results preceding them.)

Here's how the stats break down:

  • Over the past five years, gross margin peaked at 67.7% and averaged 65.3%. Operating margin peaked at 32.4% and averaged 29.9%. Net margin peaked at 21.5% and averaged 19.5%.
  • TTM gross margin is 62.1%, 320 basis points worse than the five-year average. TTM operating margin is 25.5%, 440 basis points worse than the five-year average. TTM net margin is 16.3%, 320 basis points worse than the five-year average.

With recent TTM margins all below historical averages, Quality Systems has some work to do.

If you take the time to read past the headlines and crack a filing now and then, you're probably ahead of 95% of the market's individual investors. To stay ahead, learn more about how I use analysis like this to help me uncover the best returns in the stock market. Got an opinion on the margins at Quality Systems? Let us know in the comments section below.