Docs/Sources/Financial Ratios

Financial Ratios

Get Key Financial Ratios for a Company by Ticker

OperationalCredits 6 per callp50 225msFinance

Overview

Financial Ratios works by computing standard ratio analysis over normalized SEC EDGAR filings (10-Q and 10-K) for US public companies. Every value is derived from the filed income statement, balance sheet and cash-flow figures: profitability (gross, operating, net margin, ROE, ROA), liquidity (current, quick, cash ratio), leverage (debt-to-equity, debt-to-assets, equity multiplier, interest coverage), efficiency (asset, inventory, receivables turnover), cash flow (FCF margin, capex intensity) and per-share (EPS, book value, FCF per share). With valuation=true, paid plans also get the latest filing valued against the most recent stored US share price: market cap (price times diluted weighted-average shares), price-to-earnings and earnings yield on trailing-twelve-month net income, price-to-sales on trailing revenue, and price-to-book on filed equity. Trailing figures come straight from a 10-K, or for a 10-Q from the prior fiscal year plus this year's quarters less the same quarters a year earlier; a figure stays null when a quarter it needs has not been captured or a ticker has no stored price. Data is refreshed continuously from official SEC filings.

Live Test Financial Ratios Source →

Formula

One function covers the whole catalog: the first argument names the source, the next are its inputs, and the field after them says which single value lands in the cell. Formulas covers the grammar that applies to all of them.

=VERVE("financialratios", A2, "company")

A2 holds the ticker you are looking up. Drag the formula down and each row resolves on its own.

With literal values

Nothing has to come from a cell — typed values work the same way.

=VERVE("financialratios", "AAPL", "company")

Inputs

Required inputs are positional, in the order below, followed by the field. Everything else is passed as a "name", value pair after that — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.

InputTypeWhere it goesDescription
tickerRequiredstringargument 2 (A2)Stock ticker symbol (e.g. AAPL, MSFT, ADBE)
length 1–6
yearOptionalPremiuminteger"year", valueFiscal year to retrieve. Defaults to latest available. History covers only the quarters captured so far; a missing period answers 404 listing the available ones.
range 2000–2030
quarterOptionalPremiuminteger"quarter", valueFiscal quarter to retrieve. Defaults to latest available.
range 1–4
valuationOptionalboolean"valuation", valueAdd a valuation block: market cap, P/E, earnings yield, P/S and P/B against the latest stored share price, with the trailing-twelve-month EPS, revenue and net income behind them. Latest filing only; null for a year/quarter request. The block is paid; free plans get it back null.

Passing an option

=VERVE("financialratios", A2, "company", "year", "<year>")

What lands in your sheet

The field — the argument after the inputs — is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.

Seeing everything at once

Leave the field out and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.

=VERVE("financialratios", A2)
Good for exploring, not for filling down

The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.

Response fields

Paths are relative to data. Each one is exactly what the field argument accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.

