Comprehensive Stock Comparison

Compare Federal Agricultural Mortgage Corporation (AGM) vs Yiren Digital Ltd. (YRD) Stock

Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.

Tickers 2 / 10100+ Metrics

Selected Stocks

Add up to 10 tickers. Use presets or search to get started.

2 / 10
Try these comparisons:

Quick Verdict

CategoryWinnerWhy
GrowthYRD18.6% revenue growth vs AGM's -0.8%
ValueYRDLower P/E (0.7x vs 8.4x), PEG 0.09 vs 0.56
Quality / MarginsYRD27.3% net margin vs AGM's 11.3%
Stability / SafetyAGMBeta 0.67 vs YRD's 0.95
DividendsAGM5.1% yield, 14-year raise streak, vs YRD's 10.5%
Momentum (1Y)AGM-21.7% vs YRD's -36.9%
Efficiency (ROA)YRD8.1% ROA vs AGM's 0.5%
Bottom line: YRD leads in 4 of 7 categories, making it the stronger pick for investors who prioritize growth and revenue expansion and valuation and capital efficiency. Federal Agricultural Mortgage Corporation is the better choice for capital preservation and lower volatility and dividend income and shareholder returns. As direct sector peers, they can serve as alternatives in the same portfolio allocation.

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

AGMFederal Agricultural Mortgage Corporation
Financial Services

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.

YRDYiren Digital Ltd.
Financial Services

Yiren Digital operates an online consumer finance marketplace in China that connects borrowers with investors. It generates revenue primarily through loan facilitation fees and post-origination services — including collection and cash processing — while also earning commissions from distributing financial products like insurance and mutual funds. The company's competitive advantage lies in its established digital platform and regulatory compliance within China's complex financial services landscape.

Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

AGMFederal Agricultural Mortgage Corporation

Segment breakdown not available.

YRDYiren Digital Ltd.
FY 2024
Referral Services
91.7%$205M
Technical Support
6.8%$15M
Post-origination services
1.5%$3M

Financial Metrics Comparison

Side-by-side fundamentals across 2 stocks. BestLagging

Financial Scorecard

YRD 3AGM 1
Financial MetricsYRD3/3 metrics
Valuation MetricsYRD5/5 metrics
Profitability & EfficiencyYRD5/5 metrics
Total ReturnsTie3/6 metrics
Risk & VolatilityAGM2/2 metrics
Analyst OutlookTie1/2 metrics

YRD leads in 3 of 6 categories (Financial Metrics, Valuation Metrics). AGM leads in 1 (Risk & Volatility). 2 tied.

Financial Metrics (TTM)

YRD is the larger business by revenue, generating $5.8B annually — 3.6x AGM's $1.6B. YRD is the more profitable business, keeping 27.3% of every revenue dollar as net income compared to AGM's 11.3%.

MetricAGMFederal Agricultu…YRDYiren Digital Ltd.
RevenueTrailing 12 months$1.6B$5.8B
EBITDAEarnings before interest/tax$0$1.6B
Net IncomeAfter-tax profit$182M$1.3B
Free Cash FlowCash after capex$80M$884M
Gross MarginGross profit ÷ Revenue+84.8%
Operating MarginEBIT ÷ Revenue+28.4%
Net MarginNet income ÷ Revenue+11.3%+27.3%
FCF MarginFCF ÷ Revenue+5.0%+24.4%
Rev. Growth (YoY)Latest quarter vs prior year
EPS Growth (YoY)Latest quarter vs prior year-20.1%-10.1%
YRD leads this category, winning 3 of 3 comparable metrics.

Valuation Metrics

At 0.7x trailing earnings, YRD trades at a 92% valuation discount to AGM's 9.5x P/E. Adjusting for growth (PEG ratio), YRD offers better value at 0.09x vs AGM's 0.63x — a lower PEG means you pay less per unit of expected earnings growth.

MetricAGMFederal Agricultu…YRDYiren Digital Ltd.
Market CapShares × price$1.5B$673M
Enterprise ValueMkt cap + debt − cash$31.4B$119M
Trailing P/EPrice ÷ TTM EPS9.48x0.74x
Forward P/EPrice ÷ next-FY EPS est.8.36x
PEG RatioP/E ÷ EPS growth rate0.63x0.09x
EV / EBITDAEnterprise value multiple0.49x
Price / SalesMarket cap ÷ Revenue0.91x0.80x
Price / BookPrice ÷ Book value/share1.01x0.12x
Price / FCFMarket cap ÷ FCF18.36x3.26x
YRD leads this category, winning 5 of 5 comparable metrics.

