New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls.
Read the Q3 2026 report
Afya Limited (AFYA) vs American Public Education, Inc. (APEI)
- Afya Limited AFYA 10.15 +4.21%
- American Public Education, Inc. APEI 42.55 +1.60%
Afya Limited and American Public Education, Inc. are both Education & Training Services companies. Afya Limited is the larger, with a market value of $929.2M against $774.2M — 1.2× the size. Afya Limited trades at the lower P/E: 5.9× against 16.9×. Afya Limited grew revenue faster over the last twelve months: 17.3% against 2.95%. Afya Limited has the higher net margin (20.5% vs 6.83%) and the lower return on invested capital (13.3% vs 21.3%). Across the 22 metrics below, Afya Limited leads on 15 and American Public Education, Inc. on 7.
Valuation
Profitability
| Metric | AFYA | APEI | Education & Training Services median |
|---|---|---|---|
| Gross margin | 63.92% | 56.20% | 54.45% |
| Operating margin | 32.90% | 9.21% | 4.42% |
| Net margin | 20.51% | 6.83% | 2.57% |
| Free cash flow margin | 29.61% | 8.36% | 6.89% |
| Return on equity | 16.36% | 15.55% | 3.61% |
| Return on assets | 8.58% | 8.57% | 1.26% |
| Return on invested capital | 13.29% | 21.31% | 0.00% |
Growth
Health
Dividend
Size
Any metric, up to five companies and an Excel export Powerpack