Comprehensive Stock Comparison
Compare Federal Agricultural Mortgage Corporation (AGM) vs Mastercard Incorporated (MA) Stock
Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.
Selected Stocks
Add up to 10 tickers. Use presets or search to get started.
Quick Verdict
| Category | Winner | Why |
|---|---|---|
| Growth | MA | 16.4% revenue growth vs AGM's -0.8% |
| Value | AGM | Lower P/E (8.4x vs 26.4x), PEG 0.56 vs 1.26 |
| Quality / Margins | MA | 45.6% net margin vs AGM's 11.3% |
| Stability / Safety | AGM | Beta 0.67 vs MA's 0.78 |
| Dividends | AGM | 5.1% yield, 14-year raise streak, vs MA's 0.6% |
| Momentum (1Y) | MA | -9.7% vs AGM's -21.7% |
| Efficiency (ROA) | MA | 27.6% ROA vs AGM's 0.5% |
Who Each Stock Is For
Income & stability
Growth exposure
Long-term compounding (10Y)
Sleep-well-at-night portfolio
Valuation efficiency (growth/$)
Defensive / Recession hedge
Business Model
What each company does and how it makes money
Federal Agricultural Mortgage Corporation (Farmer Mac) is a government-sponsored enterprise that provides a secondary market for agricultural and rural infrastructure loans in the United States. It makes money primarily through guarantee fees on loan-backed securities (about 60% of revenue) and net interest income from its retained loan portfolio (about 40%). Its key advantage is its government-sponsored status, which provides lower funding costs and regulatory advantages in the agricultural lending market.
Mastercard is a global payment technology company that operates a network connecting consumers, merchants, financial institutions, and governments. It generates revenue primarily from transaction processing fees—charging a small percentage of each payment volume—and from service fees for its data analytics, consulting, and security solutions. The company's moat lies in its massive two-sided network effect—the more merchants accept Mastercard, the more valuable it becomes to cardholders, and vice versa—creating a powerful ecosystem that's difficult to replicate.
Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
Financial Metrics Comparison
Side-by-side fundamentals across 2 stocks. BestLagging
Financial Scorecard
MA leads in 3 of 6 categories (Financial Metrics, Profitability & Efficiency). AGM leads in 2 (Valuation Metrics, Analyst Outlook). 1 tied.
Financial Metrics (TTM)
MA is the larger business by revenue, generating $32.8B annually — 20.3x AGM's $1.6B. MA is the more profitable business, keeping 45.6% of every revenue dollar as net income compared to AGM's 11.3%.
| Metric | AGMFederal Agricultu… | MAMastercard Incorp… |
|---|---|---|
| RevenueTrailing 12 months | $1.6B | $32.8B |
| EBITDAEarnings before interest/tax | $0 | $20.5B |
| Net IncomeAfter-tax profit | $182M | $15.0B |
| Free Cash FlowCash after capex | $80M | $17.1B |
| Gross MarginGross profit ÷ Revenue | — | +83.4% |
| Operating MarginEBIT ÷ Revenue | — | +59.2% |
| Net MarginNet income ÷ Revenue | +11.3% | +45.6% |
| FCF MarginFCF ÷ Revenue | +5.0% | +52.3% |
| Rev. Growth (YoY)Latest quarter vs prior year | — | — |
| EPS Growth (YoY)Latest quarter vs prior year | -20.1% | +24.2% |
Valuation Metrics
At 9.5x trailing earnings, AGM trades at a 70% valuation discount to MA's 31.3x P/E. Adjusting for growth (PEG ratio), AGM offers better value at 0.63x vs MA's 1.49x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | AGMFederal Agricultu… | MAMastercard Incorp… |
|---|---|---|
| Market CapShares × price | $1.5B | $457.8B |
| Enterprise ValueMkt cap + debt − cash | $31.4B | $465.7B |
| Trailing P/EPrice ÷ TTM EPS | 9.48x | 31.31x |
| Forward P/EPrice ÷ next-FY EPS est. | 8.36x | 26.43x |
| PEG RatioP/E ÷ EPS growth rate | 0.63x | 1.49x |
| EV / EBITDAEnterprise value multiple | — | 22.67x |
| Price / SalesMarket cap ÷ Revenue | 0.91x | 13.96x |
| Price / BookPrice ÷ Book value/share | 1.01x | 59.96x |
| Price / FCFMarket cap ÷ FCF | 18.36x | 26.68x |
Profitability & Efficiency
MA delivers a 193.0% return on equity — every $100 of shareholder capital generates $193 in annual profit, vs $11 for AGM. MA carries lower financial leverage with a 2.45x debt-to-equity ratio, signaling a more conservative balance sheet compared to AGM's 17.93x. On the Piotroski fundamental quality scale (0–9), MA scores 9/9 vs AGM's 4/9, reflecting strong financial health.
| Metric | AGMFederal Agricultu… | MAMastercard Incorp… |
|---|---|---|
| ROE (TTM)Return on equity | +10.6% | +193.0% |
| ROA (TTM)Return on assets | +0.5% | +27.6% |
| ROICReturn on invested capital | — | +56.5% |
| ROCEReturn on capital employed | — | +64.4% |
| Piotroski ScoreFundamental quality 0–9 | 4 | 9 |
| Debt / EquityFinancial leverage | 17.93x | 2.45x |
| Net DebtTotal debt minus cash | $29.9B | $7.9B |
| Cash & Equiv.Liquid assets | $931M | $11.1B |
| Total DebtShort + long-term debt | $30.8B | $19.0B |
| Interest CoverageEBIT ÷ Interest expense | — | 26.39x |
Total Returns (with DRIP)
A $10,000 investment in AGM five years ago would be worth $20,353 today (with dividends reinvested), compared to $14,586 for MA. Over the past 12 months, MA leads with a -9.7% total return vs AGM's -21.7%. The 3-year compound annual growth rate (CAGR) favors MA at 13.9% vs AGM's 7.0% — a key indicator of consistent wealth creation.
| Metric | AGMFederal Agricultu… | MAMastercard Incorp… |
|---|---|---|
| YTD ReturnYear-to-date | -10.6% | -8.0% |
| 1-Year ReturnPast 12 months | -21.7% | -9.7% |
| 3-Year ReturnCumulative with dividends | +22.4% | +47.9% |
| 5-Year ReturnCumulative with dividends | +103.5% | +45.9% |
| 10-Year ReturnCumulative with dividends | +491.0% | +515.7% |
| CAGR (3Y)Annualised 3-year return | +7.0% | +13.9% |
Risk & Volatility
AGM is the less volatile stock with a 0.67 beta — it tends to amplify market swings less than MA's 0.78 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. MA currently trades 85.9% from its 52-week high vs AGM's 74.8% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | AGMFederal Agricultu… | MAMastercard Incorp… |
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.67x | 0.78x |
| 52-Week HighHighest price in past year | $210.78 | $601.77 |
| 52-Week LowLowest price in past year | $146.69 | $465.59 |
| % of 52W HighCurrent price vs 52-week peak | +74.8% | +85.9% |
| RSI (14)Momentum oscillator 0–100 | 42.9 | 42.8 |
| Avg Volume (50D)Average daily shares traded | 90K | 3.2M |
Analyst Outlook
Wall Street rates AGM as "Buy" and MA as "Buy". Consensus price targets imply 47.8% upside for AGM (target: $233) vs 29.0% for MA (target: $667). For income investors, AGM offers the higher dividend yield at 5.15% vs MA's 0.59%.
| Metric | AGMFederal Agricultu… | MAMastercard Incorp… |
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Buy |
| Price TargetConsensus 12-month target | $233.00 | $667.00 |
| # AnalystsCovering analysts | 5 | 63 |
| Dividend YieldAnnual dividend ÷ price | +5.1% | +0.6% |
| Dividend StreakConsecutive years of raises | 14 | 14 |
| Dividend / ShareAnnual DPS | $8.12 | $3.07 |
| Buyback YieldShare repurchases ÷ mkt cap | +0.9% | +2.6% |
Historical Charts
Charts are rendered on first load. Hover for details.
Chart 1Total Return — 5 Years (Rebased to 100)
| Stock | Mar 20 | Feb 26 | Change |
|---|---|---|---|
| Federal Agricultura… (AGM) | 100 | 226.38 | +126.4% |
| Mastercard Incorpor… (MA) | 100 | 181.06 | +81.1% |
Federal Agricultura… (AGM) returned +104% over 5 years vs Mastercard Incorpor… (MA)'s +46%. A $10,000 investment in AGM 5 years ago would be worth $20,353 today (including dividends reinvested).
Chart 2Revenue Growth — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| Federal Agricultura… (AGM) | $332M | $1.6B | +385.1% |
| Mastercard Incorpor… (MA) | $10.8B | $32.8B | +204.3% |
Federal Agricultural Mortgage Corporation's revenue grew from $332M (2016) to $1.6B (2025) — a 19.2% CAGR. Mastercard Incorporated's revenue grew from $10.8B (2016) to $32.8B (2025) — a 13.2% CAGR.
Chart 3Net Margin Trend — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| Federal Agricultura… (AGM) | 23.3% | 11.3% | -51.4% |
| Mastercard Incorpor… (MA) | 37.7% | 45.6% | +21.2% |
Federal Agricultural Mortgage Corporation's net margin went from 23% (2016) to 11% (2025). Mastercard Incorporated's net margin went from 38% (2016) to 46% (2025).
Chart 4P/E Ratio History — 9 Years
| Stock | 2017 | 2025 | Change |
|---|---|---|---|
| Federal Agricultura… (AGM) | 11.9 | 10.6 | -10.9% |
| Mastercard Incorpor… (MA) | 41.5 | 34.6 | -16.6% |
Federal Agricultural Mortgage Corporation has traded in a 7x–12x P/E range over 9 years; current trailing P/E is ~9x. Mastercard Incorporated has traded in a 34x–56x P/E range over 9 years; current trailing P/E is ~31x.
Chart 5EPS Growth — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| Federal Agricultura… (AGM) | 5.97 | 16.63 | +178.6% |
| Mastercard Incorpor… (MA) | 3.69 | 16.52 | +347.7% |
Federal Agricultural Mortgage Corporation's EPS grew from $5.97 (2016) to $16.63 (2025) — a 12% CAGR. Mastercard Incorporated's EPS grew from $3.69 (2016) to $16.52 (2025) — a 18% CAGR.
Chart 6Free Cash Flow — 5 Years
Federal Agricultural Mortgage Corporation generated $80M FCF in 2025 (-82% vs 2021). Mastercard Incorporated generated $17B FCF in 2025 (+98% vs 2021).
AGM vs MA: Frequently Asked Questions
9 questions · data-driven answers · updated daily
01Is AGM or MA a better buy right now?
Federal Agricultural Mortgage Corporation (AGM) offers the better valuation at 9.5x trailing P/E (8.4x forward), making it the more compelling value choice. Analysts rate Federal Agricultural Mortgage Corporation (AGM) a "Buy" — based on 5 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.
02Which has the better valuation — AGM or MA?
On trailing P/E, Federal Agricultural Mortgage Corporation (AGM) is the cheapest at 9.5x versus Mastercard Incorporated at 31.3x. On forward P/E, Federal Agricultural Mortgage Corporation is actually cheaper at 8.4x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Federal Agricultural Mortgage Corporation wins at 0.56x versus Mastercard Incorporated's 1.26x — a PEG below 1.0 traditionally signals the market is underpricing earnings growth.
03Which is the better long-term investment — AGM or MA?
Over the past 5 years, Federal Agricultural Mortgage Corporation (AGM) delivered a total return of +103.5%, compared to +45.9% for Mastercard Incorporated (MA). A $10,000 investment in AGM five years ago would be worth approximately $20K today (assuming dividends reinvested). Over 10 years, the gap is even starker: MA returned +515.7% versus AGM's +491.0%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.
04Which is safer — AGM or MA?
By beta (market sensitivity over 5 years), Federal Agricultural Mortgage Corporation (AGM) is the lower-risk stock at 0.67β versus Mastercard Incorporated's 0.78β — meaning MA is approximately 15% more volatile than AGM relative to the S&P 500. On balance sheet safety, Mastercard Incorporated (MA) carries a lower debt/equity ratio of 2% versus 18% for Federal Agricultural Mortgage Corporation — giving it more financial flexibility in a downturn.
05Which has better profit margins — AGM or MA?
Mastercard Incorporated (MA) is the more profitable company, earning 45.6% net margin versus 11.3% for Federal Agricultural Mortgage Corporation — meaning it keeps 45.6% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: MA leads at 59.2% versus 0.0% for AGM. At the gross margin level — before operating expenses — MA leads at 83.4%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.
06Is AGM or MA more undervalued right now?
The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential. By this metric, Federal Agricultural Mortgage Corporation (AGM) is the more undervalued stock at a PEG of 0.56x versus Mastercard Incorporated's 1.26x. A PEG below 1.0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Federal Agricultural Mortgage Corporation (AGM) trades at 8.4x forward P/E versus 26.4x for Mastercard Incorporated — 18.1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for AGM: 47.8% to $233.00.
07Which pays a better dividend — AGM or MA?
All stocks in this comparison pay dividends. Federal Agricultural Mortgage Corporation (AGM) offers the highest yield at 5.1%, versus 0.6% for Mastercard Incorporated (MA).
08Is AGM or MA better for a retirement portfolio?
For long-horizon retirement investors, Federal Agricultural Mortgage Corporation (AGM) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.67), 5.1% yield, +491.0% 10Y return). Both have compounded well over 10 years (AGM: +491.0%, MA: +515.7%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.
09What are the main differences between AGM and MA?
Both stocks operate in the Financial Services sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both. In terms of investment character: AGM is a small-cap deep-value stock; MA is a large-cap quality compounder stock. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.
Find Stocks Like These
Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that beat both.