Profitability & Efficiency

YRD delivers a 12.1% return on equity — every $100 of shareholder capital generates $12 in annual profit, vs $11 for AGM. YRD carries lower financial leverage with a 0.00x debt-to-equity ratio, signaling a more conservative balance sheet compared to AGM's 17.93x.

MetricAGMFederal Agricultu…YRDYiren Digital Ltd.
ROE (TTM)Return on equity+10.6%+12.1%
ROA (TTM)Return on assets+0.5%+8.1%
ROICReturn on invested capital+14.0%
ROCEReturn on capital employed+16.7%
Piotroski ScoreFundamental quality 0–944
Debt / EquityFinancial leverage17.93x0.00x
Net DebtTotal debt minus cash$29.9B-$3.8B
Cash & Equiv.Liquid assets$931M$3.8B
Total DebtShort + long-term debt$30.8B$41M
Interest CoverageEBIT ÷ Interest expense
YRD leads this category, winning 5 of 5 comparable metrics.

Total Returns (with DRIP)

A $10,000 investment in AGM five years ago would be worth $20,353 today (with dividends reinvested), compared to $8,602 for YRD. Over the past 12 months, AGM leads with a -21.7% total return vs YRD's -36.9%. The 3-year compound annual growth rate (CAGR) favors YRD at 18.9% vs AGM's 7.0% — a key indicator of consistent wealth creation.

MetricAGMFederal Agricultu…YRDYiren Digital Ltd.
YTD ReturnYear-to-date-10.6%+1.8%
1-Year ReturnPast 12 months-21.7%-36.9%
3-Year ReturnCumulative with dividends+22.4%+68.2%
5-Year ReturnCumulative with dividends+103.5%-14.0%
10-Year ReturnCumulative with dividends+491.0%+5.0%
CAGR (3Y)Annualised 3-year return+7.0%+18.9%
Evenly matched — AGM and YRD each lead in 3 of 6 comparable metrics.

Risk & Volatility

AGM is the less volatile stock with a 0.67 beta — it tends to amplify market swings less than YRD's 0.95 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. AGM currently trades 74.8% from its 52-week high vs YRD's 44.6% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricAGMFederal Agricultu…YRDYiren Digital Ltd.
Beta (5Y)Sensitivity to S&P 5000.67x0.95x
52-Week HighHighest price in past year$210.78$8.74
52-Week LowLowest price in past year$146.69$3.58
% of 52W HighCurrent price vs 52-week peak+74.8%+44.6%
RSI (14)Momentum oscillator 0–10042.953.6
Avg Volume (50D)Average daily shares traded90K59K
AGM leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Wall Street rates AGM as "Buy" and YRD as "Sell". For income investors, YRD offers the higher dividend yield at 10.47% vs AGM's 5.15%.

MetricAGMFederal Agricultu…YRDYiren Digital Ltd.
Analyst RatingConsensus buy/hold/sellBuySell
Price TargetConsensus 12-month target$233.00
# AnalystsCovering analysts58
Dividend YieldAnnual dividend ÷ price+5.1%+10.5%
Dividend StreakConsecutive years of raises141
Dividend / ShareAnnual DPS$8.12$2.80
Buyback YieldShare repurchases ÷ mkt cap+0.9%+1.6%
Evenly matched — AGM and YRD each lead in 1 of 2 comparable metrics.

Historical Charts

Charts are rendered on first load. Hover for details.

Chart 1Total Return — 5 Years (Rebased to 100)

StockMar 20Feb 26Change
Federal Agricultura… (AGM)100226.38+126.4%
Yiren Digital Ltd. (YRD)10095.61-4.4%

Federal Agricultura… (AGM) returned +104% over 5 years vs Yiren Digital Ltd. (YRD)'s -14%. A $10,000 investment in AGM 5 years ago would be worth $20,353 today (including dividends reinvested).

Chart 2Revenue Growth — 10 Years

Stock20162025Change
Federal Agricultura… (AGM)$332M$1.6B+385.1%
Yiren Digital Ltd. (YRD)$3.2B$5.8B+79.3%