Use as the fieldTypeExample cell valueDescription
tickerstringCOSTStock ticker symbol for the company
companystringCOSTCO WHOLESALE CORP /NEWOfficial registered name of the company
cikstring0000909832SEC Central Index Key unique identifier
fiscalYearnumber2026Fiscal year of the reporting period
fiscalQuarternumber4Fiscal quarter number (1-4)
filingTypePremiumstring10-KSEC filing type (10-Q, 10-K)
filingDatestring2026-10-07Date the SEC filing was submitted
periodEndstring2026-08-30End date of the reporting period
profitabilityobject{…}Margin ratios: gross, operating, net, and returns on assets and equity
profitability.grossMarginobjectnullGross profit as a percentage of revenue
profitability.operatingMarginnumber3.85Operating income as a percentage of revenue
profitability.netMarginPremiumnumber3.04Net income as a percentage of revenue
profitability.returnOnEquityPremiumnumber25.77Net income as a percentage of shareholders' equity
profitability.returnOnAssetsPremiumnumber10.36Net income as a percentage of total assets
liquidityobject{…}Short-term solvency ratios: current, quick and cash
liquidity.currentRationumber1.06Current assets divided by current liabilities
liquidity.quickRatioPremiumnumber0.62Current assets less inventory over current liabilities
liquidity.cashRatioPremiumnumber0.46Cash over current liabilities
leverageobject{…}Debt ratios: debt to equity, debt to assets and the equity multiplier
leverage.debtToEquitynumber1.49Total liabilities over shareholders' equity
leverage.debtToAssetsPremiumnumber0.6Total liabilities over total assets
leverage.equityMultiplierPremiumnumber2.49Total assets over shareholders' equity
leverage.interestCoveragePremiumnumber80.59Operating income over interest expense
efficiencyobject{…}Turnover ratios showing how hard assets, inventory and receivables work
efficiency.assetTurnoverPremiumnumber3.4Revenue over total assets
efficiency.inventoryTurnoverPremiumnumber13.68Cost of revenue over inventory
efficiency.receivablesTurnoverPremiumobjectnullRevenue over receivables
cashFlowobject{…}Free cash flow and the margins derived from it
cashFlow.freeCashFlowPremiumnumber9382000000Operating cash flow minus capital expenditures
cashFlow.fcfMarginPremiumnumber3.09Free cash flow as a percentage of revenue
cashFlow.operatingCashFlowMarginPremiumnumber5.22Operating cash flow as a percentage of revenue
cashFlow.capexToRevenuePremiumnumber2.12Capital expenditures as a percentage of revenue
perShareobject{…}Per-share figures: earnings, book value and free cash flow
perShare.epsPremiumnumber20.76Diluted earnings per share
perShare.bookValuePerSharePremiumnumber80.5599Shareholders' equity per diluted share
perShare.freeCashFlowPerSharePremiumnumber21.1103Free cash flow per diluted share
valuationPremiumobject{…}Valuation against the latest stored share price (only with valuation=true)
valuation.priceAsOfPremiumstring2026-11-05T21:00:00.000ZTime of the stored share price the valuation uses
valuation.marketCapPremiumnumber473576966930Share price times diluted weighted-average shares from the filing
valuation.priceToEarningsPremiumnumber51.33Market cap over trailing-twelve-month net income; null when that is zero or a loss
valuation.earningsYieldPremiumnumber1.95Trailing-twelve-month net income as a percentage of market cap
valuation.priceToSalesPremiumnumber1.56Market cap over trailing-twelve-month revenue
valuation.priceToBookPremiumnumber13.23Market cap over filed shareholders' equity; null when equity is negative
valuation.trailingEpsPremiumnumber20.76Trailing-twelve-month diluted earnings per share
valuation.trailingRevenuePremiumnumber303154000000Trailing-twelve-month revenue
valuation.trailingNetIncomePremiumnumber9226000000Trailing-twelve-month net income
valuation.trailingBasisPremiumstringannualannual when the trailing figures are a 10-K, ttm when summed from quarters

Filling a whole column

Both platforms make one batched call for a column rather than one request per cell, and both cost the same — 6 credits per row looked up. How you write it differs, because the two runtimes batch at different points.

Rows 2–100 in one call
=VERVE("financialratios", A2:A100, "company")

In Google Sheets, give the arguments ranges and the answers spill down from the cell you typed in. Custom functions there run synchronously and in isolation, so dragged cells cannot be coalesced — the range form is how a column becomes one call. The field is required here: a per-row two-column table has nowhere to spill. Use a full column per input (A2:A100, not A2) — a single-cell reference is read as row 1 only and the rest of the column comes back blank.

In Excel, type the formula once and fill down — no range form and none needed, because its runtime is asynchronous and the add-in coalesces the calls a fill produces into a single batched request. Do not hand VERVE.CALL a range: Excel flattens it into positional arguments, so A2:A100 arrives as a hundred separate arguments and the cell reads #ERR rather than filling.

Either way, column A holds your ticker values and the answers land beside them, one row each, blank rows skipped.

When a cell doesn't fill

A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.

Cell readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueA preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in financialratiosAn option name this source does not take. The message lists the ones it does.
#ERR No data point "…"The field path is not in the response. Check it against the table above.
#PREMIUM(field)The field exists but your plan does not include it.
#ERR Out of creditsThe cycle's credits are spent. Usage resets on your billing date.

Before the formula works

The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. Type the formula above into any cell.

Use cases

Stock Screener Filtering
When screening public equities, brokerage apps evaluate short-term liquidity by comparing current ratios and debt-to-equity across competing firms.
Vendor Solvency Checks
Flag overleveraged suppliers before signing procurement contracts by checking debt-to-equity levels and operating margins against standard industry benchmarks.
Equity Research Dashboards
Financial media portals display gross and operating margins next to quarterly earnings reports to show readers true operating profitability.
Corporate Competitor Benchmarking
To benchmark balance sheet health against market competitors, corporate development teams monitor current ratios and debt liabilities across quarterly SEC filings.

Other ways to use Financial Ratios

Set up Financial Ratios on VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Finance:

Was this page helpful?