Methodology

How Guardfolio calculates portfolio metrics

Published: 2026-03-30 · Updated: 2026-03-30 · Source: Guardfolio Research

This page explains the formulas and assumptions behind Guardfolio risk and performance metrics, including volatility, drawdown, Sharpe, Treynor, concentration, and benchmark-relative values. Use it when comparing tools or validating numbers in your dashboard.

Start here if: you want to verify how each metric is computed before making portfolio decisions.

One-line summary: Guardfolio uses stated lookback windows, log returns for short-horizon volatility, explicit benchmark and risk-free assumptions, and UI-friendly percent display—always check the same horizon when comparing to another tool.

Key portfolio risk definitions

Core return conventions

Metric formulas

Metric How it is calculated
Volatility (30d) Standard deviation of daily log returns scaled to a 30-day trading window: sigma_daily * sqrt(21), displayed as percent.
Total Return (1Y) One-year portfolio return based on start vs end period value, shown as percent.
Max Drawdown (1Y) Largest peak-to-trough decline during the 1Y window: min((value - running_peak) / running_peak).
Sharpe Ratio (1Y) Risk-adjusted return over one year: (Rp − Rf) / σp, where Rp is the 1-year portfolio return, Rf is a short-term risk-free benchmark rate, and σp is annualized portfolio volatility over the same period.
Beta (vs benchmark) Sensitivity to benchmark movements, computed as cov(Rp, Rb) / var(Rb) over the selected horizon, where Rb is the benchmark return series.
Treynor Ratio (1Y) Return per unit of systematic risk over one year: (Rp − Rf) / β, where β is the portfolio beta vs the selected benchmark.
Concentration Top 1 / 3 / 5 Sum of portfolio weights for the top one, three, and five positions, shown as percentages.
Top Sector Largest value in sectorAllocation, converted to percent if source values are in 0-1 ratio form.

Interpretation notes

Guardfolio is an informational monitoring tool and does not provide personalized investment advice. Metrics are analytical indicators and should be used with your own judgment and professional advice when needed.