Federal Agricultural Mortgage Corporation's revenue grew from $332M (2016) to $1.6B (2025) — a 19.2% CAGR.

Chart 3Net Margin Trend — 10 Years

Stock20162025Change
Federal Agricultura… (AGM)23.3%11.3%-51.4%
Yiren Digital Ltd. (YRD)34.5%27.3%-21.0%

Federal Agricultural Mortgage Corporation's net margin went from 23% (2016) to 11% (2025).

Chart 4P/E Ratio History — 9 Years

Stock20172025Change
Federal Agricultura… (AGM)11.910.6-10.9%
Yiren Digital Ltd. (YRD)10.1-90.0%

Federal Agricultural Mortgage Corporation has traded in a 7x–12x P/E range over 9 years; current trailing P/E is ~9x. Yiren Digital Ltd. has traded in a 0x–1x P/E range over 7 years; current trailing P/E is ~1x.

Chart 5EPS Growth — 10 Years

Stock20162025Change
Federal Agricultura… (AGM)5.9716.63+178.6%
Yiren Digital Ltd. (YRD)37.5436.22-3.5%

Federal Agricultural Mortgage Corporation's EPS grew from $5.97 (2016) to $16.63 (2025) — a 12% CAGR.

Chart 6Free Cash Flow — 5 Years

2021
$436M
$149M
2022
$809M
$2B
2023
$376M
$2B
2024
$607M
$1B
2025
$80M
Federal Agricultura… (AGM)Yiren Digital Ltd. (YRD)

Federal Agricultural Mortgage Corporation generated $80M FCF in 2025 (-82% vs 2021). Yiren Digital Ltd. generated $1B FCF in 2024 (+851% vs 2021).

Loading custom metrics...

AGM vs YRD: Frequently Asked Questions

8 questions · data-driven answers · updated daily

01

Is AGM or YRD a better buy right now?

Yiren Digital Ltd. (YRD) offers the better valuation at 0.7x trailing P/E, 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.

02

Which has the better valuation — AGM or YRD?

On trailing P/E, Yiren Digital Ltd. (YRD) is the cheapest at 0.7x versus Federal Agricultural Mortgage Corporation at 9.5x.

03

Which is the better long-term investment — AGM or YRD?

Over the past 5 years, Federal Agricultural Mortgage Corporation (AGM) delivered a total return of +103.5%, compared to -14.0% for Yiren Digital Ltd. (YRD). 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: AGM returned +491.0% versus YRD's +5.0%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — AGM or YRD?

By beta (market sensitivity over 5 years), Federal Agricultural Mortgage Corporation (AGM) is the lower-risk stock at 0.67β versus Yiren Digital Ltd.'s 0.95β — meaning YRD is approximately 41% more volatile than AGM relative to the S&P 500. On balance sheet safety, Yiren Digital Ltd. (YRD) carries a lower debt/equity ratio of 0% versus 18% for Federal Agricultural Mortgage Corporation — giving it more financial flexibility in a downturn.

05

Which has better profit margins — AGM or YRD?

Yiren Digital Ltd. (YRD) is the more profitable company, earning 27.3% net margin versus 11.3% for Federal Agricultural Mortgage Corporation — meaning it keeps 27.3% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: YRD leads at 28.4% versus 0.0% for AGM. At the gross margin level — before operating expenses — YRD leads at 84.8%, 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.

06

Which pays a better dividend — AGM or YRD?

All stocks in this comparison pay dividends. Yiren Digital Ltd. (YRD) offers the highest yield at 10.5%, versus 5.1% for Federal Agricultural Mortgage Corporation (AGM).

07

Is AGM or YRD 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%, YRD: +5.0%), 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.

08

What are the main differences between AGM and YRD?

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. 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.

💰
Stocks Like

AGM

Income & Dividend Stock

  • Sector: Financial Services
  • Market Cap > $100B
  • Net Margin > 6%
  • Dividend Yield > 2.0%
Run This Screen
🚀
Stocks Like

YRD

High-Growth Quality Leader

  • Sector: Financial Services
  • Market Cap > $100B
  • Revenue Growth > 9%
  • Net Margin > 16%
Run This Screen
Custom Screen

Better Than Both

Find stocks that beat AGM and YRD on the metrics you choose

Net Margin>
%
(AGM: 11.3% · YRD: 27.3%)
P/E Ratio<
x
(AGM: 9.5x · YRD: 0.7x)