BOSTON ( TheStreet) -- Shares of medium-sized companies are outpacing blue chips year, and the rally might not be over for these five mid-cap stocks.

5. Lincoln Educational Services ( LINC) provides career education.

The numbers: Third-quarter profit more than doubled to $14 million, or 50 cents a share, as revenue grew 48% to $148 million. Lincoln's gross margin rose from 63% to 65%, and its operating margin increased from 10% to 16%. The company has a strong financial position, with $38 million of cash and $37 million of debt.

The stock: Lincoln has advanced 64% this year, beating major U.S. indices. The stock trades at a price-to-earnings ratio of 15, a discount to the market and education peers. Lincoln doesn't pay dividends.

4. DeVry ( DV) offers training courses and degree programs at its schools.

The numbers: Fiscal first-quarter net income increased 57% to $55 million, or 76 cents a share, as revenue grew 42% to $431 million. DeVry's gross margin remained steady at 57%, and its operating margin rose from 15% to 18%. A quick ratio of 0.9 indicates less-than-ideal liquidity. A debt-to-equity ratio of 0.1 demonstrates modest leverage.

The stock: DeVry has fallen 6% this year, lagging behind major U.S. indices. The stock trades at a price-to-earnings ratio of 21, on par with the market and education peers. The shares pay a 0.3% dividend yield.

3. Tyler Technologies ( TYL) provides technology services to government agencies.

The numbers: Third-quarter net income rose 18% to $7.5 million and earnings per share climbed 25% to 20 cents, boosted by a lower share count. Revenue grew 8% to $74 million. Tyler's gross margin remained steady at 47%, and its operating margin was unchanged at 17%. The company has a strong financial position, with $7.9 million of cash and just $2.1 million of debt.

The stock: Tyler Technologies has rallied 67% this year, beating major U.S. indices. The stock trades at a price-to-earnings ratio of 29, a premium to the market, but a discount to application software peers. The company doesn't pay dividends.

2. Balchem ( BCPC) sells specialty chemicals.

The numbers: Third-quarter net income increased 43% to $6.9 million, or 36 cents a share, as revenue dropped 7% to $54 million. Balchem's gross margin rose from 25% to 30%, and its operating margin expanded from 12% to 19%. The company has an admirable financial position, with $39 million of cash and $6.6 million of debt.

The stock: Balchem has risen 23% this year, more than the Dow Jones Industrial Average and S&P 500 Index. The stock trades at a price-to-earnings ratio of 23, a premium to the market, but a discount to specialty chemical peers. The shares pay a 0.4% dividend yield.

1. Monro Muffler Brake ( MNRO) repairs cars and sells tires.

The numbers: Fiscal second-quarter profit increased 30% to $10 million, or 49 cents a share, as revenue grew 14% to $137 million. Monro's gross margin fell from 46% to 43%, but its operating margin rose from 11% to 13%. The company holds $4 million of cash and $83 million of debt.

The stock: Monro Muffler Brake has gained 20% this year, more than the Dow, but less than the S&P 500. The stock trades at a price-to-earnings ratio of 22, a premium to the market and auto retailers. The shares pay a 0.9% dividend yield.

Now see five large-cap stocks set to gain >>>